@mindedge/vuetify-player 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8018,7 +8018,7 @@ handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
|
8018
8018
|
|
|
8019
8019
|
/***/ }),
|
|
8020
8020
|
|
|
8021
|
-
/***/
|
|
8021
|
+
/***/ 9623:
|
|
8022
8022
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8023
8023
|
|
|
8024
8024
|
"use strict";
|
|
@@ -8032,14 +8032,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8032
8032
|
|
|
8033
8033
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
8034
8034
|
// Module
|
|
8035
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".captions-list[data-v-
|
|
8035
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".captions-list[data-v-2acdd94e]{max-height:10em;overflow-y:scroll;-webkit-mask:linear-gradient(90deg,rgba(255,0,0,0) 98%,red 0),linear-gradient(0deg,transparent,#000 20%,#000 80%,transparent);mask:linear-gradient(90deg,rgba(255,0,0,0) 98%,red 0),linear-gradient(0deg,transparent,#000 20%,#000 80%,transparent)}", ""]);
|
|
8036
8036
|
// Exports
|
|
8037
8037
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
8038
8038
|
|
|
8039
8039
|
|
|
8040
8040
|
/***/ }),
|
|
8041
8041
|
|
|
8042
|
-
/***/
|
|
8042
|
+
/***/ 4183:
|
|
8043
8043
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8044
8044
|
|
|
8045
8045
|
"use strict";
|
|
@@ -8053,7 +8053,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8053
8053
|
|
|
8054
8054
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
8055
8055
|
// Module
|
|
8056
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".controls-container[data-v-
|
|
8056
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".controls-container[data-v-f4fb02de]{height:40px;position:relative;top:-50px;margin-bottom:-40px;overflow:hidden}.controls[data-v-f4fb02de]{height:40px;background:linear-gradient(transparent,rgba(0,0,0,.7))}.volume-slider[data-v-f4fb02de]{position:relative;right:-50px;top:-180px;height:180px;width:50px;margin-left:-50px;padding-bottom:10px}.slider-active-area[data-v-f4fb02de]{width:50px;height:200px;margin-right:-50px;margin-bottom:-200px;position:relative;top:-160px}.player-audio[data-v-f4fb02de]{height:40px}.player-video[data-v-f4fb02de]{max-height:100%;background:#000}", ""]);
|
|
8057
8057
|
// Exports
|
|
8058
8058
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
8059
8059
|
|
|
@@ -8727,35 +8727,35 @@ module.exports = function (i) {
|
|
|
8727
8727
|
|
|
8728
8728
|
/***/ }),
|
|
8729
8729
|
|
|
8730
|
-
/***/
|
|
8730
|
+
/***/ 2357:
|
|
8731
8731
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
8732
8732
|
|
|
8733
8733
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
8734
8734
|
|
|
8735
8735
|
// load the styles
|
|
8736
|
-
var content = __webpack_require__(
|
|
8736
|
+
var content = __webpack_require__(9623);
|
|
8737
8737
|
if(content.__esModule) content = content.default;
|
|
8738
8738
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
8739
8739
|
if(content.locals) module.exports = content.locals;
|
|
8740
8740
|
// add the styles to the DOM
|
|
8741
8741
|
var add = (__webpack_require__(4402)/* ["default"] */ .Z)
|
|
8742
|
-
var update = add("
|
|
8742
|
+
var update = add("808dd8ea", content, true, {"sourceMap":false,"shadowMode":false});
|
|
8743
8743
|
|
|
8744
8744
|
/***/ }),
|
|
8745
8745
|
|
|
8746
|
-
/***/
|
|
8746
|
+
/***/ 3692:
|
|
8747
8747
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
8748
8748
|
|
|
8749
8749
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
8750
8750
|
|
|
8751
8751
|
// load the styles
|
|
8752
|
-
var content = __webpack_require__(
|
|
8752
|
+
var content = __webpack_require__(4183);
|
|
8753
8753
|
if(content.__esModule) content = content.default;
|
|
8754
8754
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
8755
8755
|
if(content.locals) module.exports = content.locals;
|
|
8756
8756
|
// add the styles to the DOM
|
|
8757
8757
|
var add = (__webpack_require__(4402)/* ["default"] */ .Z)
|
|
8758
|
-
var update = add("
|
|
8758
|
+
var update = add("206b11ce", content, true, {"sourceMap":false,"shadowMode":false});
|
|
8759
8759
|
|
|
8760
8760
|
/***/ }),
|
|
8761
8761
|
|
|
@@ -14802,10 +14802,44 @@ VueI18n.version = '8.27.1';
|
|
|
14802
14802
|
},
|
|
14803
14803
|
});
|
|
14804
14804
|
|
|
14805
|
+
;// CONCATENATED MODULE: ./src/i18n/vuetify/sv-SE.ts
|
|
14806
|
+
|
|
14807
|
+
|
|
14808
|
+
/* harmony default export */ var sv_SE = ({
|
|
14809
|
+
...en,
|
|
14810
|
+
locales: {
|
|
14811
|
+
'en-US': 'Engelska',
|
|
14812
|
+
'sv-SE': 'Svenska',
|
|
14813
|
+
},
|
|
14814
|
+
playlist: {
|
|
14815
|
+
up_next: 'Nästa',
|
|
14816
|
+
default_name: 'Media',
|
|
14817
|
+
previous: 'Spela sista',
|
|
14818
|
+
next: 'Spela nästa',
|
|
14819
|
+
},
|
|
14820
|
+
player: {
|
|
14821
|
+
playback_speed: 'Uppspelningshastighet',
|
|
14822
|
+
playback_decrease: 'Minska uppspelningshastigheten',
|
|
14823
|
+
playback_increase: 'Öka uppspelningshastigheten',
|
|
14824
|
+
toggle_settings: 'Växla inställningar',
|
|
14825
|
+
download: 'Ladda ner',
|
|
14826
|
+
toggle_remote_playback: 'Växla fjärruppspelning',
|
|
14827
|
+
toggle_picture_in_picture: 'Växla bild i bild',
|
|
14828
|
+
toggle_fullscreen: 'Växla helskärm',
|
|
14829
|
+
toggle_cc: 'Växla undertexter',
|
|
14830
|
+
volume_slider: 'Ändra volym',
|
|
14831
|
+
rewind_10: 'Spola tillbaka 10 sekunder',
|
|
14832
|
+
play: 'Klicka för att spela',
|
|
14833
|
+
pause: 'Klicka för att pausa',
|
|
14834
|
+
no_support: 'Tyvärr, din webbläsare stöder inte inbäddade videor.',
|
|
14835
|
+
},
|
|
14836
|
+
});
|
|
14837
|
+
|
|
14805
14838
|
;// CONCATENATED MODULE: ./src/plugins/i18n.js
|
|
14806
14839
|
|
|
14807
14840
|
|
|
14808
14841
|
|
|
14842
|
+
|
|
14809
14843
|
external_commonjs_vue_commonjs2_vue_root_Vue_default().use(vue_i18n_esm);
|
|
14810
14844
|
|
|
14811
14845
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
@@ -14816,7 +14850,8 @@ var i18n = new vue_i18n_esm({
|
|
|
14816
14850
|
locale: "en-US" || 0,
|
|
14817
14851
|
fallbackLocale: "en-US" || 0,
|
|
14818
14852
|
messages: {
|
|
14819
|
-
'en-US': en_US
|
|
14853
|
+
'en-US': en_US,
|
|
14854
|
+
'sv-SE': sv_SE
|
|
14820
14855
|
}
|
|
14821
14856
|
});
|
|
14822
14857
|
(external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.i18n = i18n;
|
|
@@ -14858,7 +14893,7 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('humanShortDuratio
|
|
|
14858
14893
|
|
|
14859
14894
|
return ret;
|
|
14860
14895
|
});
|
|
14861
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/VuetifyPlayer.vue?vue&type=template&id=
|
|
14896
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/VuetifyPlayer.vue?vue&type=template&id=617c4951&
|
|
14862
14897
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',[_c('v-col',{attrs:{"cols":!_vm.playlistmenu || _vm.playlist.length <= 1 ? 12 : 8}},[(_vm.parseSourceType(_vm.current.src.sources) === 'youtube')?_c('YoutubePlayer',{ref:"youtubePlayer",attrs:{"language":_vm.language,"type":_vm.current.type,"attributes":_vm.current.attributes,"src":_vm.current.src},on:{"click:fullscreen":_vm.onFullscreen}}):_vm._e(),(_vm.parseSourceType(_vm.current.src.sources) === 'html5')?_c('Html5Player',{ref:"html5Player",attrs:{"language":_vm.language,"type":_vm.current.type,"attributes":_vm.current.attributes,"src":_vm.current.src},on:{"load":function($event){return _vm.$emit('load', $event)},"ended":_vm.onEnded,"loadeddata":_vm.onLoadeddata,"loadedmetadata":function($event){return _vm.$emit('loadedmetadata', $event)},"play":function($event){return _vm.$emit('play', $event)},"pause":function($event){return _vm.$emit('pause', $event)},"seeking":function($event){return _vm.$emit('seeking', $event)},"timeupdate":function($event){return _vm.$emit('timeupdate', $event)},"progress":function($event){return _vm.$emit('progress', $event)},"canplay":function($event){return _vm.$emit('canplay', $event)},"waiting":function($event){return _vm.$emit('waiting', $event)},"canplaythrough":function($event){return _vm.$emit('canplaythrough', $event)},"error":function($event){return _vm.$emit('error', $event)},"emptied":function($event){return _vm.$emit('emptied', $event)},"ratechange":function($event){return _vm.$emit('ratechange', $event)},"stalled":function($event){return _vm.$emit('stalled', $event)},"abort":function($event){return _vm.$emit('abort', $event)},"mouseover":function($event){return _vm.$emit('mouseover', $event)},"mouseout":function($event){return _vm.$emit('mouseout', $event)},"click:fullscreen":_vm.onFullscreen,"click:pictureinpicture":_vm.onPictureInPicture,"click:remoteplayback":_vm.onRemoteplayback}}):_vm._e()],1),(_vm.playlistmenu && _vm.playlist.length > 1)?_c('v-col',{attrs:{"cols":"4"}},[_c('PlaylistMenu',{attrs:{"language":_vm.language,"playlist":_vm.playlist,"poster":_vm.poster},on:{"click:select":_vm.onPlaylistSelect},model:{value:(_vm.sourceIndex),callback:function ($$v) {_vm.sourceIndex=$$v},expression:"sourceIndex"}})],1):_vm._e()],1)],1)}
|
|
14863
14898
|
var staticRenderFns = []
|
|
14864
14899
|
|
|
@@ -15943,21 +15978,19 @@ var component = normalizeComponent(
|
|
|
15943
15978
|
|
|
15944
15979
|
installComponents_default()(component, {VContainer: VContainer,VResponsive: VResponsive_VResponsive,VSkeletonLoader: VSkeletonLoader_VSkeletonLoader})
|
|
15945
15980
|
|
|
15946
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Media/Html5Player.vue?vue&type=template&id=
|
|
15947
|
-
var
|
|
15981
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Media/Html5Player.vue?vue&type=template&id=f4fb02de&scoped=true&
|
|
15982
|
+
var Html5Playervue_type_template_id_f4fb02de_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',[_c('video',{ref:"player",class:'player-' + _vm.type,attrs:{"tabindex":"0","height":_vm.attributes.height,"width":_vm.attributes.width,"autoplay":_vm.attributes.autoplay,"autopictureinpicture":_vm.attributes.autopictureinpicture,"controlslist":_vm.attributes.controlslist,"crossorigin":_vm.attributes.crossorigin,"disablepictureinpicture":_vm.attributes.disablepictureinpicture,"disableremoteplayback":_vm.attributes.disableremoteplayback,"loop":_vm.attributes.loop,"playsinline":_vm.attributes.playsinline,"poster":_vm.src.poster || _vm.attributes.poster,"preload":_vm.attributes.preload},domProps:{"muted":_vm.attributes.muted},on:{"click":_vm.onPlayToggle,"seeking":_vm.onSeeking,"timeupdate":_vm.onTimeupdate,"progress":_vm.onMediaProgress,"loadedmetadata":_vm.onLoadedmetadata,"loadeddata":_vm.onLoadeddata,"focus":_vm.onVideoHover,"mouseover":_vm.onVideoHover,"mouseout":_vm.onVideoLeave,"ended":_vm.onEnded,"error":function($event){return _vm.$emit('error', $event)},"canplay":function($event){return _vm.$emit('canplay', $event)},"waiting":function($event){return _vm.$emit('waiting', $event)},"canplaythrough":function($event){return _vm.$emit('canplaythrough', $event)},"emptied":function($event){return _vm.$emit('emptied', $event)},"stalled":function($event){return _vm.$emit('stalled', $event)},"abort":function($event){return _vm.$emit('abort', $event)}}},[_vm._l((_vm.current.sources),function(source,index){return _c('source',{key:index + '_mediasources',attrs:{"src":source.src,"type":source.type}})}),_vm._l((_vm.current.tracks),function(track,index){return _c('track',{key:index + '_mediatracks',attrs:{"default":track.default,"src":track.src,"kind":track.kind,"srclang":track.srclang},on:{"cuechange":_vm.onCuechange}})}),_vm._v(" "+_vm._s(_vm.i18n.t('player.no_support'))+" ")],2),(_vm.attributes.controls)?_c('div',{staticClass:"controls-container",on:{"mouseover":_vm.onControlsHover}},[_c('v-slide-y-reverse-transition',[(_vm.player && _vm.options.controls)?_c('div',{staticClass:"controls"},[_c('v-slider',{attrs:{"dark":"","min":0,"max":_vm.scrub.max,"label":_vm.$options.filters.humanShortDuration(
|
|
15948
15983
|
_vm.percentToTimeSeconds(_vm.currentPercent)
|
|
15949
15984
|
) +
|
|
15950
15985
|
' / ' +
|
|
15951
15986
|
_vm.$options.filters.humanShortDuration(_vm.player.duration),"inverse-label":""},on:{"mousedown":_vm.onPause,"change":_vm.onScrubTime},scopedSlots:_vm._u([{key:"prepend",fn:function(){return [_c('v-tooltip',{attrs:{"top":""},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
15952
15987
|
var on = ref.on;
|
|
15953
15988
|
var attrs = ref.attrs;
|
|
15954
|
-
return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""},on:{"click":_vm.onPlayToggle}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(_vm._s(_vm.options.paused ? 'mdi-play' : 'mdi-pause'))])],1)]}}],null,false,
|
|
15989
|
+
return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""},on:{"click":_vm.onPlayToggle}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(_vm._s(_vm.options.paused ? 'mdi-play' : 'mdi-pause'))]),_c('span',{staticClass:"d-sr-only"},[_vm._v(" "+_vm._s(_vm.options.paused ? _vm.i18n.t('player.play') : _vm.i18n.t('player.pause'))+" ")])],1)]}}],null,false,4102767565)},[_c('span',[_vm._v(_vm._s(_vm.options.paused ? _vm.i18n.t('player.play') : _vm.i18n.t('player.pause')))])]),(_vm.attributes.rewind)?_c('v-tooltip',{attrs:{"top":""},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
15955
15990
|
var on = ref.on;
|
|
15956
15991
|
var attrs = ref.attrs;
|
|
15957
|
-
return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""},on:{"click":_vm.onRewind}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v("mdi-rewind-10")])],1)]}}],null,false,
|
|
15958
|
-
_vm.
|
|
15959
|
-
_vm.current.tracks &&
|
|
15960
|
-
_vm.current.tracks.length > 0
|
|
15992
|
+
return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""},on:{"click":_vm.onRewind}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v("mdi-rewind-10")]),_c('span',{staticClass:"sr-only"},[_vm._v(_vm._s(_vm.i18n.t('player.rewind_10')))])],1)]}}],null,false,2389033547)},[_c('span',[_vm._v(_vm._s(_vm.i18n.t('player.rewind_10')))])]):_vm._e()]},proxy:true},{key:"append",fn:function(){return [(
|
|
15993
|
+
_vm.current.tracks && _vm.current.tracks.length > 0
|
|
15961
15994
|
)?_c('v-menu',{attrs:{"open-on-hover":"","top":"","offset-y":""},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
15962
15995
|
var on = ref.on;
|
|
15963
15996
|
var attrs = ref.attrs;
|
|
@@ -15978,19 +16011,19 @@ return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""},on:{"click":_vm.o
|
|
|
15978
16011
|
)?_c('v-icon',[_vm._v("mdi-volume-low")]):_vm._e(),(
|
|
15979
16012
|
_vm.options.muted ||
|
|
15980
16013
|
_vm.options.volume === 0
|
|
15981
|
-
)?_c('v-icon',[_vm._v("mdi-volume-off")]):_vm._e()],1)]}}],null,false,
|
|
16014
|
+
)?_c('v-icon',[_vm._v("mdi-volume-off")]):_vm._e(),_c('span',{staticClass:"d-sr-only"},[_vm._v(_vm._s(_vm.i18n.t('player.volume_slider')))])],1)]}}],null,false,1224686910)},[_c('v-sheet',{staticClass:"pa-5"},[_c('span',{staticClass:"d-sr-only"},[_vm._v(_vm._s(_vm.i18n.t('player.volume_slider')))]),_c('v-slider',{attrs:{"inverse-label":"","min":0,"max":1,"step":0.1,"vertical":""},on:{"change":_vm.onVolumeChange},model:{value:(_vm.options.volume),callback:function ($$v) {_vm.$set(_vm.options, "volume", $$v)},expression:"options.volume"}})],1)],1),(_vm.fullscreenEnabled)?_c('v-tooltip',{attrs:{"top":""},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
15982
16015
|
var on = ref.on;
|
|
15983
16016
|
var attrs = ref.attrs;
|
|
15984
|
-
return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""},on:{"click":_vm.onFullscreen}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(_vm._s(!_vm.options.fullscreen ? 'mdi-fullscreen' : 'mdi-fullscreen-exit'))])],1)]}}],null,false,
|
|
16017
|
+
return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""},on:{"click":_vm.onFullscreen}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(_vm._s(!_vm.options.fullscreen ? 'mdi-fullscreen' : 'mdi-fullscreen-exit'))]),_c('span',{staticClass:"d-sr-only"},[_vm._v(_vm._s(_vm.i18n.t('player.toggle_fullscreen')))])],1)]}}],null,false,2421427702)},[_c('span',[_vm._v(_vm._s(_vm.i18n.t('player.toggle_fullscreen')))])]):_vm._e(),(!_vm.attributes.disablepictureinpicture)?_c('v-tooltip',{attrs:{"top":""},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
15985
16018
|
var on = ref.on;
|
|
15986
16019
|
var attrs = ref.attrs;
|
|
15987
|
-
return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""},on:{"click":_vm.onPictureInPicture}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v("mdi-picture-in-picture-bottom-right")])],1)]}}],null,false,
|
|
16020
|
+
return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""},on:{"click":_vm.onPictureInPicture}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v("mdi-picture-in-picture-bottom-right")]),_c('span',{staticClass:"d-sr-only"},[_vm._v(_vm._s(_vm.i18n.t( 'player.toggle_picture_in_picture' )))])],1)]}}],null,false,3342493494)},[_c('span',[_vm._v(_vm._s(_vm.i18n.t('player.toggle_picture_in_picture')))])]):_vm._e(),(_vm.options.remoteplayback)?_c('v-tooltip',{attrs:{"top":""},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
15988
16021
|
var on = ref.on;
|
|
15989
16022
|
var attrs = ref.attrs;
|
|
15990
|
-
return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""},on:{"click":_vm.onRemoteplayback}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v("mdi-cast")])],1)]}}],null,false,
|
|
16023
|
+
return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""},on:{"click":_vm.onRemoteplayback}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v("mdi-cast")]),_c('span',{staticClass:"d-sr-only"},[_vm._v(_vm._s(_vm.i18n.t( 'player.toggle_remote_playback' )))])],1)]}}],null,false,616180132)},[_c('span',[_vm._v(_vm._s(_vm.i18n.t('player.toggle_remote_playback')))])]):_vm._e(),(_vm.options.download)?_c('v-tooltip',{attrs:{"top":""},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
15991
16024
|
var on = ref.on;
|
|
15992
16025
|
var attrs = ref.attrs;
|
|
15993
|
-
return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""},on:{"click":_vm.onDownload}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v("mdi-download")])],1)]}}],null,false,
|
|
16026
|
+
return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""},on:{"click":_vm.onDownload}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v("mdi-download")]),_c('span',{staticClass:"d-sr-only"},[_vm._v(_vm._s(_vm.i18n.t('player.download')))])],1)]}}],null,false,1863298183)},[_c('span',[_vm._v(_vm._s(_vm.i18n.t('player.download')))])]):_vm._e(),_c('v-menu',{attrs:{"top":"","offset-y":"","close-on-content-click":false,"nudge-left":"100"},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
15994
16027
|
var on = ref.on;
|
|
15995
16028
|
var attrs = ref.attrs;
|
|
15996
16029
|
return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v("mdi-cog")]),_c('span',{staticClass:"d-sr-only"},[_vm._v(_vm._s(_vm.i18n.t('player.toggle_settings')))])],1)]}}],null,false,3250978324)},[_c('v-list',[_c('v-list-item',[_c('v-list-item-title',[_c('v-icon',[_vm._v("mdi-play-speed")]),_vm._v(" "+_vm._s(_vm.i18n.t('player.playback_speed'))+" ")],1)],1),_c('v-list-item',[_c('v-list-item-title',{staticClass:"text-center"},[_c('v-btn',{attrs:{"small":"","disabled":_vm.options.playbackRateIndex ===
|
|
@@ -16003,19 +16036,19 @@ return [_c('v-btn',_vm._g(_vm._b({attrs:{"small":"","text":""}},'v-btn',attrs,fa
|
|
|
16003
16036
|
1},on:{"click":function($event){return _vm.onPlaybackSpeed(
|
|
16004
16037
|
_vm.options.playbackRateIndex +
|
|
16005
16038
|
1
|
|
16006
|
-
)}}},[_c('v-icon',[_vm._v(" mdi-clock-plus-outline ")]),_c('span',{staticClass:"d-sr-only"},[_vm._v(_vm._s(_vm.i18n.t( 'player.playback_increase' )))])],1)],1)],1)],1)],1)]},proxy:true}],null,false,
|
|
16039
|
+
)}}},[_c('v-icon',[_vm._v(" mdi-clock-plus-outline ")]),_c('span',{staticClass:"d-sr-only"},[_vm._v(_vm._s(_vm.i18n.t( 'player.playback_increase' )))])],1)],1)],1)],1)],1)]},proxy:true}],null,false,1784086433),model:{value:(_vm.currentPercent),callback:function ($$v) {_vm.currentPercent=$$v},expression:"currentPercent"}})],1):_vm._e()])],1):_vm._e(),(
|
|
16007
16040
|
_vm.attributes.captionsmenu &&
|
|
16008
16041
|
_vm.current.tracks &&
|
|
16009
16042
|
_vm.captions &&
|
|
16010
16043
|
_vm.captions.cues &&
|
|
16011
16044
|
Object.keys(_vm.captions.cues).length
|
|
16012
16045
|
)?_c('v-col',{attrs:{"cols":"12"}},[_c('CaptionsMenu',{attrs:{"language":_vm.language},on:{"click:cue":_vm.onCueClick},model:{value:(_vm.captions),callback:function ($$v) {_vm.captions=$$v},expression:"captions"}})],1):_vm._e()],1)}
|
|
16013
|
-
var
|
|
16046
|
+
var Html5Playervue_type_template_id_f4fb02de_scoped_true_staticRenderFns = []
|
|
16014
16047
|
|
|
16015
16048
|
|
|
16016
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Media/CaptionsMenu.vue?vue&type=template&id=
|
|
16017
|
-
var
|
|
16018
|
-
var
|
|
16049
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Media/CaptionsMenu.vue?vue&type=template&id=2acdd94e&scoped=true&
|
|
16050
|
+
var CaptionsMenuvue_type_template_id_2acdd94e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',[_c('v-card-text',[_c('v-list',{ref:"captionList",staticClass:"captions-list"},[_c('v-list-item-group',{model:{value:(_vm.captionIndex),callback:function ($$v) {_vm.captionIndex=$$v},expression:"captionIndex"}},_vm._l((_vm.captions.cues),function(cue,index){return _c('v-list-item',{key:index,ref:"captionItems",refInFor:true,on:{"click":function($event){return _vm.onCueClick(cue.startTime)}}},[_c('v-list-item-icon',[_c('v-icon',[_vm._v(_vm._s(index === _vm.captionIndex ? 'mdi-arrow-right-drop-circle-outline' : 'mdi-checkbox-blank-circle-outline')+" ")])],1),_c('v-list-item-content',{domProps:{"innerHTML":_vm._s(cue.text)}}),_c('v-list-item-action',[_c('span',{attrs:{"aria-hidden":"true"}},[_vm._v(" "+_vm._s(_vm._f("humanShortDuration")(cue.startTime))+" - "+_vm._s(_vm._f("humanShortDuration")(cue.endTime))+" ")])])],1)}),1)],1)],1)],1)}
|
|
16051
|
+
var CaptionsMenuvue_type_template_id_2acdd94e_scoped_true_staticRenderFns = []
|
|
16019
16052
|
|
|
16020
16053
|
|
|
16021
16054
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Media/CaptionsMenu.vue?vue&type=script&lang=js&
|
|
@@ -16057,6 +16090,8 @@ var CaptionsMenuvue_type_template_id_4600b32e_scoped_true_staticRenderFns = []
|
|
|
16057
16090
|
//
|
|
16058
16091
|
//
|
|
16059
16092
|
//
|
|
16093
|
+
//
|
|
16094
|
+
//
|
|
16060
16095
|
/* harmony default export */ var CaptionsMenuvue_type_script_lang_js_ = ({
|
|
16061
16096
|
props: {
|
|
16062
16097
|
value: {
|
|
@@ -16127,9 +16162,9 @@ var CaptionsMenuvue_type_template_id_4600b32e_scoped_true_staticRenderFns = []
|
|
|
16127
16162
|
});
|
|
16128
16163
|
;// CONCATENATED MODULE: ./src/components/Media/CaptionsMenu.vue?vue&type=script&lang=js&
|
|
16129
16164
|
/* harmony default export */ var Media_CaptionsMenuvue_type_script_lang_js_ = (CaptionsMenuvue_type_script_lang_js_);
|
|
16130
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Media/CaptionsMenu.vue?vue&type=style&index=0&id=
|
|
16131
|
-
var
|
|
16132
|
-
;// CONCATENATED MODULE: ./src/components/Media/CaptionsMenu.vue?vue&type=style&index=0&id=
|
|
16165
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Media/CaptionsMenu.vue?vue&type=style&index=0&id=2acdd94e&scoped=true&lang=css&
|
|
16166
|
+
var CaptionsMenuvue_type_style_index_0_id_2acdd94e_scoped_true_lang_css_ = __webpack_require__(2357);
|
|
16167
|
+
;// CONCATENATED MODULE: ./src/components/Media/CaptionsMenu.vue?vue&type=style&index=0&id=2acdd94e&scoped=true&lang=css&
|
|
16133
16168
|
|
|
16134
16169
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js
|
|
16135
16170
|
var es_array_flat = __webpack_require__(4944);
|
|
@@ -18929,11 +18964,11 @@ var VListItemSubtitle = createSimpleFunctional('v-list-item__subtitle', 'div');
|
|
|
18929
18964
|
|
|
18930
18965
|
var CaptionsMenu_component = normalizeComponent(
|
|
18931
18966
|
Media_CaptionsMenuvue_type_script_lang_js_,
|
|
18932
|
-
|
|
18933
|
-
|
|
18967
|
+
CaptionsMenuvue_type_template_id_2acdd94e_scoped_true_render,
|
|
18968
|
+
CaptionsMenuvue_type_template_id_2acdd94e_scoped_true_staticRenderFns,
|
|
18934
18969
|
false,
|
|
18935
18970
|
null,
|
|
18936
|
-
"
|
|
18971
|
+
"2acdd94e",
|
|
18937
18972
|
null
|
|
18938
18973
|
|
|
18939
18974
|
)
|
|
@@ -19370,6 +19405,35 @@ installComponents_default()(CaptionsMenu_component, {VCard: VCard_VCard,VCardTex
|
|
|
19370
19405
|
//
|
|
19371
19406
|
//
|
|
19372
19407
|
//
|
|
19408
|
+
//
|
|
19409
|
+
//
|
|
19410
|
+
//
|
|
19411
|
+
//
|
|
19412
|
+
//
|
|
19413
|
+
//
|
|
19414
|
+
//
|
|
19415
|
+
//
|
|
19416
|
+
//
|
|
19417
|
+
//
|
|
19418
|
+
//
|
|
19419
|
+
//
|
|
19420
|
+
//
|
|
19421
|
+
//
|
|
19422
|
+
//
|
|
19423
|
+
//
|
|
19424
|
+
//
|
|
19425
|
+
//
|
|
19426
|
+
//
|
|
19427
|
+
//
|
|
19428
|
+
//
|
|
19429
|
+
//
|
|
19430
|
+
//
|
|
19431
|
+
//
|
|
19432
|
+
//
|
|
19433
|
+
//
|
|
19434
|
+
//
|
|
19435
|
+
//
|
|
19436
|
+
//
|
|
19373
19437
|
|
|
19374
19438
|
/* harmony default export */ var Html5Playervue_type_script_lang_js_ = ({
|
|
19375
19439
|
name: 'Html5Player',
|
|
@@ -19778,9 +19842,9 @@ installComponents_default()(CaptionsMenu_component, {VCard: VCard_VCard,VCardTex
|
|
|
19778
19842
|
});
|
|
19779
19843
|
;// CONCATENATED MODULE: ./src/components/Media/Html5Player.vue?vue&type=script&lang=js&
|
|
19780
19844
|
/* harmony default export */ var Media_Html5Playervue_type_script_lang_js_ = (Html5Playervue_type_script_lang_js_);
|
|
19781
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Media/Html5Player.vue?vue&type=style&index=0&id=
|
|
19782
|
-
var
|
|
19783
|
-
;// CONCATENATED MODULE: ./src/components/Media/Html5Player.vue?vue&type=style&index=0&id=
|
|
19845
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Media/Html5Player.vue?vue&type=style&index=0&id=f4fb02de&scoped=true&lang=css&
|
|
19846
|
+
var Html5Playervue_type_style_index_0_id_f4fb02de_scoped_true_lang_css_ = __webpack_require__(3692);
|
|
19847
|
+
;// CONCATENATED MODULE: ./src/components/Media/Html5Player.vue?vue&type=style&index=0&id=f4fb02de&scoped=true&lang=css&
|
|
19784
19848
|
|
|
19785
19849
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
19786
19850
|
var es_json_stringify = __webpack_require__(8862);
|
|
@@ -23292,11 +23356,11 @@ var VTooltip = __webpack_require__(3903);
|
|
|
23292
23356
|
|
|
23293
23357
|
var Html5Player_component = normalizeComponent(
|
|
23294
23358
|
Media_Html5Playervue_type_script_lang_js_,
|
|
23295
|
-
|
|
23296
|
-
|
|
23359
|
+
Html5Playervue_type_template_id_f4fb02de_scoped_true_render,
|
|
23360
|
+
Html5Playervue_type_template_id_f4fb02de_scoped_true_staticRenderFns,
|
|
23297
23361
|
false,
|
|
23298
23362
|
null,
|
|
23299
|
-
"
|
|
23363
|
+
"f4fb02de",
|
|
23300
23364
|
null
|
|
23301
23365
|
|
|
23302
23366
|
)
|
|
@@ -23517,6 +23581,7 @@ installComponents_default()(PlaylistMenu_component, {VAvatar: VAvatar_VAvatar,VB
|
|
|
23517
23581
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/VuetifyPlayer.vue?vue&type=script&lang=js&
|
|
23518
23582
|
|
|
23519
23583
|
|
|
23584
|
+
|
|
23520
23585
|
//
|
|
23521
23586
|
//
|
|
23522
23587
|
//
|
|
@@ -23578,7 +23643,6 @@ installComponents_default()(PlaylistMenu_component, {VAvatar: VAvatar_VAvatar,VB
|
|
|
23578
23643
|
//
|
|
23579
23644
|
|
|
23580
23645
|
|
|
23581
|
-
//import i18n from '../plugins/i18n'
|
|
23582
23646
|
|
|
23583
23647
|
/* harmony default export */ var VuetifyPlayervue_type_script_lang_js_ = ({
|
|
23584
23648
|
name: 'VuetifyPlayer',
|
|
@@ -23729,7 +23793,8 @@ installComponents_default()(PlaylistMenu_component, {VAvatar: VAvatar_VAvatar,VB
|
|
|
23729
23793
|
watch: {
|
|
23730
23794
|
language: function language(newVal) {
|
|
23731
23795
|
if (typeof this.i18n !== 'undefined') {
|
|
23732
|
-
|
|
23796
|
+
// Set the locale and replace en_US to the correct en-US format
|
|
23797
|
+
this.i18n.locale = newVal.replace('_', '-');
|
|
23733
23798
|
}
|
|
23734
23799
|
}
|
|
23735
23800
|
},
|
|
@@ -23858,10 +23923,10 @@ installComponents_default()(PlaylistMenu_component, {VAvatar: VAvatar_VAvatar,VB
|
|
|
23858
23923
|
beforeCreate: function beforeCreate() {},
|
|
23859
23924
|
beforeMount: function beforeMount() {},
|
|
23860
23925
|
mounted: function mounted() {
|
|
23861
|
-
|
|
23862
|
-
|
|
23863
|
-
|
|
23864
|
-
|
|
23926
|
+
if (typeof this.i18n !== 'undefined') {
|
|
23927
|
+
// Set the locale and replace en_US to the correct en-US format
|
|
23928
|
+
this.i18n.locale = this.language.replace('_', '-');
|
|
23929
|
+
}
|
|
23865
23930
|
},
|
|
23866
23931
|
beforeDestroy: function beforeDestroy() {}
|
|
23867
23932
|
});
|
|
@@ -24068,11 +24133,6 @@ installComponents_default()(VuetifyPlayer_component, {VCol: VCol,VRow: VRow})
|
|
|
24068
24133
|
|
|
24069
24134
|
|
|
24070
24135
|
|
|
24071
|
-
/*Object.defineProperty(Vue.prototype, '$i18n', {
|
|
24072
|
-
value: i18n,
|
|
24073
|
-
})*/
|
|
24074
|
-
//Vue.$i18n = i18n
|
|
24075
|
-
|
|
24076
24136
|
(external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.i18n = plugins_i18n;
|
|
24077
24137
|
external_commonjs_vue_commonjs2_vue_root_Vue_default().component(VuetifyPlayer.name, VuetifyPlayer);
|
|
24078
24138
|
/* harmony default export */ var src_0 = (VuetifyPlayer);
|