player only plays audio and not video (Projekktor Core)

by stevenliemberg, Tuesday, June 26, 2012, 14:14 (358 days ago)

Hello, Im new here, and I have a question/error

Im trying to build a player that uses a playlist. But the thing is, the video's I host only play the audio. I've had the problem locally and on my webserver..

I've used standerd code, and copied the example video's from the download folder (to make sure It is not an encoding issue). I have the issue in both chrome and safari with the mp4 and the webm video formats. Streaming video's from youtube does work without an issue...

I think Im missing something simple, a setting or something, but I cant find it in any of the documentation. - for example you can also check http://stevenliemberg.nl/player.php

here is the code I've used...

<div id="player_a" class="projekktor"></div>
<script type="text/javascript">
$(document).ready(function() {
projekktor('#player_a', {
debug: false,
poster: 'intro.png',
useYTIframeAPI: false,
width: 900,
height: 506,
controls: false,
playlist: [{"0":{"src":"./media/intro.webm","type":"video\/webm"},"config":{"title":"Hello World.","poster":"intro.png"}},, ]
});
})
</script>

hopefully one of you guys can tell me Im missing something simple, thnx in advance for your replies

  465 views

Complete thread:

 RSS Feed of thread