Results 1 to 2 of 2

Thread: RSS with JW Player on all devices?

  1. #1
    Join Date
    Aug 2012
    Posts
    7

    Default RSS with JW Player on all devices?

    The more I research this, the more confused I seem to be getting, so I just need to ask point blank.

    What do I need to do to ensure that my live video can play on most devices? Namely flash and HLS/HTML5?

    Best I've been able to tell, if you use XML/RSS as a playlist, JW Player won't do fallback. They recommend using a JSON playlist instead.

    But if you use MediaRSS (which I believe Wowza is), apparently HTML 5 can use it (as opposed to the m3u8 file?) but while it plays fine on the desktop, the iOS device is showing just a black box with a play button that seemingly does nothing.

    I'm running Wowza in standalone mode and I can see the requests coming in from the PC, but I don't see anything coming from the iOS device. So is there a proper way to do this or do I need to get into device detection via PHP and send different scripts for different clients?

    ETA: Ideally I should be able to support blackberry as well (via download (?)). Initially I had them all working with JW embedded fallback but once I try to integrate the MediaRSS playlist, it all fell apart.
    Last edited by brad12; 08-13-2012 at 07:51 AM.

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Try something like this:

    <head>
    <title>JW Player 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',
        'playlistfile': 'http://[wowza-address]:1935/live/smil:livestream.smil/jwplayer.rss',
        'plugins': {
           'qualitymonitor-2': {}
        },
        'modes': [
            {type: 'flash', src: 'player.swf'},
    	{type: 'html5', config:
    		{
    		'file': "http://[wowza-address]:1935/live/smil:livestream.smil/playlist.m3u8",
    		provider: 'video'
    		}
    	}
        ]
      });
    </script>
    </body>
    </html>
    Richard

Similar Threads

  1. Help with html code to play all devices via playlists jw player 6
    By themenace in forum Media Players and Devices
    Replies: 6
    Last Post: 02-26-2014, 11:12 PM
  2. Streaming in Android Devices using JW player
    By pnethaga in forum General Forum
    Replies: 8
    Last Post: 04-15-2013, 05:03 PM
  3. Web Player supported to all devices
    By sathishkumarkps in forum Media Players and Devices Discussion
    Replies: 3
    Last Post: 01-16-2013, 08:00 AM
  4. Streaming to different devices through one player
    By tekmedia in forum General Forum
    Replies: 3
    Last Post: 03-21-2012, 05:02 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
  •