Fixed flash fallback for Firefox in embed widget

This commit is contained in:
Fergal Moran
2013-07-29 21:02:41 +01:00
parent 8d07c328d8
commit ac27bc835a
8 changed files with 7 additions and 2 deletions

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB

File diff suppressed because one or more lines are too long

View File

@@ -3,11 +3,12 @@
<script src="{{ STATIC_URL }}js/libs/jquery.js"></script>
<script src="{{ STATIC_URL }}js/libs/mediaelement/mediaelement-and-player.js"></script>
<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap.css"/>
<link rel="stylesheet" href="{{ STATIC_URL }}css/mediaelementplayer.css"/>
<link rel="stylesheet" href="{{ STATIC_URL }}css/mediaelement/mediaelementplayer.css"/>
</head>
<body>
<audio id="dss-player" src="{{ audio_url }}" type="audio/mp3" controls="controls">
<source src="{{ audio_url }}" type="audio/mp3" />
</audio>
<aside>Audio provided by <a href="{{ mix_url }}">Deep South Sounds</a></aside>
@@ -15,8 +16,10 @@
jQuery(document).ready(function ($) {
// declare object for video
var player = new MediaElementPlayer('#dss-player', {
features: ['playpause', 'loop', 'current', 'progress', 'duration', 'volume']
features: ['playpause', 'current', 'progress', 'duration', 'volume'],
pluginPath: '/static/bin/mediaelement/'
});
console.log(player);
});
</script>
</body>