mirror of
https://github.com/langyuxiansheng/vue-aliplayer-v2.git
synced 2025-04-05 19:41:39 +08:00
更新包
This commit is contained in:
parent
2a8be784c4
commit
be18fcfe60
@ -142,12 +142,12 @@ if (typeof window !== 'undefined') {
|
||||
// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.function.name.js
|
||||
var es6_function_name = __webpack_require__("7cfd");
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"05d0d90a-vue-loader-template"}!./node_modules/_vue-loader@15.7.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=f75253da&
|
||||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.config.id}})}
|
||||
// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"05d0d90a-vue-loader-template"}!./node_modules/_vue-loader@15.7.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=12592c3a&
|
||||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.playerId}})}
|
||||
var staticRenderFns = []
|
||||
|
||||
|
||||
// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=f75253da&
|
||||
// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=12592c3a&
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/web.dom.iterable.js
|
||||
var web_dom_iterable = __webpack_require__("4634");
|
||||
@ -178,11 +178,11 @@ var es6_regexp_to_string = __webpack_require__("cc1d");
|
||||
type: [String],
|
||||
default: null
|
||||
},
|
||||
id: {
|
||||
required: false,
|
||||
type: [String],
|
||||
default: null
|
||||
},
|
||||
// id:{
|
||||
// required: false,
|
||||
// type: [String],
|
||||
// default: null
|
||||
// },
|
||||
cssLink: {
|
||||
//css版本源
|
||||
required: false,
|
||||
@ -200,8 +200,9 @@ var es6_regexp_to_string = __webpack_require__("cc1d");
|
||||
return {
|
||||
player: null,
|
||||
//播放器实例
|
||||
playerId: "player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase()),
|
||||
config: {
|
||||
id: "player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase()),
|
||||
id: null,
|
||||
//播放器的ID
|
||||
width: '100%',
|
||||
autoplay: true // isLive: true,
|
||||
@ -380,7 +381,8 @@ var es6_regexp_to_string = __webpack_require__("cc1d");
|
||||
|
||||
if (this.source) this.config.source = this.source; //播放源
|
||||
|
||||
if (this.id) this.config.id = this.id;
|
||||
this.config.id = this.playerId; //赋值播放器容器id
|
||||
|
||||
this.player && this.player.dispose(); //防止实例的重复
|
||||
|
||||
this.player = Aliplayer(this.config);
|
||||
|
@ -151,12 +151,12 @@ if (typeof window !== 'undefined') {
|
||||
// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.function.name.js
|
||||
var es6_function_name = __webpack_require__("7cfd");
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"05d0d90a-vue-loader-template"}!./node_modules/_vue-loader@15.7.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=f75253da&
|
||||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.config.id}})}
|
||||
// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"05d0d90a-vue-loader-template"}!./node_modules/_vue-loader@15.7.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=12592c3a&
|
||||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.playerId}})}
|
||||
var staticRenderFns = []
|
||||
|
||||
|
||||
// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=f75253da&
|
||||
// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=12592c3a&
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/web.dom.iterable.js
|
||||
var web_dom_iterable = __webpack_require__("4634");
|
||||
@ -187,11 +187,11 @@ var es6_regexp_to_string = __webpack_require__("cc1d");
|
||||
type: [String],
|
||||
default: null
|
||||
},
|
||||
id: {
|
||||
required: false,
|
||||
type: [String],
|
||||
default: null
|
||||
},
|
||||
// id:{
|
||||
// required: false,
|
||||
// type: [String],
|
||||
// default: null
|
||||
// },
|
||||
cssLink: {
|
||||
//css版本源
|
||||
required: false,
|
||||
@ -209,8 +209,9 @@ var es6_regexp_to_string = __webpack_require__("cc1d");
|
||||
return {
|
||||
player: null,
|
||||
//播放器实例
|
||||
playerId: "player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase()),
|
||||
config: {
|
||||
id: "player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase()),
|
||||
id: null,
|
||||
//播放器的ID
|
||||
width: '100%',
|
||||
autoplay: true // isLive: true,
|
||||
@ -389,7 +390,8 @@ var es6_regexp_to_string = __webpack_require__("cc1d");
|
||||
|
||||
if (this.source) this.config.source = this.source; //播放源
|
||||
|
||||
// if (this.id) this.config.id = this.id;
|
||||
this.config.id = this.playerId; //赋值播放器容器id
|
||||
|
||||
this.player && this.player.dispose(); //防止实例的重复
|
||||
|
||||
this.player = Aliplayer(this.config);
|
||||
@ -697,7 +699,7 @@ var es6_regexp_to_string = __webpack_require__("cc1d");
|
||||
}
|
||||
});
|
||||
// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js&
|
||||
/* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_);
|
||||
/* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_);
|
||||
// CONCATENATED MODULE: ./node_modules/_vue-loader@15.7.2@vue-loader/lib/runtime/componentNormalizer.js
|
||||
/* globals __VUE_SSR_CONTEXT__ */
|
||||
|
||||
@ -809,7 +811,7 @@ var component = normalizeComponent(
|
||||
null,
|
||||
null,
|
||||
null
|
||||
|
||||
|
||||
)
|
||||
|
||||
/* harmony default export */ var main = (component.exports);
|
||||
@ -1872,4 +1874,4 @@ module.exports = !__webpack_require__("0cc1")(function () {
|
||||
|
||||
/******/ });
|
||||
});
|
||||
//# sourceMappingURL=vue-aliplayer-v2.umd.js.map
|
||||
//# sourceMappingURL=vue-aliplayer-v2.umd.js.map
|
2
lib/vue-aliplayer-v2.umd.min.js
vendored
2
lib/vue-aliplayer-v2.umd.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user