jplayer fixes
[wolnelektury.git] / wolnelektury / templates / catalogue / player.html
index 95fcb5e..d38b53f 100755 (executable)
@@ -1,10 +1,8 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     {% load i18n compressed %}
     <head>
         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
-        <meta http-equiv="Content-Style-Type" content="text/css" />
         <meta name="description" 
             content="{{ book.title }} - darmowy audiobook na wolnej licencji" />
         <title>{% trans "Wolne Lektury" %} ::
@@ -21,7 +19,7 @@
 
 <div class="jp-type-playlist">
   <div id="jplayer" class="jp-jplayer"
-    data-supplied="{% if have_oggs %}ogg,{% endif %}mp3"></div>
+    data-supplied="{% if have_oggs %}oga,{% endif %}mp3"></div>
   <div id="jp_container_1" class="jp-audio">
     <div class="jp-type-single">
       <div class="jp-gui jp-interface">
@@ -77,8 +75,8 @@
 
 
     <p>{% trans "Download as" %}:
-        <a href="{% url download_zip_mp3 book.fileid %}">MP3</a>{% if have_oggs %},
-            <a href="{% url download_zip_ogg book.fileid %}">Ogg Vorbis</a>{% endif %}.
+        <a href="{% url download_zip_mp3 book.slug %}">MP3</a>{% if have_oggs %},
+            <a href="{% url download_zip_ogg book.slug %}">Ogg Vorbis</a>{% endif %}.
     </p>