Skip to content

Commit 964f6b8

Browse files
Merge pull request #39 from langyuxiansheng/dev_v1.2.8
Dev v1.2.8
2 parents 6be2ffb + 361f56b commit 964f6b8

File tree

7 files changed

+175
-25
lines changed

7 files changed

+175
-25
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# vue-alipayer-v2
2-
## 感谢每一位开源的开发者. 这是一个基于Alipayer 开发并封装成vue组件的播放器.
2+
## 感谢每一位支持开源的朋友. 这是一个基于Alipayer 开发并封装成vue组件的播放器.
33
### vue中使用Alipayer,播放rtmp,m3u8,mp4视频
44
#### [本项目在线演示](https://langyuxiansheng.github.io/vue-aliplayer-v2/)
55
#### [阿里云播放器在线演示](https://player.alicdn.com/aliplayer/index.html)
@@ -422,7 +422,9 @@ npm run lint
422422
### Customize configuration
423423
See [Configuration Reference](https://cli.vuejs.org/config/).
424424

425-
## 更新日志
425+
## 更新日志
426+
427+
> v1.2.8 更换底层默认sdk版本为2.9.3 修复options 遇到 update loop 错误 感谢"litmonw"网友的反馈与建议.
426428
427429
> v1.2.7 更换底层默认sdk版本为2.9.1的版本. 更新线上演示demo的选项,感谢网友“Ghost23333”的demo
428430

examples/App.vue

+39-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div id="app">
33
<template v-if="!isShowMultiple && show">
4-
<vue-aliplayer-v2 :source="source" ref="VueAliplayerV2" :options="options" />
4+
<vue-aliplayer-v2 :source="source" ref="VueAliplayerV2" :options="options"/>
55
</template>
66
<div v-if="isShowMultiple && show" class="show-multiple">
77
<template v-for="x in 5">
@@ -59,8 +59,44 @@ export default {
5959
options: {
6060
// source:'//player.alicdn.com/video/aliyunmedia.mp4',
6161
isLive: !true, //切换为直播流的时候必填
62-
useFlashPrism: false, //指定为flash
63-
disableSeek: true //禁用进度条的Seek,默认值为false
62+
skinLayout: [
63+
{
64+
'name': 'bigPlayButton',
65+
'align': 'blabs',
66+
'x': 30,
67+
'y': 80
68+
},
69+
{
70+
'name': 'infoDisplay'
71+
},
72+
{
73+
'name': 'controlBar',
74+
'align': 'blabs',
75+
'x': 0,
76+
'y': 0,
77+
'children': [
78+
{
79+
'name': 'liveDisplay',
80+
'align': 'tlabs',
81+
'x': 15,
82+
'y': 6
83+
},
84+
{
85+
'name': 'fullScreenButton',
86+
'align': 'tr',
87+
'x': 10,
88+
'y': 10
89+
},
90+
{
91+
'name': 'volume',
92+
'align': 'tr',
93+
'x': 5,
94+
'y': 10
95+
}
96+
]
97+
}]
98+
// useFlashPrism: false, //指定为flash
99+
// disableSeek: true //禁用进度条的Seek,默认值为false
64100
},
65101
source: '//player.alicdn.com/video/aliyunmedia.mp4',
66102
// source: '//ivi.bupt.edu.cn/hls/cctv1.m3u8',

lib/vue-aliplayer-v2.common.js

+49-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/vue-aliplayer-v2.umd.js

+49-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)