From 7c3b992bf6a28658789cd8bc73dc3f607e60c1b3 Mon Sep 17 00:00:00 2001 From: zhouliujun <1096432931@qq.com> Date: Thu, 9 Jul 2020 11:31:44 +0800 Subject: [PATCH 01/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa8ee3b..9bbcd68 100644 --- a/README.md +++ b/README.md @@ -378,7 +378,7 @@ See [Configuration Reference](https://cli.vuejs.org/config/). ## 更新日志 -> v1.2.1 修复指定id情况下,播放器报错"没有为播放器指定容器",目前移除外部指定id的方式,所有的播放器id都由内部生成,不再由外部指定容器(外部指定的意义并不大), 感谢"liyoro"的反馈和建议. +> v1.2.2 修复指定id情况下,播放器报错"没有为播放器指定容器",目前移除外部指定id的方式,所有的播放器id都由内部生成,不再由外部指定容器(外部指定的意义并不大),其它的说明:更新1.2.1后报错Uncaught TypeError: 没有为播放器指定容器,因为源码中变更了部分代码,以及最大限度的简化代码,组件内部的根容器就只有一个div容器,导致以前外部指定id的时候,容器id与外部的不一致,导致抛出异常了,现在已经紧急修复了,若在使用,请更新到v1.2.2的版本;如果使用了外部指定id的方式请移除外部的id.否则id会出现重复的情况., 感谢"liyoro"的反馈和建议. > v1.2.1 修复直播播放的情况下,播放器已经销毁,而后台还在继续下载资源造成卡顿的bug,修复多个播放器只渲染1个的bug, 感谢"Jonauil"和"guangming95"两位网友的反馈和建议. From 6184af2397c5d43d6965135b37d4fbd54cbb7bce Mon Sep 17 00:00:00 2001 From: zhouliujun <1096432931@qq.com> Date: Mon, 28 Sep 2020 09:51:26 +0800 Subject: [PATCH 02/22] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=92=AD=E6=94=BE?= =?UTF-8?q?=E5=99=A8=E7=9A=84=E5=88=9D=E5=A7=8B=E5=8C=96=E4=BB=A3=E7=A0=81?= =?UTF-8?q?,=E8=B0=83=E6=95=B4=E5=8C=85=E5=86=85=E7=BB=93=E6=9E=84,?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=B1=80=E9=83=A8=E7=BB=84=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E6=96=B9=E5=BC=8F,=E4=B9=9F=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E8=80=81=E7=89=88=E6=9C=AC=E7=9A=84=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E6=96=B9=E5=BC=8F.=E6=96=87=E6=A1=A3=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 23 ++++++- examples/App.vue | 2 +- lib/vue-aliplayer-v2.common.js | 61 +++++-------------- lib/vue-aliplayer-v2.umd.js | 61 +++++-------------- lib/vue-aliplayer-v2.umd.min.js | 4 +- package.json | 2 +- packages/AliplayerV2/index.js | 7 --- .../AliplayerV2/{src/main.vue => index.vue} | 3 - packages/index.js | 26 ++------ t.sh | 25 +++----- 10 files changed, 71 insertions(+), 143 deletions(-) delete mode 100644 packages/AliplayerV2/index.js rename packages/AliplayerV2/{src/main.vue => index.vue} (99%) diff --git a/README.md b/README.md index 9bbcd68..f87abf5 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,14 @@ Vue.use(VueAliplayerV2); #### 局部注册 App.vue ```javascript + +//推荐第一种(仅v1.2.3)及以上的版本可用 import VueAliplayerV2 from 'vue-aliplayer-v2'; +components:{ VueAliplayerV2 } + +//或者 components:{ VueAliplayerV2: VueAliplayerV2.Player } + ``` ## 2.组件中使用 @@ -65,7 +71,7 @@ components:{ VueAliplayerV2: VueAliplayerV2.Player } From b864b31980ee2a84e1fe2b00c25bcf5343f5734a Mon Sep 17 00:00:00 2001 From: zhouliujun <1096432931@qq.com> Date: Wed, 2 Dec 2020 11:11:36 +0800 Subject: [PATCH 11/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ examples/App.vue | 23 +++++++++++++++++++---- package.json | 6 +++--- packages/AliplayerV2/index.vue | 4 ++-- 4 files changed, 26 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 86f41ae..ef6e792 100644 --- a/README.md +++ b/README.md @@ -412,6 +412,8 @@ See [Configuration Reference](https://cli.vuejs.org/config/). ## 更新日志 +> v1.2.7 更换底层默认sdk版本为2.9.1的版本. + > v1.2.6 优化beforeDestroy() 部分的代码. > v1.2.5 更换默认的播放器SDK版本2.8.2 => 2.9.0,2.8.2的版本存在多个播放器同时播放直播流异常的bug,增加了全局SDK版本配置,可以在Vue.use()的时候进行配置. diff --git a/examples/App.vue b/examples/App.vue index 95dcbfc..04a4574 100644 --- a/examples/App.vue +++ b/examples/App.vue @@ -34,6 +34,20 @@ 输入播放源(支持动态切换): +
+ 指定为flash: + +
+
+ 禁止用户拖动(仅flash有效): + +
From bee90e339ba1727007c83a44ee6f97584dfa5138 Mon Sep 17 00:00:00 2001 From: langyuxiansheng Date: Sun, 3 Jan 2021 11:17:07 +0800 Subject: [PATCH 15/22] Update README.md --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6773e8e..b08ded4 100644 --- a/README.md +++ b/README.md @@ -424,7 +424,7 @@ See [Configuration Reference](https://cli.vuejs.org/config/). ## 更新日志 -> v1.2.7 更换底层默认sdk版本为2.9.1的版本. 更新线上演示demo的选项 +> v1.2.7 更换底层默认sdk版本为2.9.1的版本. 更新线上演示demo的选项,感谢网友“Ghost23333”的demo > v1.2.6 优化beforeDestroy() 部分的代码. @@ -460,4 +460,18 @@ See [Configuration Reference](https://cli.vuejs.org/config/). -开启了屏幕锁定,只要上拉控制中心,点击屏幕锁定关闭就可以了! --也可能是播放器或者浏览器兼容性问题. \ No newline at end of file +-也可能是播放器或者浏览器兼容性问题. + +2. 关于直播视频切换的问题,可以参考: +```javascript + watch: { + source: { + handler() { + this.show = !this.show + setTimeout(()=>{ //直播视频切换的问题,设置延迟执行 + this.show = !this.show + },1); + } + } +} +``` From 6be2ffb5d4cee0a914f8daa199e323355bd162d2 Mon Sep 17 00:00:00 2001 From: langyuxiansheng Date: Sun, 3 Jan 2021 11:17:38 +0800 Subject: [PATCH 16/22] Update README.md From d3156070ebf2504c9eb03a6d7ecb5d2ad42fac9f Mon Sep 17 00:00:00 2001 From: zhouliujun <1096432931@qq.com> Date: Wed, 13 Jan 2021 16:35:19 +0800 Subject: [PATCH 17/22] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 73509cc..8ddc940 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # vue-alipayer-v2 -## 感谢每一位开源的开发者. 这是一个基于Alipayer 开发并封装成vue组件的播放器. +## 感谢每一位支持开源的朋友. 这是一个基于Alipayer 开发并封装成vue组件的播放器. ### vue中使用Alipayer,播放rtmp,m3u8,mp4视频 #### [本项目在线演示](https://langyuxiansheng.github.io/vue-aliplayer-v2/) #### [阿里云播放器在线演示](https://player.alicdn.com/aliplayer/index.html) @@ -412,6 +412,8 @@ See [Configuration Reference](https://cli.vuejs.org/config/). ## 更新日志 +> v1.2.8 + > v1.2.7 更换底层默认sdk版本为2.9.1的版本. 更新线上演示demo的选项 > v1.2.6 优化beforeDestroy() 部分的代码. diff --git a/package.json b/package.json index e169bbc..bd205f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-aliplayer-v2", - "version": "1.2.7", + "version": "1.2.8", "author": "yxs", "description": "感谢每一位支持开源的朋友. 这是一个基于Alipayer 开发并封装成vue组件的集成播放器.可播放rtmp,m3u8,mp4....视频.除支持直播流与点播的基础功能外,也支持视频的加密播放、清晰度切换、直播时移等业务场景", "main": "lib/vue-aliplayer-v2.umd.min.js", From 023de1ad31c5b3f958ddb49f24f50f7503f9ee51 Mon Sep 17 00:00:00 2001 From: zhouliujun <1096432931@qq.com> Date: Wed, 13 Jan 2021 17:18:57 +0800 Subject: [PATCH 18/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=92=8C=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- examples/App.vue | 42 +++++++++++++++++++++++++++++++--- packages/AliplayerV2/index.vue | 38 +++++++++++++++++++++++++----- 3 files changed, 73 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 8ddc940..0e21016 100644 --- a/README.md +++ b/README.md @@ -410,9 +410,9 @@ npm run lint ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). -## 更新日志 +## 更新日志 -> v1.2.8 +> v1.2.8 更换底层默认sdk版本为2.9.3 修复options 遇到 update loop 错误 感谢"litmonw"网友的反馈与建议. > v1.2.7 更换底层默认sdk版本为2.9.1的版本. 更新线上演示demo的选项 diff --git a/examples/App.vue b/examples/App.vue index 04a4574..104e82f 100644 --- a/examples/App.vue +++ b/examples/App.vue @@ -1,7 +1,7 @@