diff options
Diffstat (limited to '')
-rw-r--r-- | assets/js/lustiges-script.js | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js index 85f7cfb..0da6046 100644 --- a/assets/js/lustiges-script.js +++ b/assets/js/lustiges-script.js @@ -1,19 +1,12 @@ $(function() { $('video').mediaelementplayer({ + mode: 'auto_plugin', usePluginFullScreen: true, - - pluginPath: 'assets/js/lib/', enableAutosize: true, - features: ['playpause', 'volume','fullscreen'], - success: function (mediaElement) { - /* - mediaElement.addEventListener('playing', function () { - $.post("http://api.media.ccc.de/public/recordings/count", {event_id: 1609,src: mediaElement.src}); - }, false); - */ - } + pluginPath: 'assets/js/lib/', + features: ['playpause', 'volume','fullscreen'] }); $('audio').mediaelementplayer(); |