提交 99055c4c 编写于 作者: Q qiang

feat(App): video 组件增加属性 play-strategy

上级 c28bee3c
<template>
<uni-video v-on="$listeners">
<div
ref="container"
class="uni-video-container"
<div
ref="container"
class="uni-video-container"
/>
<div class="uni-video-slot">
<slot />
......@@ -59,7 +59,8 @@ const attrs = [
'showCenterPlayBtn',
'showLoading',
'codec',
'httpCache'
'httpCache',
'playStrategy'
]
export default {
......@@ -159,6 +160,10 @@ export default {
httpCache: {
type: [Boolean, String],
default: false
},
playStrategy: {
type: [Number, String],
default: 0
}
},
computed: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册