aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoar Wandborg <git@wandborg.com>2012-04-16 10:43:50 +0200
committerJoar Wandborg <git@wandborg.com>2012-04-16 10:43:50 +0200
commit2bfb811892386dfbdd6d11659ed559415ff669cb (patch)
tree106e2f8cfab097f9d79765622e5055b89e9330c4
parent3f36967401c5f7459817c7229a4f76c7b891ec8a (diff)
downloadmediagoblin-2bfb811892386dfbdd6d11659ed559415ff669cb.tar.lz
mediagoblin-2bfb811892386dfbdd6d11659ed559415ff669cb.tar.xz
mediagoblin-2bfb811892386dfbdd6d11659ed559415ff669cb.zip
Updated the audio display <source> element
as per <http://www.w3.org/TR/html5/the-source-element.html#attr-source-type>. This closes bug <http://issues.mediagoblin.org/ticket/435>.
-rw-r--r--mediagoblin/templates/mediagoblin/media_displays/audio.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/templates/mediagoblin/media_displays/audio.html b/mediagoblin/templates/mediagoblin/media_displays/audio.html
index 36bd9d1d..3efd80e1 100644
--- a/mediagoblin/templates/mediagoblin/media_displays/audio.html
+++ b/mediagoblin/templates/mediagoblin/media_displays/audio.html
@@ -37,7 +37,7 @@
<audio class="audio-player" controls="controls"
preload="metadata">
<source src="{{ request.app.public_store.file_url(
- media.media_files.ogg) }}" type="video/webm; encoding=&quot;vorbis&quot;" />
+ media.media_files.ogg) }}" type="audio/webm; codecs=vorbis" />
<div class="no_html5">
{%- trans -%}Sorry, this audio will not work because
your web browser does not support HTML5