Results 1 to 3 of 3

Thread: Live Wowza through JW Player with HTML5 fallback?

  1. #1
    Join Date
    May 2013
    Posts
    1

    Default Live Wowza through JW Player with HTML5 fallback?

    I've tried to figure out with the codes given, but admit it isn't clear to me:

    I have live Wowza streaming, making use of JW Player.
    This works fine,
    however, I'd like to add an HTML5 fallback.
    The codes I see are providing such a fallback for files such as mp4.
    What should I add to the embed code to let our live stream be able to play on for instance an Ipad?

    Regards,
    Wabke

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Wabke,

    Just replace the application name and stream name in those examples. Change "mp4:sample.mp4" to the name of your live stream. Change the application name from "vod" to your live application. For example:

    Code:
    <html>
    <head>
    <title>JW Player 5 /w HTML5 Fallback</title>
    </head>
    
    <body>
    <script type='text/javascript' src='jwplayer.js'></script>
    
    <div id='mediaplayer'></div>
    
    <script type="text/javascript">
      jwplayer('mediaplayer').setup({
        'id': 'playerID',
        'width': '480',
        'height': '270',
        'provider': 'rtmp',
        'streamer': 'rtmp://[wowza-address]:1935/live',
        'file': 'myStream',
        'modes': [
            {type: 'flash', src: 'player.swf'},
    	{type: 'html5', config:
    		{
    		'file': "http://[wowza-address]:1935/live/myStream/playlist.m3u8",
    		provider: 'video'
    		}
    	}
        ]
      });
    </script>
    </body>
    </html>
    Richard

  3. #3
    Join Date
    Aug 2015
    Posts
    1

    Default

    I also need, thanks a lot - Thanh Ca

Similar Threads

  1. wowza stream to JW player HTML5
    By riverjack in forum Media Players and Devices Discussion
    Replies: 38
    Last Post: 10-24-2012, 06:24 AM
  2. iFrame embed codes Strobe Media Playback 2.0 HTML5 fallback does not work on .m3u8
    By BrianS in forum Media Players and Devices Discussion
    Replies: 4
    Last Post: 09-03-2012, 07:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •