+ {% if book.has_ogg_file %}
+ <p>OGG</p>
+ <ul>
+ {% for media in book.get_ogg %}
+ <li><a href="{{ media.file.url }}">{{ media.name }}</a></li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+ {% if book.has_daisy_file %}
+ <p>DAISY</p>
+ <ul>
+ {% for media in book.get_daisy %}
+ <li><a href="{{ media.file.url }}">{{ media.name }}</a></li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+ {% if book.has_mp3_file %}
+ <p>MP3</p>
+ <a href="http://czytamysluchajac.pl/" id="czytamysluchajac-logo"><img src="{{ STATIC_URL }}img/czytamysluchajac-logo-small.png" /></a>
+ <ul>
+ {% for media in book.get_mp3 %}
+ <li><a href="{{ media.file.url }}">{{ media.name }}</a></li>
+ <li class="mp3Player">
+ <object type="application/x-shockwave-flash" style="margin-top: 0.5em" data="{{ STATIC_URL }}player.swf" width="226" height="20">
+ <param name="movie" value="{{ STATIC_URL }}player.swf" />
+ <param name="bgcolor" value="#ffffff" />
+ <param name="FlashVars" value="mp3={{ media.file.url }} &width=226&showvolume=1&bgcolor1=eeeeee&bgcolor2=eeeeee&buttoncolor=666666" />
+ </object>
+ </li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+ </div>