diff options
author | MaZderMind | 2015-04-03 17:12:15 +0200 |
---|---|---|
committer | MaZderMind | 2015-04-03 18:18:16 +0200 |
commit | 6601454a2052ed0e4a0336f5e95aa4f1c0a3f69c (patch) | |
tree | 4b718c30ff57e39d0534241b6cb1d5392cf38895 | |
parent | 13652168a762d8fba207ec60b60882ad2ee19993 (diff) |
Enable Flash on the Relive-Player-Page
Diffstat (limited to '')
-rw-r--r-- | assets/js/lustiges-script.js | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js index 33b84a6..5024e12 100644 --- a/assets/js/lustiges-script.js +++ b/assets/js/lustiges-script.js @@ -151,16 +151,24 @@ $(function() { } })(mejs.i18n.locale.strings); - $('video').mediaelementplayer({ - enableAutosize: true, - - pluginPath: 'assets/js/lib/', - features: ['playpause', 'volume', 'fullscreen', $('video').hasClass('subs') ? 'subs' : ''] + $('body.room video').mediaelementplayer({ + pluginPath: 'assets/mejs/', + features: ['playpause', 'volume', 'fullscreen'], + enableAutosize: true }); - $('audio').mediaelementplayer({ + $('body.room audio').mediaelementplayer({ features: ['playpause', 'volume', 'current'] }); + $('body.relive-player video').mediaelementplayer({ + mode: 'auto_plugin', + enablePluginDebug: true, + plugins: ['flash'], + flashName: 'flashmediaelement.swf', + pluginPath: 'assets/mejs/', + enableAutosize: true, + }); + $(window).on('load', function() { $(window).trigger('resize'); }); |