Hello and good time of day.
Is there any way to implement youtube-like feature to start from any moment in http video-on-demand mode?
There is no way to use rtmp in some cases.
Thanks in advance.
Hello and good time of day.
Is there any way to implement youtube-like feature to start from any moment in http video-on-demand mode?
There is no way to use rtmp in some cases.
Thanks in advance.
Hi Eliont, if I’M not mistaken , for http playback iphone directly open its native player , ipad can play video on custom html5 player, also mac too.
This problem can be solved with javascript.
function seekTo(evt) {
evt.target.currentTime = theSeekTime;
evt.target.removeEventListener(“loadeddata”, seekTo); /*loaded data is media event of Mozilla, https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Media_events */
};
var theSeekTime = whatSecondsYouWannaSeek ; //int
if ((navigator.userAgent.indexOf(‘iPhone’) != -1) || (navigator.userAgent.indexOf(‘iPod’) != -1) || (navigator.userAgent.indexOf(‘iPad’) != -1)) {
this.addEventListener(“loadeddata”, seekTo);
}else{
this.currentTime = theSeekTime ;
}
I wish it will help you.
–
Emre Karatasoglu
Hi,
Please take a look at the “How to specify a play start time and duration for HTTP streaming” forum article.
I think that using this you can achieve your desired workflow.
Zoran
I wish it will help you.
Thanks, but i need to get it works not only on tablets.
Something like:
Skip the first ten seconds:
http://*.*.*.*:*/vod/mp4:sample.mp4/playlist.m3u8?start=10000
or
http://*.*.*.*:*/vod/sample.mp4?start=10000
Seeking to any moment of vod with http.
iOS link works on android tablets too, but not on desktop.
‘Other’ link using ‘rtsp’ instead of http.
Big thanks, i will read and try.
© 2007–2024 Wowza Media Systems™, LLC. All rights reserved. Security & Privacy PolicyLegalSystem Status