2017-11-17, 09:58
I have some videos that contain multiple topics and I want to be able to play the individual fragments separately using the Player.Open API call.
The best I can get currently is to issue the Player.Open call on the video, and then immedeately issue a Player.Seek to get to the starting position.
While this works, it is sub-optimal since it requires multiple API calls, and from the perspective of the viewer he is still watching the 'big' video. Something like “at 1'36" you'll see …” doesn't make sense without calculating. And playing does not stop at the end of the fragment.
Is there a better way to do play video fragments like they were independent videos? Splitting the main video into fragments is not an option.
The best I can get currently is to issue the Player.Open call on the video, and then immedeately issue a Player.Seek to get to the starting position.
While this works, it is sub-optimal since it requires multiple API calls, and from the perspective of the viewer he is still watching the 'big' video. Something like “at 1'36" you'll see …” doesn't make sense without calculating. And playing does not stop at the end of the fragment.
Is there a better way to do play video fragments like they were independent videos? Splitting the main video into fragments is not an option.