
Playing MKV in JW Player 5.10 Rev 2393
Hello, I'm trying to play some MKV file using this version of JW Player 5:
http://developer.longtailvideo.com/trac/browser/trunk/fl5?order=date
Using the code like shown in the guide doesn't work, it says:
- Task Queue failed at step 5: Playlist could not be loaded: Playlist file did not contain a valid playlist.
Or this, with a different file:
- Task Queue failed at step 5: Playlist could not be loaded: Error #2032
Do I have to import something inside the MKV file to make it work with JW Player? I used different MKV files but didn't help, all were encoded in H.264 AVC and AAC audio.
I tried doing like it is explained here:
http://www.longtailvideo.com/support/forums/jw-player/video-encoding/31007/play-mkv-files/
Even though the player appears normally, when I try to click play it does nothing, it's like frozen (in both Chrome and FireFox). That happens when using type: "mp4" in the script, strangely it couldn't play anymore even MP4 files so I just removed it and it played MP4 videos like before but, the MKV problem (that playlist error) still persists, even changing/removing the skin didn't help.
This is the code of my page:
bc.. <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>MKV Testing</title>
<script type="text/javascript" src="stream/jwplayer5/jwplayer.js"></script>
<link rel="shortcut icon" href="home_files/favicon.ico" />
</head>
<body background="home_files/background.jpg">
<center>
<div class="div01">
<h1><img src="home_files/header.png" alt="MKV Testing"/></h1>
<div id="Player">JW Player</div>
<script type="text/javascript">
jwplayer("Player").setup({
flashplayer: "stream/jwplayer5/player.swf",
primary: "flash",
file: "stream/videos/opening.mkv",
image: "stream/snapshots/logo.jpg",
skin: "stream/jwplayer5/slim/slim.xml",
width:640,
height:360
});
</script>
</div>
</center>
</body>
</html>
What should I add in the script to make it play MKV files?
I started just recently using html for a school project so I'm not an expert yet, if you could be detailed in your explanation I'd appreciate it a lot, thanks in advance.