1 person found this helpful
There's no explicit support for this yet. It's on our roadmap as "Subclip support". The current thinking is that there'd be some variation of URLResource in which you could specify the start and end points, and each (temporal) MediaElement implementation would attempt to constrain playback to that subclip. This should apply particularly well to a SerialElement, where you could specify a single video multiple times, but play a different subclip each time (perhaps interspersed with midrolls).
Thanks a lot Brian. I'll need this feature pretty soon if possible. OSMF is the best fit for an automobile-launch site I'm developing and it would be a shame if the ability to manage sectional playback became a delimiting factor. Please call on me if there is anyway I can help.
Is there any news on when this functionality will be supported?
Can someone provide an example of how to get this working until there is framework support?
I tried wrapping the VideoElement in a ListenerProxyElement to create a SeekingVideoElement which did a a seek to the startTime from processTraitAdd. This approach didn't work.
I want to send a HTTP request which is "http://video-research/video.f4v?start_time=500". The start_time is the temporal point at which I hope to play.
What can I do to add the additional parameter to the URL?
Not sure I understand the question. Can't you just append the param to the URL? Like so:
var url = new URL("http://video-research/video.f4v?start_time=500");
If your question is more about playing a subclip of a progressive video, that's not something OSMF has support for. You'd need to write a server script which checks for that parameter and then returns the relevant portion of the requested file. (This is typically referred to as "pseudo-streaming", if you Google that term you'll find a wealth of info.)