zwplayer-vue2x 1.0.18 → 1.0.20
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.
|
@@ -195,7 +195,8 @@ const availabe_props = {
|
|
|
195
195
|
thumbnails: 'object',
|
|
196
196
|
sendDanmu: 'function',
|
|
197
197
|
danmuBarId: 'string',
|
|
198
|
-
fluid: 'boolean'
|
|
198
|
+
fluid: 'boolean',
|
|
199
|
+
logo: 'object'
|
|
199
200
|
};
|
|
200
201
|
/* harmony default export */ var mainvue_type_script_lang_js = ({
|
|
201
202
|
name: 'ZwPlayer',
|
package/lib/zwplayervue2.umd.js
CHANGED
|
@@ -205,7 +205,8 @@ const availabe_props = {
|
|
|
205
205
|
thumbnails: 'object',
|
|
206
206
|
sendDanmu: 'function',
|
|
207
207
|
danmuBarId: 'string',
|
|
208
|
-
fluid: 'boolean'
|
|
208
|
+
fluid: 'boolean',
|
|
209
|
+
logo: 'object'
|
|
209
210
|
};
|
|
210
211
|
/* harmony default export */ var mainvue_type_script_lang_js = ({
|
|
211
212
|
name: 'ZwPlayer',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["zwplayervue2"]=t():e["zwplayervue2"]=t()})("undefined"!==typeof self?self:this,(function(){return function(){var e={234:function(e){const t=function(e,t,r){let l=document.getElementsByTagName("head");if(0==l.length){l=document.createElement("head");let e=document.getElementsByTagName("body");if(!(e.length>0))return alert("Invalid html document: no HEAD tag"),!1;e=e[0],document.insertBefore(l,e)}else{l=l[0];const t=l.childNodes;for(let l=0;l<t.length;l++){const o=t[l];if("SCRIPT"===o.nodeName.toUpperCase()&&o.id&&o.id==e){if("true"!=o.getAttribute("loadstate")){const t=function(){"true"!=o.getAttribute("loadstate")?setTimeout(t,50):"function"==typeof r&&r(e)};return setTimeout(t,50),!1}return"function"==typeof r&&r(e),!0}}}const o=document.createElement("script");return o.type="text/javascript",o.readyState?o.onreadystatechange=function(){"loaded"!=o.readyState&&"complete"!=o.readyState||(o.onreadystatechange=null,o.setAttribute("loadstate","true"),"function"==typeof r&&r(e))}:o.onload=function(){o.setAttribute("loadstate","true"),o.setAttribute("charset","utf-8"),"function"==typeof r&&r(e)},o.id=e,o.src=t,l.appendChild(o),!1};e.exports.l=t}},t={};function r(l){var o=t[l];if(void 0!==o)return o.exports;var n=t[l]={exports:{}};return e[l](n,n.exports,r),n.exports}!function(){r.d=function(e,t){for(var l in t)r.o(t,l)&&!r.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})}}(),function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){r.p=""}();var l={};return function(){"use strict";if(r.r(l),r.d(l,{Player:function(){return h},default:function(){return v},zwplayer:function(){return c}}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(r.p=t[1])}var o=r(234);const n="zwplayer/zwplayer.js?v=3.6",a={isLive:"boolean",useOldFlv:"boolean",useFlv:"boolean",streamtype:"string",hasAudio:"boolean",hasVideo:"boolean",xmc_url:"string",fixedControlbar:"boolean",nativecontrols:"boolean",infoButton:"boolean",speedButton:"boolean",optionButton:"boolean",snapshotButton:"boolean",chapterButton:"boolean",enableDanmu:"boolean",useProgressTooltip:"boolean",hidePlayBtn:"boolean",disablePlayBtn:"boolean",disableSeek:"boolean",disableFullscreenWin:"boolean",disablePicInPic:"boolean",disableVolumeControl:"boolean",lostFocusPause:"boolean",autoSmallWindow:"boolean",thumbnails:"object",sendDanmu:"function",danmuBarId:"string",fluid:"boolean"};var i,s,p={name:"ZwPlayer",data(){return{zwplayer:null,nodename:"ZwPlayer"}},props:{zwplayerlib:String,murl:String,nodeid:String,muted:Boolean,autoplay:{type:Boolean,default:!0},videoprop:Object,videostyle:String,reconnect:{type:Boolean,default:!0},controlbar:{type:Boolean,default:!0},useProgressTooltip:{type:Boolean,default:!0}},emits:["oneterror","onmediaevent","onready"],methods:{play(e,t,r){let l=this;e||(e=this.murl),l.zwplayer&&l.zwplayer.play(e,t,r)},stop(){let e=this;e.zwplayer&&e.zwplayer.stop()},pause(){let e=this;e.zwplayer&&e.zwplayer.pause()},resume(){let e=this;e.zwplayer&&e.zwplayer.resume()},getDuration(){let e=this;if(e.zwplayer)return e.zwplayer.getDuration()},getCurrentTime(){let e=this;if(e.zwplayer)return e.zwplayer.CurrentTime},seekTime(e){let t=this;t.zwplayer&&t.zwplayer.seekTime(e)},destroy(){let e=this;e.zwplayer&&e.zwplayer.destroy()},setplaystate(e){let t=this;t.zwplayer&&t.zwplayer.setplaystate(e)},setEnableDanmu(e){let t=this;t.zwplayer&&t.zwplayer.setEnableDanmu(e)},appendDanmu(e,t){let r=this;r.zwplayer&&r.zwplayer.appendDanmu(e,t)},setChapters(e){let t=this;t.zwplayer&&t.zwplayer.setChapters(e)},addSubtitle(e,t,r){let l=this;l.zwplayer&&l.zwplayer.addSubtitle(e,t,r)},removeSubtitle(){let e=this;e.zwplayer&&e.zwplayer.removeSubtitle()},buildDanmuControlbar(e,t){let r=this;r.zwplayer&&r.zwplayer.buildDanmuControlbar(e,t)},notifyResize(e,t){let r=this;r.zwplayer&&r.zwplayer.notifyResize(e,t)},setMute(e){let t=this;t.zwplayer&&t.zwplayer.setMuted(e)},setullscr(e){let t=this;t.zwplayer&&(t.is_fullscr=e,t.zwplayer.setFullscreen(e))}},computed:{CurrentTime:function(){let e=this;return e.zwplayer?e.zwplayer.CurrentTime:-1}},render(e){let t;if(this.nodeid)t=this.nodeid;else{let e=(new Date).getTime();window.nextZWPlayerId?window.nextZWPlayerId++:window.nextZWPlayerId=1e3,t="zwplayer-"+window.nextZWPlayerId+"-"+e}let r=e("div",{class:{"zwplayer-vue":!0},attrs:{id:t}},[]);if(r){let e=this;e.playerid=t}return this.zwplayer&&this.murl!==this.old_murl&&(this.zwplayer.play(this.murl),this.old_murl=this.murl),r},mounted(){let e,t=this;e=t.zwplayerlib?t.zwplayerlib:n,t.rootElm=document.getElementById(t.playerid),t.rootElm&&(t.rootElm.style.width="100%",t.rootElm.style.height="100%",t.rootElm.style.margin="0",t.rootElm.style.padding="0"),(0,o.l)("zwplayer-core",e,(function(e){let r="";e||console.log("zwplayer_loadjs failed!"),t.murl?r=t.murl:t.videoprop&&"undefined"!==typeof t.videoprop.url&&(r=t.videoprop.url);let l="width:100%;height:100%;";t.videoprop&&"undefined"!==typeof t.videoprop.videostyle&&(l=t.videoprop.videostyle);let o={url:r,playerElm:t.rootElm,videostyle:l,reconnect:t.reconnect,autoplay:t.autoplay,muted:t.muted,controlbar:t.controlbar,useProgressTooltip:t.useProgressTooltip,onready:function(){t.$emit("onready",this)},onnetclose:function(){return t.$emit("onnetclose",this),!0},onneterror:function(){t.$emit("onneterror",this)},onmediaevent:function(e){t.$emit("onmediaevent",e,this)}},n=a;for(let a in t.$attrs)a in n&&typeof t.$attrs[a]===n[a]&&("object"===typeof t.$attrs[a]?o[a]=JSON.parse(JSON.stringify(t.$attrs[a])):o[a]=t.$attrs[a]);t.zwplayer=new window.ZWPlayer(o),o.danmuBarId&&t.zwplayer.buildDanmuControlbar(o.danmuBarId,"vue-zwp-danmubar"),t.old_murl=r}))},beforeDestroy(){let e=this;e.zwplayer&&e.zwplayer.stop()},destroyed(){let e=this;e.zwplayer&&(e.zwplayer.destroy(),delete e.zwplayer)}},u=p;function y(e,t,r,l,o,n,a,i){var s,p="function"===typeof e?e.options:e;if(t&&(p.render=t,p.staticRenderFns=r,p._compiled=!0),l&&(p.functional=!0),n&&(p._scopeId="data-v-"+n),a?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},p._ssrRegister=s):o&&(s=i?function(){o.call(this,(p.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(p.functional){p._injectStyles=s;var u=p.render;p.render=function(e,t){return s.call(t),u(e,t)}}else{var y=p.beforeCreate;p.beforeCreate=y?[].concat(y,s):[s]}return{exports:e,options:p}}var d=y(u,i,s,!1,null,null,null),w=d.exports;w.install=function(e){e.component(w.name,w),e.component("zero-web-player",w),e.component("zero-player",w),e.component("ZPlayer",w)};var c=w;const f=[c],m={install:e=>{f.forEach((t=>{t.install(e)}))}};"undefined"!==typeof window&&window.Vue&&m.install(window.Vue);const z="zwplayer/zwplayer.js?v=3.6",h=function(e){this.zwplayer=null;const t=this;(0,o.l)("zwplayer-core",z,(function(r){r?t.zwplayer=new window.ZWPlayer(e):console.log("Load zwplayer library failed.")}))};h.prototype={play(e,t,r){let l=this;e||(e=this.murl),l.zwplayer&&l.zwplayer.play(e,t,r)},stop(){let e=this;e.zwplayer&&e.zwplayer.stop()},pause(){let e=this;e.zwplayer&&e.zwplayer.pause()},resume(){let e=this;e.zwplayer&&e.zwplayer.resume()},getDuration(){let e=this;if(e.zwplayer)return e.zwplayer.getDuration()},getCurrentTime(){let e=this;if(e.zwplayer)return e.zwplayer.CurrentTime},seekTime(e){let t=this;t.zwplayer&&t.zwplayer.seekTime(e)},destroy(){let e=this;e.zwplayer&&e.zwplayer.destroy()},setplaystate(e){let t=this;t.zwplayer&&t.zwplayer.setplaystate(e)},setEnableDanmu(e){let t=this;t.zwplayer&&t.zwplayer.setEnableDanmu(e)},appendDanmu(e,t){let r=this;r.zwplayer&&r.zwplayer.appendDanmu(e,t)},setChapters(e){let t=this;t.zwplayer&&t.zwplayer.setChapters(e)},addSubtitle(e,t,r){let l=this;l.zwplayer&&l.zwplayer.addSubtitle(e,t,r)},removeSubtitle(){let e=this;e.zwplayer&&e.zwplayer.removeSubtitle()},buildDanmuControlbar(e,t){let r=this;r.zwplayer&&r.zwplayer.buildDanmuControlbar(e,t)},notifyResize(e,t){let r=this;r.zwplayer&&r.zwplayer.notifyResize(e,t)},setMute(e){let t=this;t.zwplayer&&t.zwplayer.setMuted(e)},setullscr(e){let t=this;t.zwplayer&&(t.is_fullscr=e,t.zwplayer.setFullscreen(e))},lightOff(){let e=this;e.zwplayer&&e.zwplayer.lightOff()},lightOn(){let e=this;e.zwplayer&&e.zwplayer.lightOn()},get CurrentTime(){let e=this;return e.zwplayer?e.zwplayer.CurrentTime:-1}};var b=m,v=b}(),l}()}));
|
|
1
|
+
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["zwplayervue2"]=t():e["zwplayervue2"]=t()})("undefined"!==typeof self?self:this,(function(){return function(){var e={234:function(e){const t=function(e,t,r){let l=document.getElementsByTagName("head");if(0==l.length){l=document.createElement("head");let e=document.getElementsByTagName("body");if(!(e.length>0))return alert("Invalid html document: no HEAD tag"),!1;e=e[0],document.insertBefore(l,e)}else{l=l[0];const t=l.childNodes;for(let l=0;l<t.length;l++){const o=t[l];if("SCRIPT"===o.nodeName.toUpperCase()&&o.id&&o.id==e){if("true"!=o.getAttribute("loadstate")){const t=function(){"true"!=o.getAttribute("loadstate")?setTimeout(t,50):"function"==typeof r&&r(e)};return setTimeout(t,50),!1}return"function"==typeof r&&r(e),!0}}}const o=document.createElement("script");return o.type="text/javascript",o.readyState?o.onreadystatechange=function(){"loaded"!=o.readyState&&"complete"!=o.readyState||(o.onreadystatechange=null,o.setAttribute("loadstate","true"),"function"==typeof r&&r(e))}:o.onload=function(){o.setAttribute("loadstate","true"),o.setAttribute("charset","utf-8"),"function"==typeof r&&r(e)},o.id=e,o.src=t,l.appendChild(o),!1};e.exports.l=t}},t={};function r(l){var o=t[l];if(void 0!==o)return o.exports;var n=t[l]={exports:{}};return e[l](n,n.exports,r),n.exports}!function(){r.d=function(e,t){for(var l in t)r.o(t,l)&&!r.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})}}(),function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){r.p=""}();var l={};return function(){"use strict";if(r.r(l),r.d(l,{Player:function(){return h},default:function(){return v},zwplayer:function(){return c}}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(r.p=t[1])}var o=r(234);const n="zwplayer/zwplayer.js?v=3.6",a={isLive:"boolean",useOldFlv:"boolean",useFlv:"boolean",streamtype:"string",hasAudio:"boolean",hasVideo:"boolean",xmc_url:"string",fixedControlbar:"boolean",nativecontrols:"boolean",infoButton:"boolean",speedButton:"boolean",optionButton:"boolean",snapshotButton:"boolean",chapterButton:"boolean",enableDanmu:"boolean",useProgressTooltip:"boolean",hidePlayBtn:"boolean",disablePlayBtn:"boolean",disableSeek:"boolean",disableFullscreenWin:"boolean",disablePicInPic:"boolean",disableVolumeControl:"boolean",lostFocusPause:"boolean",autoSmallWindow:"boolean",thumbnails:"object",sendDanmu:"function",danmuBarId:"string",fluid:"boolean",logo:"object"};var i,s,p={name:"ZwPlayer",data(){return{zwplayer:null,nodename:"ZwPlayer"}},props:{zwplayerlib:String,murl:String,nodeid:String,muted:Boolean,autoplay:{type:Boolean,default:!0},videoprop:Object,videostyle:String,reconnect:{type:Boolean,default:!0},controlbar:{type:Boolean,default:!0},useProgressTooltip:{type:Boolean,default:!0}},emits:["oneterror","onmediaevent","onready"],methods:{play(e,t,r){let l=this;e||(e=this.murl),l.zwplayer&&l.zwplayer.play(e,t,r)},stop(){let e=this;e.zwplayer&&e.zwplayer.stop()},pause(){let e=this;e.zwplayer&&e.zwplayer.pause()},resume(){let e=this;e.zwplayer&&e.zwplayer.resume()},getDuration(){let e=this;if(e.zwplayer)return e.zwplayer.getDuration()},getCurrentTime(){let e=this;if(e.zwplayer)return e.zwplayer.CurrentTime},seekTime(e){let t=this;t.zwplayer&&t.zwplayer.seekTime(e)},destroy(){let e=this;e.zwplayer&&e.zwplayer.destroy()},setplaystate(e){let t=this;t.zwplayer&&t.zwplayer.setplaystate(e)},setEnableDanmu(e){let t=this;t.zwplayer&&t.zwplayer.setEnableDanmu(e)},appendDanmu(e,t){let r=this;r.zwplayer&&r.zwplayer.appendDanmu(e,t)},setChapters(e){let t=this;t.zwplayer&&t.zwplayer.setChapters(e)},addSubtitle(e,t,r){let l=this;l.zwplayer&&l.zwplayer.addSubtitle(e,t,r)},removeSubtitle(){let e=this;e.zwplayer&&e.zwplayer.removeSubtitle()},buildDanmuControlbar(e,t){let r=this;r.zwplayer&&r.zwplayer.buildDanmuControlbar(e,t)},notifyResize(e,t){let r=this;r.zwplayer&&r.zwplayer.notifyResize(e,t)},setMute(e){let t=this;t.zwplayer&&t.zwplayer.setMuted(e)},setullscr(e){let t=this;t.zwplayer&&(t.is_fullscr=e,t.zwplayer.setFullscreen(e))}},computed:{CurrentTime:function(){let e=this;return e.zwplayer?e.zwplayer.CurrentTime:-1}},render(e){let t;if(this.nodeid)t=this.nodeid;else{let e=(new Date).getTime();window.nextZWPlayerId?window.nextZWPlayerId++:window.nextZWPlayerId=1e3,t="zwplayer-"+window.nextZWPlayerId+"-"+e}let r=e("div",{class:{"zwplayer-vue":!0},attrs:{id:t}},[]);if(r){let e=this;e.playerid=t}return this.zwplayer&&this.murl!==this.old_murl&&(this.zwplayer.play(this.murl),this.old_murl=this.murl),r},mounted(){let e,t=this;e=t.zwplayerlib?t.zwplayerlib:n,t.rootElm=document.getElementById(t.playerid),t.rootElm&&(t.rootElm.style.width="100%",t.rootElm.style.height="100%",t.rootElm.style.margin="0",t.rootElm.style.padding="0"),(0,o.l)("zwplayer-core",e,(function(e){let r="";e||console.log("zwplayer_loadjs failed!"),t.murl?r=t.murl:t.videoprop&&"undefined"!==typeof t.videoprop.url&&(r=t.videoprop.url);let l="width:100%;height:100%;";t.videoprop&&"undefined"!==typeof t.videoprop.videostyle&&(l=t.videoprop.videostyle);let o={url:r,playerElm:t.rootElm,videostyle:l,reconnect:t.reconnect,autoplay:t.autoplay,muted:t.muted,controlbar:t.controlbar,useProgressTooltip:t.useProgressTooltip,onready:function(){t.$emit("onready",this)},onnetclose:function(){return t.$emit("onnetclose",this),!0},onneterror:function(){t.$emit("onneterror",this)},onmediaevent:function(e){t.$emit("onmediaevent",e,this)}},n=a;for(let a in t.$attrs)a in n&&typeof t.$attrs[a]===n[a]&&("object"===typeof t.$attrs[a]?o[a]=JSON.parse(JSON.stringify(t.$attrs[a])):o[a]=t.$attrs[a]);t.zwplayer=new window.ZWPlayer(o),o.danmuBarId&&t.zwplayer.buildDanmuControlbar(o.danmuBarId,"vue-zwp-danmubar"),t.old_murl=r}))},beforeDestroy(){let e=this;e.zwplayer&&e.zwplayer.stop()},destroyed(){let e=this;e.zwplayer&&(e.zwplayer.destroy(),delete e.zwplayer)}},u=p;function y(e,t,r,l,o,n,a,i){var s,p="function"===typeof e?e.options:e;if(t&&(p.render=t,p.staticRenderFns=r,p._compiled=!0),l&&(p.functional=!0),n&&(p._scopeId="data-v-"+n),a?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},p._ssrRegister=s):o&&(s=i?function(){o.call(this,(p.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(p.functional){p._injectStyles=s;var u=p.render;p.render=function(e,t){return s.call(t),u(e,t)}}else{var y=p.beforeCreate;p.beforeCreate=y?[].concat(y,s):[s]}return{exports:e,options:p}}var d=y(u,i,s,!1,null,null,null),w=d.exports;w.install=function(e){e.component(w.name,w),e.component("zero-web-player",w),e.component("zero-player",w),e.component("ZPlayer",w)};var c=w;const f=[c],m={install:e=>{f.forEach((t=>{t.install(e)}))}};"undefined"!==typeof window&&window.Vue&&m.install(window.Vue);const z="zwplayer/zwplayer.js?v=3.6",h=function(e){this.zwplayer=null;const t=this;(0,o.l)("zwplayer-core",z,(function(r){r?t.zwplayer=new window.ZWPlayer(e):console.log("Load zwplayer library failed.")}))};h.prototype={play(e,t,r){let l=this;e||(e=this.murl),l.zwplayer&&l.zwplayer.play(e,t,r)},stop(){let e=this;e.zwplayer&&e.zwplayer.stop()},pause(){let e=this;e.zwplayer&&e.zwplayer.pause()},resume(){let e=this;e.zwplayer&&e.zwplayer.resume()},getDuration(){let e=this;if(e.zwplayer)return e.zwplayer.getDuration()},getCurrentTime(){let e=this;if(e.zwplayer)return e.zwplayer.CurrentTime},seekTime(e){let t=this;t.zwplayer&&t.zwplayer.seekTime(e)},destroy(){let e=this;e.zwplayer&&e.zwplayer.destroy()},setplaystate(e){let t=this;t.zwplayer&&t.zwplayer.setplaystate(e)},setEnableDanmu(e){let t=this;t.zwplayer&&t.zwplayer.setEnableDanmu(e)},appendDanmu(e,t){let r=this;r.zwplayer&&r.zwplayer.appendDanmu(e,t)},setChapters(e){let t=this;t.zwplayer&&t.zwplayer.setChapters(e)},addSubtitle(e,t,r){let l=this;l.zwplayer&&l.zwplayer.addSubtitle(e,t,r)},removeSubtitle(){let e=this;e.zwplayer&&e.zwplayer.removeSubtitle()},buildDanmuControlbar(e,t){let r=this;r.zwplayer&&r.zwplayer.buildDanmuControlbar(e,t)},notifyResize(e,t){let r=this;r.zwplayer&&r.zwplayer.notifyResize(e,t)},setMute(e){let t=this;t.zwplayer&&t.zwplayer.setMuted(e)},setullscr(e){let t=this;t.zwplayer&&(t.is_fullscr=e,t.zwplayer.setFullscreen(e))},lightOff(){let e=this;e.zwplayer&&e.zwplayer.lightOff()},lightOn(){let e=this;e.zwplayer&&e.zwplayer.lightOn()},get CurrentTime(){let e=this;return e.zwplayer?e.zwplayer.CurrentTime:-1}};var b=m,v=b}(),l}()}));
|
|
2
2
|
//# sourceMappingURL=zwplayervue2.umd.min.js.map
|
package/package.json
CHANGED
|
@@ -866,6 +866,8 @@
|
|
|
866
866
|
|
|
867
867
|
.zwp__time.zwp__duration-container {
|
|
868
868
|
padding-left: 0;
|
|
869
|
+
overflow: hidden;
|
|
870
|
+
white-space: nowrap;
|
|
869
871
|
}
|
|
870
872
|
|
|
871
873
|
@-webkit-keyframes buffering-stripes {
|
|
@@ -1527,6 +1529,7 @@
|
|
|
1527
1529
|
.zwp-chapterPanel {
|
|
1528
1530
|
bottom: 100%;
|
|
1529
1531
|
width: auto;
|
|
1532
|
+
min-width: 250px;
|
|
1530
1533
|
max-height: 400px;
|
|
1531
1534
|
padding-top: 36px;
|
|
1532
1535
|
}
|
|
@@ -1549,7 +1552,8 @@
|
|
|
1549
1552
|
.zwp-chapterlist li {
|
|
1550
1553
|
list-style: none;
|
|
1551
1554
|
display: flex;
|
|
1552
|
-
|
|
1555
|
+
flex-direction: column;
|
|
1556
|
+
min-height: 30px;
|
|
1553
1557
|
cursor: pointer;
|
|
1554
1558
|
border-radius: 0;
|
|
1555
1559
|
padding: 3px 10px;
|
|
@@ -1561,33 +1565,41 @@
|
|
|
1561
1565
|
color: #46abfb;
|
|
1562
1566
|
}
|
|
1563
1567
|
|
|
1564
|
-
|
|
1565
|
-
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
.zwp-chapterlist li .item-title {
|
|
1571
|
+
white-space: nowrap;
|
|
1572
|
+
overflow: hidden;
|
|
1566
1573
|
}
|
|
1567
1574
|
|
|
1568
1575
|
.zwp-chapterlist li .item-time {
|
|
1569
|
-
width: 60px;
|
|
1576
|
+
min-width: 60px;
|
|
1570
1577
|
font-size: 14px;
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1578
|
+
line-height: 22px;
|
|
1579
|
+
text-align: right;
|
|
1580
|
+
padding: 3px 10px 3px 0;
|
|
1581
|
+
padding-right: 10px;
|
|
1574
1582
|
font-weight: bold;
|
|
1575
|
-
padding-top: 2px;
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
|
-
.zwp-chapterlist li .item-content {
|
|
1579
|
-
flex-grow: 1;
|
|
1580
|
-
text-align: left;
|
|
1581
1583
|
}
|
|
1582
1584
|
|
|
1583
|
-
.zwp-chapterlist li .item-
|
|
1585
|
+
.zwp-chapterlist li .item-title .title {
|
|
1584
1586
|
font-size: 16px;
|
|
1585
1587
|
font-weight: 600;
|
|
1586
|
-
display: block;
|
|
1587
|
-
|
|
1588
|
+
display: inline-block;
|
|
1589
|
+
padding: 3px 0;
|
|
1588
1590
|
line-height: 18px;
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
+
max-height: 42px;
|
|
1592
|
+
white-space: nowrap;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
.zwp-chapterlist li:hover .title {
|
|
1596
|
+
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
.zwp-chapterlist li .item-content {
|
|
1600
|
+
flex-grow: 1;
|
|
1601
|
+
text-align: left;
|
|
1602
|
+
padding: 3px 3px 3px 10px;
|
|
1591
1603
|
}
|
|
1592
1604
|
|
|
1593
1605
|
.zwp-chapterlist li .item-content .desc {
|
|
@@ -1597,7 +1609,6 @@
|
|
|
1597
1609
|
margin-top: 0px;
|
|
1598
1610
|
display: block;
|
|
1599
1611
|
line-height: 14px;
|
|
1600
|
-
max-height: 34px;
|
|
1601
1612
|
overflow: hidden;
|
|
1602
1613
|
}
|
|
1603
1614
|
|