mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-25 19:17:35 +00:00
Fixed flash fallback for Firefox in embed widget
This commit is contained in:
Binary file not shown.
BIN
static/bin/mediaelement/flashmediaelement.swf
Normal file
BIN
static/bin/mediaelement/flashmediaelement.swf
Normal file
Binary file not shown.
1
static/css/mediaelement/controls.svg
Normal file
1
static/css/mediaelement/controls.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 10 KiB |
1
static/css/mediaelement/mediaelementplayer.min.css
vendored
Normal file
1
static/css/mediaelement/mediaelementplayer.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -3,11 +3,12 @@
|
|||||||
<script src="{{ STATIC_URL }}js/libs/jquery.js"></script>
|
<script src="{{ STATIC_URL }}js/libs/jquery.js"></script>
|
||||||
<script src="{{ STATIC_URL }}js/libs/mediaelement/mediaelement-and-player.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/bootstrap.css"/>
|
||||||
<link rel="stylesheet" href="{{ STATIC_URL }}css/mediaelementplayer.css"/>
|
<link rel="stylesheet" href="{{ STATIC_URL }}css/mediaelement/mediaelementplayer.css"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<audio id="dss-player" src="{{ audio_url }}" type="audio/mp3" controls="controls">
|
<audio id="dss-player" src="{{ audio_url }}" type="audio/mp3" controls="controls">
|
||||||
|
<source src="{{ audio_url }}" type="audio/mp3" />
|
||||||
</audio>
|
</audio>
|
||||||
<aside>Audio provided by <a href="{{ mix_url }}">Deep South Sounds</a></aside>
|
<aside>Audio provided by <a href="{{ mix_url }}">Deep South Sounds</a></aside>
|
||||||
|
|
||||||
@@ -15,8 +16,10 @@
|
|||||||
jQuery(document).ready(function ($) {
|
jQuery(document).ready(function ($) {
|
||||||
// declare object for video
|
// declare object for video
|
||||||
var player = new MediaElementPlayer('#dss-player', {
|
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>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user