初始化代码
This commit is contained in:
1
front/mine/pages/common/video.wxml
Normal file
1
front/mine/pages/common/video.wxml
Normal file
@@ -0,0 +1 @@
|
||||
<view class="video-box" style="{{'padding-bottom:'+(number)+';'}}"><video class="my-video" object-fit="fill" preload="meta" src="{{url}}" autoplay="true" controls="{{true}}" data-event-opts="{{[['play',[['play',['$event']]]],['pause',[['pause',['$event']]]],['ended',[['ended',['$event']]]],['waiting',[['waitingCallback',['$event']]]],['error',[['errorCallback',['$event']]]],['loadedmetadata',[['loadedmetadata',['$event']]]]]}}" bindplay="__e" bindpause="__e" bindended="__e" bindwaiting="__e" binderror="__e" bindloadedmetadata="__e"></video></view>
|
||||
Reference in New Issue
Block a user