mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
17 lines
392 B
JavaScript
17 lines
392 B
JavaScript
// mediaelement-player
|
|
$(function() {
|
|
(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/',
|
|
});
|
|
});
|