1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 
   2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
   3 <html xmlns="http://www.w3.org/1999/xhtml">
 
   4     {% load i18n compressed %}
 
   6         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
 
   7         <meta http-equiv="Content-Style-Type" content="text/css" />
 
   8         <meta name="description" 
 
   9             content="{{ book.title }} - darmowy audiobook na wolnej licencji" />
 
  10         <title>{% trans "Wolne Lektury" %} ::
 
  11             {{ book.title }} - {{ audiobook }}</title>
 
  12         <link rel="icon" href="{{ STATIC_URL }}img/favicon.png" type="image/png" />
 
  13         {% compressed_css "all" %}
 
  14         {% compressed_css "player" %}
 
  17     <body id="{% block bodyid %}player{% endblock %}">
 
  22 <div class="jp-type-playlist">
 
  23   <div id="jplayer" class="jp-jplayer"
 
  24     data-supplied="{% if have_oggs %}ogg,{% endif %}mp3"></div>
 
  25   <div id="jp_container_1" class="jp-audio">
 
  26     <div class="jp-type-single">
 
  27       <div class="jp-gui jp-interface">
 
  28         <ul class="jp-controls">
 
  29           <li><a href="javascript:;" class="jp-play" tabindex="1">play</a></li>
 
  30           <li><a href="javascript:;" class="jp-pause" tabindex="1">pause</a></li>
 
  31           <li><a href="javascript:;" class="jp-stop" tabindex="1">stop</a></li>
 
  32           <li><a href="javascript:;" class="jp-mute" tabindex="1" title="mute">mute</a></li>
 
  33           <li><a href="javascript:;" class="jp-unmute" tabindex="1" title="unmute">unmute</a></li>
 
  34           <li><a href="javascript:;" class="jp-volume-max" tabindex="1" title="max volume">max volume</a></li>
 
  36         <div class="jp-progress">
 
  37           <div class="jp-seek-bar">
 
  38             <div class="jp-play-bar"></div>
 
  41         <div class="jp-volume-bar">
 
  42           <div class="jp-volume-bar-value"></div>
 
  44         <div class="jp-time-holder">
 
  45           <div class="jp-current-time"></div>
 
  46           <div class="jp-duration"></div>
 
  50       <div class="jp-playlist">
 
  53         {% for i in audiobooks %}
 
  55             <span class='jp-free-media'>
 
  56               (<a class='mp3' href='{{ i.mp3.file.url }}'>mp3</a>{% if i.ogg %}
 
  57               | <a class='ogg' href='{{ i.ogg.file.url }}'>ogg</a>{% endif %})
 
  59             <span class='play'>{{ i.mp3.name }}</span>
 
  60             <div class='extra-info'>
 
  61               {% trans "Artist" %}: <span class='artist'>{{ i.mp3.get_extra_info_value.artist_name }}</span>,
 
  62               {% trans "Director" %}: <span class='director'>{{ i.mp3.get_extra_info_value.director_name }}</span>
 
  70       <div class="jp-no-solution">
 
  71         <span>Update Required</span>
 
  72         To play the media you will need to either update your browser to a recent version or update your <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.
 
  79     <p>{% trans "Download as" %}:
 
  80         <a href="{% url download_zip_mp3 book.fileid %}">MP3</a>{% if have_oggs %},
 
  81             <a href="{% url download_zip_ogg book.fileid %}">Ogg Vorbis</a>{% endif %}.
 
  85         {% if book.has_daisy_file %}
 
  87             <ul class="audiobook-list" id="daisy-files">
 
  88             {% for media in book.get_daisy %}
 
  89                 <li><a href="{{ media.file.url }}">{{ media.name }}</a></li>
 
  95         {% if projects|length > 1 %}
 
  96             <p>{% trans "Audiobooks were prepared as a part of the projects:" %}</p>
 
  98             {% for cs, fb in projects %}
 
 101                     {% blocktrans %}{{ cs }}, funded by {{ fb }}{% endblocktrans %}
 
 110             {% with projects.0.0 as cs %}
 
 111             {% with projects.0.1 as fb %}
 
 113                     {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project funded by {{ fb }}.{% endblocktrans %}
 
 115                     {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project.{% endblocktrans %}
 
 130         <div class="clearboth"></div>
 
 136         <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
 
 137         {% compressed_js "player" %}
 
 139         <!--{{ piwik_tag|safe }}
 
 140         <script type="text/javascript">
 
 141         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
 
 142         document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
 
 144         <script type="text/javascript">
 
 145         var pageTracker = _gat._getTracker("UA-2576694-1");
 
 146         pageTracker._trackPageview();