aboutsummaryrefslogtreecommitdiff
path: root/assets/js/lustiges-relive-script.js
diff options
context:
space:
mode:
authorMaZderMind2014-12-27 20:56:20 +0100
committerMaZderMind2014-12-27 20:56:20 +0100
commitda15fd33e4b6d4bb4089c42591de3574d383f874 (patch)
treec3d11dac579fa87837fea90355ef0709c8a5f958 /assets/js/lustiges-relive-script.js
parentab0a2cfbf2b4be1d87376052a02ef2e67557bf0b (diff)
relive gui
Diffstat (limited to 'assets/js/lustiges-relive-script.js')
-rw-r--r--assets/js/lustiges-relive-script.js25
1 files changed, 14 insertions, 11 deletions
diff --git a/assets/js/lustiges-relive-script.js b/assets/js/lustiges-relive-script.js
index fe2ead7..19fa7a1 100644
--- a/assets/js/lustiges-relive-script.js
+++ b/assets/js/lustiges-relive-script.js
@@ -1,14 +1,17 @@
+// mediaelement-player
$(function() {
- var
- $parent = $('.event-previews'),
- $loading = $parent,
- $tpl = $parent.find('.template').detach().removeClass('template');
-
- $.ajax({
- url: '/~peter/relive.json',
- success: function(els) {
- console.log(els);
- $loading.hide();
+ (function(strings) {
+ strings['en-US'] = {
+ 'Download File': 'Open HLS-Stream in Desktop-Player'
}
+ })(mejs.i18n.locale.strings);
+
+ $('video').mediaelementplayer({
+ mode: 'auto_plugin',
+
+ // hack z-index so that the flash plugin get's the click on the fullscreen button
+ enableAutosize: true,
+
+ pluginPath: 'assets/js/lib/relive/',
});
-}); \ No newline at end of file
+});