
play .mkv files
hi,
is there a way to play .mkv files with the jwplayer?
hi,
is there a way to play .mkv files with the jwplayer?
Yes, they should work if the file is encoded in h.264.
Thanks for the answer, but my video have the codec
Codec: H264 - MPEG-4 AVC (part 10) (avc1)
and the player says
Error loading player:
No playable sources found.
here is the link to the sample, http://myanimesource.de/vid/
and the link of the .mkv file http://myanimesource.de/vid/video.mkv if it helps,
regards
chris
Set the player’s type variable to mp4
thanks, but it only works with the chrome browser not with firefox.
Set the primary variable to flash.
thanks, but that dont work either :/
without primary: flash works on my google chrome browser, but not with firefox
Show me an example?
yes, is on the same site http://myanimesource.de/vid/
first with primary, second without and the third is a .mp4
Your site has malware on it, AVG popped up an alert on my machine and now has blocked access…
huh.. i dont know why, but here is the source of the site:
<!doctype html>
<html>
<head>
<title>README: JW Player Free</title>
<style>
body { padding: 50px 100px; width: 700px; font: 13px/20px Arial; background: #FFF; }
a, h1, h2 { color: #369; }
h2 { margin-top: 50px; }
pre { font-size: 12px; background:#E5F3C8; padding:5px 10px; border: 1px solid #D3EAA4; }
</style>
</head><body>
<pre>
<script type="text/javascript" src="/jwplayer/jwplayer.js" ></script>
<script type="text/javascript">jwplayer.key="n10rVGRPrhhACDmx9eziEvtsV2xj7ziU8aQtyw==";</script>
</pre>
<pre>
<h1>Playback of a .mkv with primary flash</h1>
<div id="myElement">Loading the player...</div>
<script type="text/javascript">
jwplayer("myElement").setup({
file: "video.mkv",
type: "mp4",
primary: "flash"
});
</script>
</pre>
<pre>
<h1>Playback of a .mkv without primary flash</h1>
<div id="myElement2">Loading the player...</div>
<script type="text/javascript">
jwplayer("myElement2").setup({
file: "video.mkv",
type: "mp4"
});
</script>
</pre>
<pre>
<h1>Playback of a .mp4</h1>
<div id="myElement3">Loading the player...</div>
<script type="text/javascript">
jwplayer("myElement3").setup({
file: "video.mp4",
type: "mp4"
});
</script>
</pre>
</body>
</html>
I would check your server side MIME TYPEs.
If the error caused by the MIME TYPEs, why did it work on google chrome :/?
I don’t know, but I can’t check your link now…
i've uploaded it on a new webspace, but it still dosen't work
http://okabe.bplaced.net/
Your MKV file returns a404 not found, and has this mime type:
video/x-matroska
Shouldn’t it be video/mkv?
I dont think so, because wikipedia says
Filename extension .mkv .mk3d .mka .mks
Internet media type video/x-matroska audio/x-matroska
and the link works fine
http://okabe.bplaced.net/video.mkv
:(
Well, there are a coupe things here. How did you encode the file? Also, the file is gzipped, which shouldn’t be done on media files.