# HTTP streaming / start from any second

**URL:** <https://community.wowza.com/t/http-streaming-start-from-any-second/42836>\
**Category:** Wowza Streaming Engine\
**Created:** [October 8, 2014, 12:21pm UTC](https://community.wowza.com/t/http-streaming-start-from-any-second/42836 "2014-10-08T12:21:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roman\_Panov](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@Roman\_Panov](https://community.wowza.com/u/Roman_Panov)\
**Post date:** [October 8, 2014, 12:21pm UTC](https://community.wowza.com/t/http-streaming-start-from-any-second/42836/1 "2014-10-08T12:21:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Emre\_Karatasoglu\_Adv](https://avatars.discourse-cdn.com/v4/letter/e/0ea827/32.png) [@Emre\_Karatasoglu\_Adv](https://community.wowza.com/u/Emre_Karatasoglu_Adv)\
**Post date:** [October 8, 2014, 8:26am UTC](https://community.wowza.com/t/http-streaming-start-from-any-second/42836/2 "2014-10-08T08:26:26Z")

</div>

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](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
> 
> emre.karatasoglu@hotmail.com
> 
> [http://letheasoftware.com](http://letheasoftware.com)
> 
> [http://emrekaratasoglu.com](http://emrekaratasoglu.com)

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [October 8, 2014, 10:55pm UTC](https://community.wowza.com/t/http-streaming-start-from-any-second/42836/3 "2014-10-08T22:55:23Z")

</div>

Hi,

Please take a look at the “[How to specify a play start time and duration for HTTP streaming](https://www.wowza.com/docs/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

---

<div class="post-metadata">

**Author:** ![Roman\_Panov](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@Roman\_Panov](https://community.wowza.com/u/Roman_Panov)\
**Post date:** [October 8, 2014, 2:00pm UTC](https://community.wowza.com/t/http-streaming-start-from-any-second/42836/4 "2014-10-08T14:00:57Z")

</div>

> 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:

```auto
http://*.*.*.*:*/vod/mp4:sample.mp4/playlist.m3u8?start=10000

```

or

```auto
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.

---

<div class="post-metadata">

**Author:** ![Roman\_Panov](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@Roman\_Panov](https://community.wowza.com/u/Roman_Panov)\
**Post date:** [October 9, 2014, 4:11pm UTC](https://community.wowza.com/t/http-streaming-start-from-any-second/42836/5 "2014-10-09T16:11:27Z")

</div>

Big thanks, i will read and try.
