HTML5 Video Player Support Product Page

Under investigation

Video not displaying

Reported 26 Jun 2012 03:05:15
3
have this problem
26 Jun 2012 03:05:15 Lee Firth posted:
I have an HTML5 Video instance on this page: myliferulz.com.au/song_cd_and_song_book.htm
But nothing displays. No error messages or anything.

This is the code that is generated:


      <div class="dmxHTML5VideoPlayer maccaco" id="vidPlayer1">
</div>
<script type="text/javascript">
  // <![CDATA[
 jQuery(document).ready(
   function()
     {
       jQuery("#vidPlayer1").dmxHTML5VideoPlayer(
         {"width": 570, "height": 320, "autoplay": true, "playlist": [{"0": {"src": "video/songs_in_action_sample.mp4video.mp4", "type": "video/mp4"}, "1": {"src": "video/songs_in_action_sample.webmvp8.webm", "type": "video/webm"}, "2": {"src": "video/songs_in_action_sample.theora.ogv", "type": "video/ogg"}, "config": {"title": "Songs in Action Sample"}}]}
       );
     }
 );
  // ]]>
</script>

Replies

Replied 26 Jun 2012 06:38:42
26 Jun 2012 06:38:42 Teodor Kuduschiev replied:
Hello,

For some reason on your page the jquery include:

<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>

is after the video player includes:

<script type="text/javascript" src="ScriptLibrary/dmxHTML5VideoPlayer.js"></script>
<script type="text/javascript" src="ScriptLibrary/projekktor.min.js"></script>


Please move the jquery include before them and the video will show.

Reply to this topic