mirror of
https://github.com/langyuxiansheng/vue-aliplayer-v2.git
synced 2025-04-06 03:57:55 +08:00
更新lib包
This commit is contained in:
parent
32f9b7ddc0
commit
100c2e4443
@ -142,12 +142,12 @@ if (typeof window !== 'undefined') {
|
|||||||
// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.function.name.js
|
// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.function.name.js
|
||||||
var es6_function_name = __webpack_require__("7cfd");
|
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=69b09acf&
|
// 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=2633e826&
|
||||||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.id}})}
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.id}})}
|
||||||
var staticRenderFns = []
|
var staticRenderFns = []
|
||||||
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=69b09acf&
|
// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=2633e826&
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/web.dom.iterable.js
|
// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/web.dom.iterable.js
|
||||||
var web_dom_iterable = __webpack_require__("4634");
|
var web_dom_iterable = __webpack_require__("4634");
|
||||||
@ -168,6 +168,14 @@ var web_dom_iterable = __webpack_require__("4634");
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
source: {
|
||||||
|
//播放源(此属性存在则优先于options.source) 动态切换,目前只支持同种格式(mp4/flv/m3u8)之间切换。暂不支持直播rtmp流切换。
|
||||||
|
required: false,
|
||||||
|
type: [Object],
|
||||||
|
default: function _default() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
},
|
||||||
id: {
|
id: {
|
||||||
required: false,
|
required: false,
|
||||||
type: [String],
|
type: [String],
|
||||||
@ -280,6 +288,12 @@ var web_dom_iterable = __webpack_require__("4634");
|
|||||||
'completeSeek']
|
'completeSeek']
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
source: function source(url) {
|
||||||
|
//监听播放源变化
|
||||||
|
this.loadByUrl(url);
|
||||||
|
}
|
||||||
|
},
|
||||||
mounted: function mounted() {
|
mounted: function mounted() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
@ -352,6 +366,8 @@ var web_dom_iterable = __webpack_require__("4634");
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.source) this.config.source = this.source; //播放源
|
||||||
|
|
||||||
this.config.id = this.id; // this.player = new Aliplayer(this.config, function(player) {
|
this.config.id = this.id; // this.player = new Aliplayer(this.config, function(player) {
|
||||||
// // console.log('播放器创建好了',player);
|
// // console.log('播放器创建好了',player);
|
||||||
// });
|
// });
|
||||||
@ -815,7 +831,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|||||||
/* harmony default export */ var packages_0 = ({
|
/* harmony default export */ var packages_0 = ({
|
||||||
// 导出的对象必须具备一个 install 方法
|
// 导出的对象必须具备一个 install 方法
|
||||||
install: install,
|
install: install,
|
||||||
VueAliplayerV2: AliplayerV2 // 组件列表
|
Player: AliplayerV2 // 组件列表
|
||||||
|
|
||||||
});
|
});
|
||||||
// CONCATENATED MODULE: ./node_modules/_@vue_cli-service@3.12.1@@vue/cli-service/lib/commands/build/entry-lib.js
|
// CONCATENATED MODULE: ./node_modules/_@vue_cli-service@3.12.1@@vue/cli-service/lib/commands/build/entry-lib.js
|
||||||
|
@ -151,12 +151,12 @@ if (typeof window !== 'undefined') {
|
|||||||
// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.function.name.js
|
// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.function.name.js
|
||||||
var es6_function_name = __webpack_require__("7cfd");
|
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=69b09acf&
|
// 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=2633e826&
|
||||||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.id}})}
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.id}})}
|
||||||
var staticRenderFns = []
|
var staticRenderFns = []
|
||||||
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=69b09acf&
|
// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=2633e826&
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/web.dom.iterable.js
|
// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/web.dom.iterable.js
|
||||||
var web_dom_iterable = __webpack_require__("4634");
|
var web_dom_iterable = __webpack_require__("4634");
|
||||||
@ -177,6 +177,14 @@ var web_dom_iterable = __webpack_require__("4634");
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
source: {
|
||||||
|
//播放源(此属性存在则优先于options.source) 动态切换,目前只支持同种格式(mp4/flv/m3u8)之间切换。暂不支持直播rtmp流切换。
|
||||||
|
required: false,
|
||||||
|
type: [Object],
|
||||||
|
default: function _default() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
},
|
||||||
id: {
|
id: {
|
||||||
required: false,
|
required: false,
|
||||||
type: [String],
|
type: [String],
|
||||||
@ -289,6 +297,12 @@ var web_dom_iterable = __webpack_require__("4634");
|
|||||||
'completeSeek']
|
'completeSeek']
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
source: function source(url) {
|
||||||
|
//监听播放源变化
|
||||||
|
this.loadByUrl(url);
|
||||||
|
}
|
||||||
|
},
|
||||||
mounted: function mounted() {
|
mounted: function mounted() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
@ -361,6 +375,8 @@ var web_dom_iterable = __webpack_require__("4634");
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.source) this.config.source = this.source; //播放源
|
||||||
|
|
||||||
this.config.id = this.id; // this.player = new Aliplayer(this.config, function(player) {
|
this.config.id = this.id; // this.player = new Aliplayer(this.config, function(player) {
|
||||||
// // console.log('播放器创建好了',player);
|
// // console.log('播放器创建好了',player);
|
||||||
// });
|
// });
|
||||||
@ -824,7 +840,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|||||||
/* harmony default export */ var packages_0 = ({
|
/* harmony default export */ var packages_0 = ({
|
||||||
// 导出的对象必须具备一个 install 方法
|
// 导出的对象必须具备一个 install 方法
|
||||||
install: install,
|
install: install,
|
||||||
VueAliplayerV2: AliplayerV2 // 组件列表
|
Player: AliplayerV2 // 组件列表
|
||||||
|
|
||||||
});
|
});
|
||||||
// CONCATENATED MODULE: ./node_modules/_@vue_cli-service@3.12.1@@vue/cli-service/lib/commands/build/entry-lib.js
|
// CONCATENATED MODULE: ./node_modules/_@vue_cli-service@3.12.1@@vue/cli-service/lib/commands/build/entry-lib.js
|
||||||
|
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
9
t.sh
9
t.sh
@ -1,15 +1,20 @@
|
|||||||
|
echo "打包 => dist";
|
||||||
|
|
||||||
# 打包 => dist
|
# 打包 => dist
|
||||||
npm run build;
|
npm run build;
|
||||||
|
|
||||||
|
echo "打包 插件lib";
|
||||||
|
|
||||||
# 打包 插件
|
# 打包 插件
|
||||||
npm run lib;
|
npm run lib;
|
||||||
|
|
||||||
#推送到npmjs
|
echo "推送到npmjs";
|
||||||
|
|
||||||
|
#推送到npmjs
|
||||||
npm publish;
|
npm publish;
|
||||||
|
|
||||||
# 更新gh-pages
|
# 更新gh-pages
|
||||||
|
echo "更新gh-pages";
|
||||||
|
|
||||||
git branch -D gh-pages;
|
git branch -D gh-pages;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user