Video

基础用法

API

Attributes

NameDescriptionTypeDefault
widthnumber
heightnumber
muted是否静音booleanfalse
loop是否循环播放booleanfalse
autoplay是否自动播放booleanfalse
src播放地址string
poster封面string

Exposes

MethodDescriptionType
play播放Function
pause暂停Function
load加载Function
stop停止Function

Source

Docs