Forum Discussion
Transparent
10 years agoVisitor
The Custom Video Player SDK example you linked to works just fine (if you use a working stream url). So if your code doesn't handle play/pause, you must have changed something that introduced the error. I suggest you look at what you've changed, perhaps even go back to the original code, substitute your own Stream url, make sure the StreamFormat is correct, e.g. "ism", and it should work.
I also noticed that the code you posted is not the same code as that in the Custom Video Player example. For instance, there's no use of m.player.paused in the SDK example.
I can't even run CustomVideoPlayer as an error pops up on the line 'Sub Setup() As Object', I prob have to add something, so I havn't really seen it in action.
The pause works in that? Did you Pause it through the terminal like the command i've above, if not, can you please and tell me if it works? I don't want to have the stream url used inside the program, I want to be able to send it to the channel remotely, I guess the issue I have it trying to integrate the Pausing/Playing code in CVP into my own app
Sorry Yeah you're right (sorry Jim), m.player.paused is not in the custom video player but m.paused is, I guess I was just playing around with it trying to get it to work.