Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Daron
panikweb
Commits
8da9b8d2
Commit
8da9b8d2
authored
Jan 26, 2015
by
fred
Browse files
remove debugging <code> tag in audio elements
parent
ea883138
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/templates/includes/audio.html
View file @
8da9b8d2
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment