zwplayer-vue2x 1.0.13 → 1.0.14

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sources/index.js +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zwplayer-vue2x",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "A fully functional and lightweight free open-source web player",
5
5
  "main": "lib/zwplayervue2.umd.min.js",
6
6
  "keyword": "zwplayervue2, zwplayer-vue2x, zero-web-player",
package/sources/index.js CHANGED
@@ -20,7 +20,14 @@ if (typeof window !== 'undefined' && window.Vue) {
20
20
  const zwplayer_js_def = 'zwplayer/zwplayer.js?v=3.6';
21
21
 
22
22
  const Player = function(param) {
23
- console.log('Player param');
23
+ zwplayer_loadjs('zwplayer-core', zwplayer_js_def, function(jsid) {
24
+ if (jsid) {
25
+ console.log('Player param zwplayer_loadjs:', jsid);;
26
+ }
27
+ else {
28
+ console.log('Load zwplayer library failed.');
29
+ }
30
+ });
24
31
  };
25
32
  /*
26
33
  if (typeof window.ZWPlayer === 'undefined') {