JwPlayer with MPEG DASH

I am trying to run jwplayer with mpeg dash support, but I have some problems with it.

The following error occurs when loading the page:

Player loading error: no playback sources available.

The jwplayer player code looks like this:

<script type="text/javascript">
      var playerInstance = jwplayer("myElement");

      playerInstance.setup({
      file: 'http://yt-dash-mse-test.commondatastorage.googleapis.com/media/car-20120827-manifest.mpd',
      dash: true,
      width: 640,
      height: 360
   });
</script>

      

I would be grateful for any feedback that can help me fix this issue.

+3


source to share


2 answers


You need a div that binds the player's position:

<div id="myElement"></div>
      

Run codeHide result




with your script and the div element mentioned above it works fine for me using JWPlayer7:

<div id="myElement"></div><script type="text/javascript">var playerInstance = jwplayer("myElement");playerInstance.setup({file: 'http://yt-dash-mse-test.commondatastorage.googleapis.com/media/car-20120827-manifest.mpd',dash: true,width: 640,height: 360});</script>
      

Run codeHide result


-1


source


I tried to reproduce the DASH stream ( http://yt-dash-mse-test.commondatastorage.googleapis.com/media/car-20120827-manifest.mpd ) in Chrome Canary browser using the online JWPlayer test player which is provided and hosted by JWPlayer itself and the stream works for me without any problem.



-1


source







All Articles