Commit 8da9b8d2 authored by fred's avatar fred

remove debugging <code> tag in audio elements

parent ea883138
......@@ -56,22 +56,6 @@
<a class="icon-headphones" href="{{ sound|format_url:'mp3' }}"> mp3</a>
{% endif %}
</div>
<code class="source hidden json">
{
"source" :{
"audio/ogg":{% if sound|is_format_available:'ogg' %}{{ sound|format_url:'ogg'|jsonify|safe }}{% else %}false{% endif %},
"audio/mpeg":{% if sound|is_format_available:'mp3' %}{{ sound|format_url:'mp3'|jsonify|safe }}{% else %}false{% endif %}
},
"emission": "{{sound.episode.emission.slug}}",
"episode": "{{sound.episode.slug}}",
{% if sound.fragment and sound.title %}
"title": {{sound.title|jsonify|safe}},
{% else %}
"title": {{sound.episode.title|jsonify|safe}},
{% endif %}
"id":"{{ sound.file.url|slugify }}"
}
</code>
</audio>
{% else %}
<div class="hidden error">No sound available!</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment