vhall-mini-sdk 0.1.0 → 0.1.2
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.
- package/lib/components/chat/chat-edit/chat-edit.js +7 -4
- package/lib/components/chat/chat-list/chat-list.js +1 -1
- package/lib/components/live-landscape/live-landscape.js +11 -7
- package/lib/components/live-landscape/live-landscape.wxml +2 -2
- package/lib/components/live-portrait/live-portrait.js +11 -7
- package/lib/components/live-portrait/live-portrait.wxml +3 -3
- package/lib/components/live-portrait/live-portrait.wxss +1 -1
- package/lib/components/lottery/lottery.wxml +2 -2
- package/lib/components/player/components/online-hot/index.js +2 -2
- package/lib/components/player/extensions/observers.js +5 -5
- package/lib/components/player/player.js +5 -0
- package/lib/components/player/player.wxml +3 -3
- package/lib/components/product/product-list/product-list.wxml +3 -11
- package/lib/components/signin/signin-dialog.js +1 -0
- package/lib/sdk/main/index.js +2 -1
- package/lib/sdk/player/index.js +1 -1
- package/lib/sdk/plugins/InviteCardServer.js +1 -1
- package/lib/sdk/plugins/MallRewardServer.js +1 -1
- package/lib/sdk/plugins/ProductServer.js +1 -1
- package/lib/shared/RequestUtil.js +1 -1
- package/lib/shared/logger.js +1 -1
- package/package.json +2 -4
- package/postinstall.js +21 -51
- package/dist/components/chat/chat-edit/chat-edit.js +0 -127
- package/dist/components/chat/chat-edit/chat-edit.json +0 -4
- package/dist/components/chat/chat-edit/chat-edit.wxml +0 -7
- package/dist/components/chat/chat-edit/chat-edit.wxss +0 -1
- package/dist/components/chat/chat-item/chat-item.js +0 -253
- package/dist/components/chat/chat-item/chat-item.json +0 -3
- package/dist/components/chat/chat-item/chat-item.wxml +0 -96
- package/dist/components/chat/chat-item/chat-item.wxss +0 -1
- package/dist/components/chat/chat-list/chat-list.js +0 -216
- package/dist/components/chat/chat-list/chat-list.json +0 -6
- package/dist/components/chat/chat-list/chat-list.wxml +0 -9
- package/dist/components/chat/chat-list/chat-list.wxss +0 -1
- package/dist/components/chat/chat.js +0 -98
- package/dist/components/chat/chat.json +0 -7
- package/dist/components/chat/chat.wxml +0 -7
- package/dist/components/chat/chat.wxss +0 -1
- package/dist/components/gift/gift-display/gift-display.js +0 -118
- package/dist/components/gift/gift-display/gift-display.json +0 -3
- package/dist/components/gift/gift-display/gift-display.wxml +0 -16
- package/dist/components/gift/gift-display/gift-display.wxss +0 -1
- package/dist/components/gift/gift-sender/gift-sender.js +0 -63
- package/dist/components/gift/gift-sender/gift-sender.json +0 -6
- package/dist/components/gift/gift-sender/gift-sender.wxml +0 -19
- package/dist/components/gift/gift-sender/gift-sender.wxss +0 -1
- package/dist/components/introduction/introduction.js +0 -43
- package/dist/components/introduction/introduction.json +0 -3
- package/dist/components/introduction/introduction.wxml +0 -8
- package/dist/components/introduction/introduction.wxss +0 -1
- package/dist/components/invite-rank/img/bronze.png +0 -0
- package/dist/components/invite-rank/img/gold.png +0 -0
- package/dist/components/invite-rank/img/silver.png +0 -0
- package/dist/components/invite-rank/index.js +0 -135
- package/dist/components/invite-rank/index.json +0 -8
- package/dist/components/invite-rank/index.wxml +0 -42
- package/dist/components/invite-rank/index.wxss +0 -1
- package/dist/components/invite-rank/invite-rank-item.js +0 -12
- package/dist/components/invite-rank/invite-rank-item.json +0 -4
- package/dist/components/invite-rank/invite-rank-item.wxml +0 -21
- package/dist/components/invite-rank/invite-rank-item.wxss +0 -1
- package/dist/components/invite-rank/my-invite-detail.js +0 -82
- package/dist/components/invite-rank/my-invite-detail.json +0 -7
- package/dist/components/invite-rank/my-invite-detail.wxml +0 -27
- package/dist/components/invite-rank/my-invite-detail.wxss +0 -1
- package/dist/components/invite-rank/util.wxs +0 -21
- package/dist/components/live-landscape/live-landscape.js +0 -216
- package/dist/components/live-landscape/live-landscape.json +0 -39
- package/dist/components/live-landscape/live-landscape.wxml +0 -73
- package/dist/components/live-landscape/live-landscape.wxss +0 -1
- package/dist/components/live-portrait/live-portrait.js +0 -274
- package/dist/components/live-portrait/live-portrait.json +0 -38
- package/dist/components/live-portrait/live-portrait.wxml +0 -106
- package/dist/components/live-portrait/live-portrait.wxss +0 -1
- package/dist/components/lottery/lottery-accept/index.js +0 -249
- package/dist/components/lottery/lottery-accept/index.json +0 -4
- package/dist/components/lottery/lottery-accept/index.wxml +0 -49
- package/dist/components/lottery/lottery-accept/index.wxss +0 -1
- package/dist/components/lottery/lottery-history/index.js +0 -36
- package/dist/components/lottery/lottery-history/index.json +0 -3
- package/dist/components/lottery/lottery-history/index.wxml +0 -28
- package/dist/components/lottery/lottery-history/index.wxss +0 -1
- package/dist/components/lottery/lottery-shake/lottery-shake.js +0 -328
- package/dist/components/lottery/lottery-shake/lottery-shake.json +0 -1
- package/dist/components/lottery/lottery-shake/lottery-shake.wxml +0 -52
- package/dist/components/lottery/lottery-shake/lottery-shake.wxss +0 -1
- package/dist/components/lottery/lottery-slot/lottery-slot.js +0 -230
- package/dist/components/lottery/lottery-slot/lottery-slot.json +0 -1
- package/dist/components/lottery/lottery-slot/lottery-slot.wxml +0 -62
- package/dist/components/lottery/lottery-slot/lottery-slot.wxss +0 -1
- package/dist/components/lottery/lottery-wheel/lottery-wheel.js +0 -153
- package/dist/components/lottery/lottery-wheel/lottery-wheel.json +0 -4
- package/dist/components/lottery/lottery-wheel/lottery-wheel.wxml +0 -91
- package/dist/components/lottery/lottery-wheel/lottery-wheel.wxss +0 -1
- package/dist/components/lottery/lottery-winners/index.js +0 -101
- package/dist/components/lottery/lottery-winners/index.json +0 -4
- package/dist/components/lottery/lottery-winners/index.wxml +0 -39
- package/dist/components/lottery/lottery-winners/index.wxss +0 -1
- package/dist/components/lottery/lottery.js +0 -388
- package/dist/components/lottery/lottery.json +0 -11
- package/dist/components/lottery/lottery.wxml +0 -78
- package/dist/components/lottery/lottery.wxss +0 -1
- package/dist/components/lottery/wheel.json +0 -49
- package/dist/components/mall-reward/common/reward-card.wxss +0 -0
- package/dist/components/mall-reward/duration-icon/index.js +0 -101
- package/dist/components/mall-reward/duration-icon/index.json +0 -3
- package/dist/components/mall-reward/duration-icon/index.wxml +0 -7
- package/dist/components/mall-reward/duration-icon/index.wxss +0 -1
- package/dist/components/mall-reward/f-count-down/index.js +0 -61
- package/dist/components/mall-reward/f-count-down/index.json +0 -3
- package/dist/components/mall-reward/f-count-down/index.wxml +0 -9
- package/dist/components/mall-reward/f-count-down/index.wxss +0 -1
- package/dist/components/mall-reward/f-empty/index.js +0 -11
- package/dist/components/mall-reward/f-empty/index.json +0 -3
- package/dist/components/mall-reward/f-empty/index.wxml +0 -8
- package/dist/components/mall-reward/f-empty/index.wxss +0 -1
- package/dist/components/mall-reward/f-history/index.js +0 -84
- package/dist/components/mall-reward/f-history/index.json +0 -4
- package/dist/components/mall-reward/f-history/index.wxml +0 -38
- package/dist/components/mall-reward/f-history/index.wxss +0 -1
- package/dist/components/mall-reward/f-open/index.js +0 -36
- package/dist/components/mall-reward/f-open/index.json +0 -3
- package/dist/components/mall-reward/f-open/index.wxml +0 -10
- package/dist/components/mall-reward/f-open/index.wxss +0 -1
- package/dist/components/mall-reward/f-receive/index.js +0 -36
- package/dist/components/mall-reward/f-receive/index.json +0 -3
- package/dist/components/mall-reward/f-receive/index.wxml +0 -9
- package/dist/components/mall-reward/f-receive/index.wxss +0 -1
- package/dist/components/mall-reward/index.js +0 -374
- package/dist/components/mall-reward/index.json +0 -8
- package/dist/components/mall-reward/index.wxml +0 -4
- package/dist/components/mall-reward/index.wxss +0 -0
- package/dist/components/mall-reward/main-popup/index.js +0 -46
- package/dist/components/mall-reward/main-popup/index.json +0 -12
- package/dist/components/mall-reward/main-popup/index.wxml +0 -16
- package/dist/components/mall-reward/main-popup/index.wxss +0 -1
- package/dist/components/player/assets/image/arrow-left.png +0 -0
- package/dist/components/player/assets/image/arrow-right.png +0 -0
- package/dist/components/player/assets/image/enterFullScreen.png +0 -0
- package/dist/components/player/assets/image/exitFullScreen.png +0 -0
- package/dist/components/player/assets/image/fullscreen_1.png +0 -0
- package/dist/components/player/assets/image/fullscreen_2.png +0 -0
- package/dist/components/player/assets/image/pause.png +0 -0
- package/dist/components/player/assets/image/pause_1.png +0 -0
- package/dist/components/player/assets/image/play.png +0 -0
- package/dist/components/player/assets/image/play_1.png +0 -0
- package/dist/components/player/assets/image/refresh.png +0 -0
- package/dist/components/player/assets/image/refresh_1.png +0 -0
- package/dist/components/player/assets/image/subtitle_close.png +0 -0
- package/dist/components/player/assets/image/subtitle_default.png +0 -0
- package/dist/components/player/assets/image/volume-off.png +0 -0
- package/dist/components/player/assets/image/volume-on.png +0 -0
- package/dist/components/player/common/config.js +0 -7
- package/dist/components/player/common/veComponent.js +0 -4
- package/dist/components/player/components/barrage/barrage-canvas.js +0 -488
- package/dist/components/player/components/barrage/barrage-dom.js +0 -471
- package/dist/components/player/components/barrage/index.js +0 -62
- package/dist/components/player/components/barrage/index.json +0 -4
- package/dist/components/player/components/barrage/index.wxml +0 -39
- package/dist/components/player/components/barrage/index.wxss +0 -1
- package/dist/components/player/components/barrage/utils.js +0 -71
- package/dist/components/player/components/controls/controls.js +0 -93
- package/dist/components/player/components/controls/controls.json +0 -6
- package/dist/components/player/components/controls/controls.wxml +0 -60
- package/dist/components/player/components/controls/controls.wxss +0 -1
- package/dist/components/player/components/danmaku/danmaku.js +0 -23
- package/dist/components/player/components/danmaku/danmaku.json +0 -4
- package/dist/components/player/components/danmaku/danmaku.wxml +0 -1
- package/dist/components/player/components/danmaku/danmaku.wxss +0 -0
- package/dist/components/player/components/error/error.js +0 -15
- package/dist/components/player/components/error/error.json +0 -3
- package/dist/components/player/components/error/error.wxml +0 -6
- package/dist/components/player/components/error/error.wxss +0 -1
- package/dist/components/player/components/loading/loading.js +0 -9
- package/dist/components/player/components/loading/loading.json +0 -3
- package/dist/components/player/components/loading/loading.wxml +0 -4
- package/dist/components/player/components/loading/loading.wxss +0 -1
- package/dist/components/player/components/main/extensions/data.js +0 -8
- package/dist/components/player/components/main/extensions/export.js +0 -83
- package/dist/components/player/components/main/extensions/methods.js +0 -110
- package/dist/components/player/components/main/extensions/observers.js +0 -41
- package/dist/components/player/components/main/extensions/props.js +0 -177
- package/dist/components/player/components/main/index.js +0 -44
- package/dist/components/player/components/main/index.json +0 -4
- package/dist/components/player/components/main/index.wxml +0 -7
- package/dist/components/player/components/main/index.wxss +0 -1
- package/dist/components/player/components/marquee/marquee.js +0 -304
- package/dist/components/player/components/marquee/marquee.json +0 -4
- package/dist/components/player/components/marquee/marquee.wxml +0 -14
- package/dist/components/player/components/marquee/marquee.wxss +0 -1
- package/dist/components/player/components/online-hot/assets/line-hot.png +0 -0
- package/dist/components/player/components/online-hot/assets/line-user.png +0 -0
- package/dist/components/player/components/online-hot/index.js +0 -66
- package/dist/components/player/components/online-hot/index.json +0 -3
- package/dist/components/player/components/online-hot/index.wxml +0 -15
- package/dist/components/player/components/online-hot/index.wxss +0 -1
- package/dist/components/player/components/poster/poster.js +0 -12
- package/dist/components/player/components/poster/poster.json +0 -3
- package/dist/components/player/components/poster/poster.wxml +0 -5
- package/dist/components/player/components/poster/poster.wxss +0 -1
- package/dist/components/player/components/watermark/watermark.js +0 -52
- package/dist/components/player/components/watermark/watermark.json +0 -4
- package/dist/components/player/components/watermark/watermark.wxml +0 -8
- package/dist/components/player/components/watermark/watermark.wxss +0 -1
- package/dist/components/player/extensions/data.js +0 -63
- package/dist/components/player/extensions/export.js +0 -325
- package/dist/components/player/extensions/methods.js +0 -406
- package/dist/components/player/extensions/observers.js +0 -114
- package/dist/components/player/extensions/props.js +0 -162
- package/dist/components/player/player.js +0 -83
- package/dist/components/player/player.json +0 -33
- package/dist/components/player/player.wxml +0 -48
- package/dist/components/player/player.wxss +0 -1
- package/dist/components/praise/praise.js +0 -150
- package/dist/components/praise/praise.json +0 -5
- package/dist/components/praise/praise.wxml +0 -17
- package/dist/components/praise/praise.wxss +0 -1
- package/dist/components/product/product-card/product-card.js +0 -109
- package/dist/components/product/product-card/product-card.json +0 -3
- package/dist/components/product/product-card/product-card.wxml +0 -47
- package/dist/components/product/product-card/product-card.wxss +0 -1
- package/dist/components/product/product-detail/product-detail.js +0 -127
- package/dist/components/product/product-detail/product-detail.json +0 -3
- package/dist/components/product/product-detail/product-detail.wxml +0 -57
- package/dist/components/product/product-detail/product-detail.wxss +0 -1
- package/dist/components/product/product-item/product-item.js +0 -56
- package/dist/components/product/product-item/product-item.json +0 -3
- package/dist/components/product/product-item/product-item.wxml +0 -35
- package/dist/components/product/product-item/product-item.wxss +0 -1
- package/dist/components/product/product-list/product-list.js +0 -67
- package/dist/components/product/product-list/product-list.json +0 -6
- package/dist/components/product/product-list/product-list.wxml +0 -16
- package/dist/components/product/product-list/product-list.wxss +0 -1
- package/dist/components/product/product-order/product-order.js +0 -394
- package/dist/components/product/product-order/product-order.json +0 -3
- package/dist/components/product/product-order/product-order.wxml +0 -75
- package/dist/components/product/product-order/product-order.wxss +0 -1
- package/dist/components/signin/signin-dialog.js +0 -305
- package/dist/components/signin/signin-dialog.json +0 -7
- package/dist/components/signin/signin-dialog.wxml +0 -19
- package/dist/components/signin/signin-dialog.wxss +0 -1
- package/dist/components/top-notify/index.js +0 -14
- package/dist/components/top-notify/index.json +0 -3
- package/dist/components/top-notify/index.wxml +0 -2
- package/dist/components/top-notify/index.wxss +0 -1
- package/dist/pubComponents/countdown/countdown.js +0 -97
- package/dist/pubComponents/countdown/countdown.json +0 -5
- package/dist/pubComponents/countdown/countdown.wxml +0 -19
- package/dist/pubComponents/countdown/countdown.wxss +0 -1
- package/dist/pubComponents/error-page/index.js +0 -146
- package/dist/pubComponents/error-page/index.json +0 -5
- package/dist/pubComponents/error-page/index.wxml +0 -37
- package/dist/pubComponents/error-page/index.wxss +0 -1
- package/dist/pubComponents/popup/popup.js +0 -161
- package/dist/pubComponents/popup/popup.json +0 -5
- package/dist/pubComponents/popup/popup.wxml +0 -17
- package/dist/pubComponents/popup/popup.wxss +0 -1
- package/dist/pubComponents/tabs/index.js +0 -95
- package/dist/pubComponents/tabs/index.json +0 -4
- package/dist/pubComponents/tabs/index.wxml +0 -22
- package/dist/pubComponents/tabs/index.wxss +0 -1
- package/dist/sdk/config/index.js +0 -1
- package/dist/sdk/main/index.js +0 -1
- package/dist/sdk/player/index.js +0 -1
- package/dist/sdk/plugins/ChatServer.js +0 -1
- package/dist/sdk/plugins/CustomMenuServer.js +0 -1
- package/dist/sdk/plugins/InteractServer.js +0 -1
- package/dist/sdk/plugins/InviteCardServer.js +0 -1
- package/dist/sdk/plugins/LotteryServer.js +0 -1
- package/dist/sdk/plugins/MallRewardServer.js +0 -1
- package/dist/sdk/plugins/ProductServer.js +0 -1
- package/dist/shared/RequestUtil.js +0 -1
- package/dist/shared/SerializableMap.js +0 -1
- package/dist/shared/base.server.js +0 -1
- package/dist/shared/cacheUtil.js +0 -1
- package/dist/shared/dateUtil.js +0 -1
- package/dist/shared/logger.js +0 -1
- package/dist/shared/mpUtils.js +0 -1
- package/dist/shared/utils.js +0 -1
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
Component({
|
|
2
|
-
// relations: {
|
|
3
|
-
// '../../vhall-player/vhall-player': { // 父组件的相对路径
|
|
4
|
-
// type: 'parent', // 关系类型为父组件
|
|
5
|
-
// linked(target) {
|
|
6
|
-
// // target 就是父组件实例,保存到子组件的this.parent中
|
|
7
|
-
// this.parent = target;
|
|
8
|
-
// },
|
|
9
|
-
// unlinked() {
|
|
10
|
-
// // 当子组件被移除时触发
|
|
11
|
-
// this.parent = null;
|
|
12
|
-
// }
|
|
13
|
-
// }
|
|
14
|
-
// },
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 组件的属性列表
|
|
18
|
-
*/
|
|
19
|
-
properties: {
|
|
20
|
-
verticalMode: {
|
|
21
|
-
type: Boolean,
|
|
22
|
-
value: false,
|
|
23
|
-
},
|
|
24
|
-
playStatus: String,
|
|
25
|
-
paused: Boolean,
|
|
26
|
-
muted: Boolean,
|
|
27
|
-
fullscreen: Boolean,
|
|
28
|
-
qualitys: Array,
|
|
29
|
-
currentQuality: String,
|
|
30
|
-
qualityAlias: Object,
|
|
31
|
-
hiddenFlag: Boolean,
|
|
32
|
-
},
|
|
33
|
-
/**
|
|
34
|
-
* 数据监听器
|
|
35
|
-
*/
|
|
36
|
-
observers: {
|
|
37
|
-
'qualitys, currentQuality': function(qualitys, currentQuality) {
|
|
38
|
-
const qualityArray = qualitys.map((item, index) => ({
|
|
39
|
-
id: index,
|
|
40
|
-
name: item,
|
|
41
|
-
alias: this.properties.qualityAlias[item] || '其他'
|
|
42
|
-
}));
|
|
43
|
-
const qualityIndex = qualitys.indexOf(currentQuality)
|
|
44
|
-
this.setData({
|
|
45
|
-
qualityArray,
|
|
46
|
-
qualityIndex
|
|
47
|
-
})
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* 组件的初始数据
|
|
53
|
-
*/
|
|
54
|
-
data: {
|
|
55
|
-
qualityArray: Array,
|
|
56
|
-
qualityIndex: Number,
|
|
57
|
-
},
|
|
58
|
-
/**
|
|
59
|
-
* 生命周期
|
|
60
|
-
*/
|
|
61
|
-
lifetimes: {
|
|
62
|
-
created() {
|
|
63
|
-
},
|
|
64
|
-
attached() {
|
|
65
|
-
},
|
|
66
|
-
detached() {
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
/**
|
|
70
|
-
* 组件的方法列表
|
|
71
|
-
*/
|
|
72
|
-
methods: {
|
|
73
|
-
handlePlayPause() {
|
|
74
|
-
this.triggerEvent('controlsPlayPause');
|
|
75
|
-
},
|
|
76
|
-
handleRefresh() {
|
|
77
|
-
this.triggerEvent('controlsReplay');
|
|
78
|
-
},
|
|
79
|
-
handleMute() {
|
|
80
|
-
this.triggerEvent('controlsMute');
|
|
81
|
-
},
|
|
82
|
-
handleFullscreen() {
|
|
83
|
-
this.triggerEvent('controlsFullScreen');
|
|
84
|
-
},
|
|
85
|
-
handleQualityPickerChange(e) {
|
|
86
|
-
this.setData({
|
|
87
|
-
qualityIndex: e.detail.value
|
|
88
|
-
})
|
|
89
|
-
const quality = this.data.qualityArray[e.detail.value]['name']
|
|
90
|
-
this.triggerEvent('controlsSetQuality', quality);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
})
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
<view wx:if='{{!verticalMode && fullscreen}}' class='back' hidden="{{hiddenFlag}}">
|
|
2
|
-
<!-- <mp-icon
|
|
3
|
-
wx:if='{{fullscreen}}'
|
|
4
|
-
icon='back'
|
|
5
|
-
color='#fff'
|
|
6
|
-
size='{{12}}'
|
|
7
|
-
bind:tap='handleFullscreen'
|
|
8
|
-
></mp-icon> -->
|
|
9
|
-
<image class="back-image" mode="aspectFit" src="../../assets/image/arrow-left.png" bind:tap='handleFullscreen' />
|
|
10
|
-
</view>
|
|
11
|
-
<view wx:if="{{playStatus=='paused'}}" class='center'>
|
|
12
|
-
<!-- <mp-icon icon='play' color='#fff' size='{{60}}' bind:tap='handlePlayPause'></mp-icon> -->
|
|
13
|
-
<image class="center-image" mode="aspectFit" src="../../assets/image/play.png" bind:tap='handlePlayPause' />
|
|
14
|
-
</view>
|
|
15
|
-
<view class="control {{fullscreen?'fullscreen':''}}" wx:if='{{!verticalMode}}' hidden="{{hiddenFlag}}">
|
|
16
|
-
<view class="control-left">
|
|
17
|
-
<!-- <mp-icon
|
|
18
|
-
icon="{{playStatus=='playing'?'pause':'play'}}"
|
|
19
|
-
color='#fff'
|
|
20
|
-
size='{{20}}'
|
|
21
|
-
bind:tap='handlePlayPause'
|
|
22
|
-
></mp-icon> -->
|
|
23
|
-
<!-- 播放/暂停按钮 -->
|
|
24
|
-
<image class="play-pause-btn" mode="aspectFit" src="{{playStatus=='paused' ? '../../assets/image/play.png' : '../../assets/image/pause.png'}}" bind:tap='handlePlayPause' />
|
|
25
|
-
<!-- <mp-icon
|
|
26
|
-
style='margin-left: 8px'
|
|
27
|
-
icon='refresh'
|
|
28
|
-
color='#fff'
|
|
29
|
-
size='{{18}}'
|
|
30
|
-
bind:tap='handleRefresh'
|
|
31
|
-
></mp-icon> -->
|
|
32
|
-
<!-- 刷新按钮 -->
|
|
33
|
-
<image class="refresh-btn" mode="aspectFit" src="../../assets/image/refresh.png" bindtap="handleRefresh" />
|
|
34
|
-
</view>
|
|
35
|
-
<view class="control-right">
|
|
36
|
-
<!-- 清晰度选择 -->
|
|
37
|
-
<picker class="quality-picker" bindchange="handleQualityPickerChange" value="{{qualityIndex}}" range="{{qualityArray}}" range-key="alias">
|
|
38
|
-
<view class="picker-text">{{qualityArray[qualityIndex]['alias']}}</view>
|
|
39
|
-
</picker>
|
|
40
|
-
<!-- <mp-icon
|
|
41
|
-
icon="{{muted?'volume-off':'volume-up'}}"
|
|
42
|
-
color='#fff'
|
|
43
|
-
size='{{20}}'
|
|
44
|
-
bind:tap='handleMute'
|
|
45
|
-
></mp-icon> -->
|
|
46
|
-
<image src="{{muted ? '../../assets/image/volume-off.png' : '../../assets/image/volume-on.png'}}" mode="aspectFit" class="volume-btn" bindtap="handleMute" />
|
|
47
|
-
<!-- <mp-icon
|
|
48
|
-
icon="{{fullscreen ? 'close' : 'max-window'}}"
|
|
49
|
-
color='#fff'
|
|
50
|
-
size='{{20}}'
|
|
51
|
-
bind:tap='handleFullscreen'
|
|
52
|
-
></mp-icon> -->
|
|
53
|
-
<!-- 全屏/退出全屏按钮 -->
|
|
54
|
-
<image src="{{fullscreen ? '../../assets/image/exitFullScreen.png' : '../../assets/image/enterFullScreen.png'}}" mode="aspectFit" class="fullscreen-btn" bindtap="handleFullscreen" />
|
|
55
|
-
</view>
|
|
56
|
-
</view>
|
|
57
|
-
<picker wx:if='{{verticalMode}}' class="quality-picker vertical" bindchange="handleQualityPickerChange" value="{{qualityIndex}}" range="{{qualityArray}}" range-key="alias">
|
|
58
|
-
<view class="picker-text">{{qualityArray[qualityIndex]['alias']}}</view>
|
|
59
|
-
</picker>
|
|
60
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.wrap{display:flex;flex-direction:column;overflow:hidden}.image,.wrap{height:100vh;width:100vw}.image{left:0;object-fit:cover;top:0}.back,.image{position:absolute}.back{left:20px;top:20px;z-index:10}.back-image{height:20px;object-fit:contain;opacity:.9;transition:opacity .2s;width:20px}.center{align-items:center;background-color:rgba(0,0,0,.2);border-radius:50%;display:flex;height:80px;justify-content:center;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:80px;z-index:10}.center-image{height:40px;object-fit:contain;padding-left:8px;width:40px}.control{align-items:center;background-color:rgba(0,0,0,.4);bottom:0;display:flex;justify-content:space-between;left:0;padding:16rpx 24rpx;position:absolute;right:0;z-index:10}.control.fullscreen{padding:10rpx 40rpx}.control.fullscreen .quality-picker{font-size:.71rem}.control.fullscreen .fullscreen-btn,.control.fullscreen .play-pause-btn,.control.fullscreen .refresh-btn,.control.fullscreen .volume-btn{height:20rpx;width:20rpx}.control-left{align-items:center;display:flex;gap:24rpx}.play-pause-btn{height:28rpx;object-fit:contain;opacity:.9;transition:opacity .2s;width:28rpx}.play-pause-btn:active{opacity:.6}.refresh-btn{height:28rpx;object-fit:contain;opacity:.9;transition:opacity .2s;width:28rpx}.refresh-btn:active{opacity:.6}.control-right{gap:24rpx}.control-right,.quality-picker{align-items:center;display:flex}.quality-picker{color:#fff;font-size:1rem;justify-content:center}.quality-picker.vertical{position:fixed;right:40rpx;top:40rpx}.picker-text{align-items:center;display:flex;height:100%;opacity:.9}.fullscreen-btn,.volume-btn{height:28rpx;object-fit:contain;opacity:.9;transition:opacity .2s;width:28rpx}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<text style="color: #FFF; margin-top: 50px; display: flex;">弹幕组件</text>
|
|
File without changes
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// import { LiveEvents } from 'shared';
|
|
2
|
-
import { prefix } from '../../common/config';
|
|
3
|
-
import { VeComponent } from '../../common/veComponent';
|
|
4
|
-
const name = `${prefix}-error`;
|
|
5
|
-
VeComponent({
|
|
6
|
-
data: {
|
|
7
|
-
prefix,
|
|
8
|
-
classPrefix: name,
|
|
9
|
-
},
|
|
10
|
-
methods: {
|
|
11
|
-
replay() {
|
|
12
|
-
this.triggerEvent("errorandretry");
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.vhall-error{align-items:center;background-color:#000;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:10001}.vhall-error__circular{height:40px;position:relative;transform:rotate(185deg);width:40px}.vhall-error__circular--refresh{border:2px solid;border-left:2px solid transparent;border-radius:50%;color:#999;height:30px;margin-left:4px;margin-top:3px;position:absolute;width:30px}.vhall-error__circular--refresh:before{border-left:2px solid;border-top:2px solid;content:"";height:6px;left:3px;position:absolute;top:24px;transform:rotate(-22.5deg);width:6px}.vhall-error__text{color:#999;line-height:20px;margin-top:8px}.vhall-error__text:empty{display:none}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.vhall-loading{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.vhall-loading__spinner{animation:ve-rotate .8s linear infinite;box-sizing:border-box;height:30px;max-height:100%;max-width:100%;position:relative;width:30px}.vhall-loading__spinner--circular{border:1px solid transparent;border-radius:100%;border-top-color:initial}.vhall-loading__text{color:#999;line-height:20px;margin-top:8px}.vhall-loading__text:empty{display:none}@keyframes ve-rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
export function createExport() {
|
|
2
|
-
const component = this;
|
|
3
|
-
return {
|
|
4
|
-
play(option) {
|
|
5
|
-
return component.playerContext.play(option);
|
|
6
|
-
},
|
|
7
|
-
stop(option) {
|
|
8
|
-
return component.playerContext.stop(option);
|
|
9
|
-
},
|
|
10
|
-
pause(option) {
|
|
11
|
-
return component.playerContext.pause(option);
|
|
12
|
-
},
|
|
13
|
-
resume(option) {
|
|
14
|
-
if (typeof component.playerContext?.resume === 'function') {
|
|
15
|
-
return component.playerContext.resume(option);
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
replay(option) {
|
|
19
|
-
component.playerContext.stop(option);
|
|
20
|
-
component.playerContext.play(option);
|
|
21
|
-
},
|
|
22
|
-
mute() {
|
|
23
|
-
const muted = true;
|
|
24
|
-
component.setData({
|
|
25
|
-
muted,
|
|
26
|
-
})
|
|
27
|
-
},
|
|
28
|
-
unmute() {
|
|
29
|
-
const muted = false;
|
|
30
|
-
component.setData({
|
|
31
|
-
muted,
|
|
32
|
-
})
|
|
33
|
-
},
|
|
34
|
-
requestFullScreen(option) {
|
|
35
|
-
if (component.data.type == 'live') {
|
|
36
|
-
return component.playerContext.requestFullScreen(option);
|
|
37
|
-
} else {
|
|
38
|
-
component.playerContext.requestFullScreen(option);
|
|
39
|
-
if (typeof option?.success === 'function') {
|
|
40
|
-
option.success(null);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
exitFullScreen(option = {}) {
|
|
45
|
-
if (component.data.type == 'live') {
|
|
46
|
-
return component.playerContext.exitFullScreen(option);
|
|
47
|
-
} else {
|
|
48
|
-
component.playerContext.exitFullScreen(option);
|
|
49
|
-
if (typeof option?.success === 'function') {
|
|
50
|
-
option.success(null);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
requestPictureInPicture(option) {
|
|
55
|
-
if (!wx.canIUse('live-player.requestPictureInPicture')) {
|
|
56
|
-
wx.showToast({ title: '当前微信版本不支持画中画', icon: 'none' });
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
if (component.data.type == "live") {
|
|
60
|
-
return component.playerContext.requestPictureInPicture(option);
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
exitPictureInPicture(option) {
|
|
64
|
-
return component.playerContext?.exitPictureInPicture(option);
|
|
65
|
-
},
|
|
66
|
-
setPlaybackRate(rate) {
|
|
67
|
-
if (component.data.type == "vod") {
|
|
68
|
-
return component.playerContext.playbackRate(rate);
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
seek(second) {
|
|
72
|
-
if (component.data.type == "vod") {
|
|
73
|
-
return component.playerContext.seek(second);
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
getContext() {
|
|
77
|
-
return component.playerContext;
|
|
78
|
-
},
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
export function getPlayerMain(ctx, selector) {
|
|
82
|
-
return ctx.selectComponent(selector);
|
|
83
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
export function createMethods() {
|
|
2
|
-
return {
|
|
3
|
-
//以下,live-player标签特有
|
|
4
|
-
onStateChange(e) {
|
|
5
|
-
const { detail } = e;
|
|
6
|
-
const { code } = detail;
|
|
7
|
-
const STATE_CODE = {
|
|
8
|
-
2001: '拉流:已经连接服务器',
|
|
9
|
-
2002: '拉流:已经连接 RTMP 服务器,开始拉流',
|
|
10
|
-
2003: '拉流:网络接收到首个视频数据包(IDR)',
|
|
11
|
-
2004: '拉流:视频播放开始',
|
|
12
|
-
2005: '拉流:视频播放进度',
|
|
13
|
-
2006: '拉流:视频播放结束',
|
|
14
|
-
2007: '拉流:视频播放Loading',
|
|
15
|
-
2008: '拉流:解码器启动',
|
|
16
|
-
2009: '拉流:视频分辨率改变',
|
|
17
|
-
2030: '音频设备发生改变,即当前的输入输出设备发生改变,比如耳机被拔出',
|
|
18
|
-
2032: '拉流:视频渲染首帧事件',
|
|
19
|
-
2101: '拉流:当前视频帧解码失败',
|
|
20
|
-
2102: '拉流:当前音频帧解码失败',
|
|
21
|
-
2103: '拉流:网络断连, 已启动自动重连',
|
|
22
|
-
2104: '拉流:网络来包不稳:可能是下行带宽不足,或由于主播端出流不均匀',
|
|
23
|
-
2105: '拉流:当前视频播放出现卡顿',
|
|
24
|
-
2106: '拉流:硬解启动失败,采用软解',
|
|
25
|
-
2107: '拉流:当前视频帧不连续,可能丢帧',
|
|
26
|
-
2108: '拉流:当前流硬解第一个I帧失败,SDK自动切软解',
|
|
27
|
-
3001: '拉流:RTMP -DNS解析失败',
|
|
28
|
-
3002: '拉流:RTMP服务器连接失败',
|
|
29
|
-
3003: '拉流:RTMP服务器握手失败',
|
|
30
|
-
3005: '拉流:RTMP 读/写失败,之后会发起网络重试',
|
|
31
|
-
'-2301': '拉流:网络断连,且经多次重连无效,请自行重启拉流',
|
|
32
|
-
'-2302': '拉流:获取拉流地址失败',
|
|
33
|
-
};
|
|
34
|
-
// console.log(`live-player statechange: ${code}, ${STATE_CODE[code.toString()]}`)
|
|
35
|
-
switch (code) {
|
|
36
|
-
// case 2001:
|
|
37
|
-
// case 2002:
|
|
38
|
-
// this.triggerEvent('loadStart', e.detail);
|
|
39
|
-
// break;
|
|
40
|
-
case 2004:
|
|
41
|
-
this.triggerEvent('play', e.detail);
|
|
42
|
-
break;
|
|
43
|
-
case 2007:
|
|
44
|
-
this.triggerEvent('waiting', e.detail);
|
|
45
|
-
break;
|
|
46
|
-
case 2103:
|
|
47
|
-
this.triggerEvent('reconnecting', e.detail);
|
|
48
|
-
break;
|
|
49
|
-
case -2301:
|
|
50
|
-
case -2302:
|
|
51
|
-
case 3001:
|
|
52
|
-
case 3002:
|
|
53
|
-
case 3003:
|
|
54
|
-
this.triggerEvent('error', e.detail);
|
|
55
|
-
break;
|
|
56
|
-
default:
|
|
57
|
-
break;
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
onNetStatus(e) {
|
|
61
|
-
//
|
|
62
|
-
},
|
|
63
|
-
onAudioVolumeNotify(e) {
|
|
64
|
-
//
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
// 以下,live-player和video共有
|
|
68
|
-
onFullScreenChange(e) {
|
|
69
|
-
this.triggerEvent('fullscreenchange', e.detail);
|
|
70
|
-
},
|
|
71
|
-
onEnterPictureInPicture() {
|
|
72
|
-
this.triggerEvent('pictureinpicturechange', { pictureInPicture: true });
|
|
73
|
-
},
|
|
74
|
-
onLeavePictureInPicture() {
|
|
75
|
-
this.triggerEvent('pictureinpicturechange', { pictureInPicture: false });
|
|
76
|
-
},
|
|
77
|
-
|
|
78
|
-
//以下,video标签特有
|
|
79
|
-
onPlay(e) {
|
|
80
|
-
this.triggerEvent('play', e.detail);
|
|
81
|
-
},
|
|
82
|
-
onPause(e) {
|
|
83
|
-
this.triggerEvent('pause', e.detail);
|
|
84
|
-
},
|
|
85
|
-
onEnded(e) {
|
|
86
|
-
this.triggerEvent('ended', e.detail);
|
|
87
|
-
},
|
|
88
|
-
onTimeupdate(e) {
|
|
89
|
-
this.triggerEvent('timeupdate', e.detail);
|
|
90
|
-
},
|
|
91
|
-
onWaiting(e) {
|
|
92
|
-
this.triggerEvent('waiting', e.detail);
|
|
93
|
-
},
|
|
94
|
-
onError(e) {
|
|
95
|
-
this.triggerEvent('error', e.detail);
|
|
96
|
-
},
|
|
97
|
-
onLoadedMetadata(e) {
|
|
98
|
-
this.triggerEvent('loadedmetadata', e.detail);
|
|
99
|
-
},
|
|
100
|
-
onProgress(e) {
|
|
101
|
-
//
|
|
102
|
-
},
|
|
103
|
-
onControlsToggle(e) {
|
|
104
|
-
//
|
|
105
|
-
},
|
|
106
|
-
onSeekComplete(e) {
|
|
107
|
-
//
|
|
108
|
-
},
|
|
109
|
-
};
|
|
110
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export function createObservers() {
|
|
2
|
-
return {
|
|
3
|
-
type(type) {
|
|
4
|
-
const livePlayerContext = wx.createLivePlayerContext(this.data.id, this);
|
|
5
|
-
const videoContext = wx.createVideoContext(this.data.id, this)
|
|
6
|
-
this.playerContext = type == 'live' ? livePlayerContext : videoContext;
|
|
7
|
-
},
|
|
8
|
-
src(src) {
|
|
9
|
-
console.log(`监听播放地址变化: ${src}`)
|
|
10
|
-
},
|
|
11
|
-
objectFit(objectFit) {
|
|
12
|
-
if (!objectFit) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
if (objectFit == 'contain') {
|
|
16
|
-
this.setData({
|
|
17
|
-
livePlayerObjectFit: 'contain',
|
|
18
|
-
videoObjectFit: 'contain',
|
|
19
|
-
})
|
|
20
|
-
} else if (objectFit == 'fillCrop') {
|
|
21
|
-
this.setData({
|
|
22
|
-
livePlayerObjectFit: 'fillCrop',
|
|
23
|
-
videoObjectFit: 'cover',
|
|
24
|
-
})
|
|
25
|
-
} else if (objectFit == 'fill') {
|
|
26
|
-
this.setData({
|
|
27
|
-
livePlayerObjectFit: 'fillCrop',
|
|
28
|
-
videoObjectFit: 'fill',
|
|
29
|
-
})
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
mode(mode) {
|
|
33
|
-
if (mode == "RTC") {
|
|
34
|
-
this.setData({
|
|
35
|
-
minCache: 0.5, //RTC 模式推荐 0.2s
|
|
36
|
-
maxCache: 1, //RTC 模式推荐 0.8s
|
|
37
|
-
})
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
}
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
export const props = {
|
|
2
|
-
// 类型,区分live和vod
|
|
3
|
-
type: {
|
|
4
|
-
type: String,
|
|
5
|
-
value: undefined,
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
// 以下,live-player和video共有
|
|
9
|
-
src: {
|
|
10
|
-
type: String,
|
|
11
|
-
value: undefined,
|
|
12
|
-
},
|
|
13
|
-
autoplay: {
|
|
14
|
-
type: Boolean,
|
|
15
|
-
value: true,
|
|
16
|
-
},
|
|
17
|
-
muted: {
|
|
18
|
-
type: Boolean,
|
|
19
|
-
value: false,
|
|
20
|
-
},
|
|
21
|
-
objectFit: {
|
|
22
|
-
type: String,
|
|
23
|
-
value: 'contain',
|
|
24
|
-
},
|
|
25
|
-
livePlayerObjectFit: {
|
|
26
|
-
type: String,
|
|
27
|
-
value: 'contain',
|
|
28
|
-
},
|
|
29
|
-
videoObjectFit: {
|
|
30
|
-
type: String,
|
|
31
|
-
value: 'contain',
|
|
32
|
-
},
|
|
33
|
-
autoPauseIfNavigate: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
value: true,
|
|
36
|
-
},
|
|
37
|
-
autoPauseIfOpenNative: {
|
|
38
|
-
type: Boolean,
|
|
39
|
-
value: true,
|
|
40
|
-
},
|
|
41
|
-
pictureInPictureMode: {
|
|
42
|
-
type: Array,
|
|
43
|
-
value: [],
|
|
44
|
-
},
|
|
45
|
-
pictureInPictureInitPosition: {
|
|
46
|
-
type: String,
|
|
47
|
-
value: undefined,
|
|
48
|
-
},
|
|
49
|
-
enableAutoRotation: {
|
|
50
|
-
type: Boolean,
|
|
51
|
-
value: false,
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
// 以下,直播live-player特有
|
|
55
|
-
mode: {
|
|
56
|
-
type: String,
|
|
57
|
-
value: 'live',
|
|
58
|
-
},
|
|
59
|
-
minCache: {
|
|
60
|
-
type: Number,
|
|
61
|
-
value: 1,
|
|
62
|
-
},
|
|
63
|
-
maxCache: {
|
|
64
|
-
type: Number,
|
|
65
|
-
value: 3,
|
|
66
|
-
},
|
|
67
|
-
orientation: {
|
|
68
|
-
type: String,
|
|
69
|
-
value: 'vertical',
|
|
70
|
-
},
|
|
71
|
-
soundMode: {
|
|
72
|
-
type: String,
|
|
73
|
-
value: 'speaker',
|
|
74
|
-
},
|
|
75
|
-
referrerPolicy: {
|
|
76
|
-
type: String,
|
|
77
|
-
value: 'no-referrer',
|
|
78
|
-
},
|
|
79
|
-
enableCasting: {
|
|
80
|
-
type: Boolean,
|
|
81
|
-
value: false,
|
|
82
|
-
},
|
|
83
|
-
|
|
84
|
-
// 以下,点播video特有
|
|
85
|
-
controls: {
|
|
86
|
-
type: Boolean,
|
|
87
|
-
value: true,
|
|
88
|
-
},
|
|
89
|
-
duration: {
|
|
90
|
-
type: Number,
|
|
91
|
-
value: undefined
|
|
92
|
-
},
|
|
93
|
-
danmuList: Array,
|
|
94
|
-
danmuBtn: {
|
|
95
|
-
type: Boolean,
|
|
96
|
-
value: false
|
|
97
|
-
},
|
|
98
|
-
enableDanmu: {
|
|
99
|
-
type: Boolean,
|
|
100
|
-
value: false
|
|
101
|
-
},
|
|
102
|
-
loop: {
|
|
103
|
-
type: Boolean,
|
|
104
|
-
value: false
|
|
105
|
-
},
|
|
106
|
-
initialSeekTime: Number,
|
|
107
|
-
pageGesture: {
|
|
108
|
-
type: Boolean,
|
|
109
|
-
value: true
|
|
110
|
-
},
|
|
111
|
-
direction: {
|
|
112
|
-
type: Number,
|
|
113
|
-
value: 90
|
|
114
|
-
},
|
|
115
|
-
showProgress: {
|
|
116
|
-
type: Boolean,
|
|
117
|
-
value: false
|
|
118
|
-
},
|
|
119
|
-
showFullscreenBtn: {
|
|
120
|
-
type: Boolean,
|
|
121
|
-
value: true
|
|
122
|
-
},
|
|
123
|
-
showPlayBtn: {
|
|
124
|
-
type: Boolean,
|
|
125
|
-
value: true
|
|
126
|
-
},
|
|
127
|
-
showCenterPlayBtn: {
|
|
128
|
-
type: Boolean,
|
|
129
|
-
value: true
|
|
130
|
-
},
|
|
131
|
-
enableProgressGesture: {
|
|
132
|
-
type: Boolean,
|
|
133
|
-
value: true
|
|
134
|
-
},
|
|
135
|
-
poster: String,
|
|
136
|
-
showMuteBtn: {
|
|
137
|
-
type: Boolean,
|
|
138
|
-
value: true
|
|
139
|
-
},
|
|
140
|
-
title: String,
|
|
141
|
-
playBtnPosition: {
|
|
142
|
-
type: String,
|
|
143
|
-
value: 'bottom'
|
|
144
|
-
},
|
|
145
|
-
enablePlayGesture: {
|
|
146
|
-
type: Boolean,
|
|
147
|
-
value: true
|
|
148
|
-
},
|
|
149
|
-
vslideGesture: {
|
|
150
|
-
type: Boolean,
|
|
151
|
-
value: true
|
|
152
|
-
},
|
|
153
|
-
vslideGestureInFullscreen: {
|
|
154
|
-
type: Boolean,
|
|
155
|
-
value: true
|
|
156
|
-
},
|
|
157
|
-
showBottomProgress: {
|
|
158
|
-
type: Boolean,
|
|
159
|
-
value: true
|
|
160
|
-
},
|
|
161
|
-
showCastingButton: {
|
|
162
|
-
type: Boolean,
|
|
163
|
-
value: false
|
|
164
|
-
},
|
|
165
|
-
pictureInPictureShowProgress: {
|
|
166
|
-
type: Boolean,
|
|
167
|
-
value: true
|
|
168
|
-
},
|
|
169
|
-
showScreenLockButton: {
|
|
170
|
-
type: Boolean,
|
|
171
|
-
value: true
|
|
172
|
-
},
|
|
173
|
-
showSnapshotButton: {
|
|
174
|
-
type: Boolean,
|
|
175
|
-
value: true
|
|
176
|
-
},
|
|
177
|
-
};
|