Wowza Community

Help with html code to play all devices via playlists jw player 6

Hello my friends,

I need a help with an issue that seems simple, but I’m having trouble to achieve results,

What exactly is: I’m running with jwplayer with HLS via wowza, and would like my live and vod streams playing in all platforms,and not’m getting these results. I really need an example, code, tutorial, link, whatever so I can:

1 - A player that runs HLS on PC, Mac and the iPhone and iPad, which has fallback in android via rtsp and mp4 in HTML5 (to run in windows phone), subtitles and marks.

2 - A playslist, no matter the format, but each playlist item has these characteristics of HLS and fallbacks per item.

Already tried everything I could do fallback to RTSP but not in the playlist item, HLS on pc and mac ok, but the iphone is not going to HLS, please help me, I’m really trying this time and know that it is possible

Thank you for your attention.

Hi,

Please see the first example on How to use LongTail JW Player 6 with Wowza Media Server

It demonstrates how to set rtsp fallback by setting the rtsp url as a regular link in the div tag that JW player would normally replace with the player. In the JW Player configuration, you set fallback: false so that your link will be displayed instead of a default image.

It is not possible to have a playlist with rtsp. I guess you could put separate rtsp links for each item. Because it is regular html, you can format it however you like.

Roger.

Hi,

Please see the first example on How to use LongTail JW Player 6 with Wowza Media Server

It demonstrates how to set rtsp fallback by setting the rtsp url as a regular link in the div tag that JW player would normally replace with the player. In the JW Player configuration, you set fallback: false so that your link will be displayed instead of a default image.

It is not possible to have a playlist with rtsp. I guess you could put separate rtsp links for each item. Because it is regular html, you can format it however you like.

Roger.

hello roger, I understand this example you sent and got fallbacks for rtsp, but I can not play the stream in the iphone, follow my links with examples, nothing in iphone

  • here is my test link using

HDS as primary http://revelorigin.cloudapp.net/revflash/jwplayer/index7.html

HLS as primary http://revelorigin.cloudapp.net/revflash/jwplayer/index8.html

thanks

Hi,

Both work for me. iPhone 4s iOS7.

Note: In your second one, you have the same url (hls url) for both sources.

The order of the source urls does not decide which will be played as the primary. It is the primary: flash or primary: html5 setting that decides this. Default is html5.

If the player does support both (mac safari is the only one I know of but some androids may have the option) then the primary will be used.

Roger.

Thanks in advance Roger! I do some more test in IOS enviroment.

Thanks in advance Roger! I do some more test in IOS enviroment.

hello Roger, thanks for the help,

I did more testing and this really running streaming on iphones. BUT detected a the situation: my link does not play, when the link opened by iphone via facebook messenger, in this case the player open but not play the video. By opening in safari, play normally.

Have you ever seen something like this?

http://revelorigin.cloudapp.net/revflash/jwplayer/index9.html

Hi,

Both work for me. iPhone 4s iOS7.

Note: In your second one, you have the same url (hls url) for both sources.

The order of the source urls does not decide which will be played as the primary. It is the primary: flash or primary: html5 setting that decides this. Default is html5.

If the player does support both (mac safari is the only one I know of but some androids may have the option) then the primary will be used.

Roger.

Hi,

No I haven’t come across this before but it does sound like it may be an issue with the Facebook app rather than JW Player or Wowza.

I would suggest contacting Facebook support to see if they can resolve it.

Roger.