Merge pull request 'gdpaoup3' (#117) from gyh into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/117
This commit is contained in:
commit
a47238a7a4
@ -4,7 +4,7 @@
|
|||||||
<view v-if="type" id="video_mp4">
|
<view v-if="type" id="video_mp4">
|
||||||
<view class="page-body">
|
<view class="page-body">
|
||||||
<view class="page-section">
|
<view class="page-section">
|
||||||
<video id="myVideo" enable-progress-gesture="false" :src=" 'https://' + vide0_url" autoplay controls="false" @error="videoErrorCallback"
|
<video id="myVideo" enable-progress-gesture="false" :src=" 'https://' + vide0_url" autoplay controls="false" @error="videoErrorCallback" @timeupdate="timeupdate"
|
||||||
enable-danmu danmu-btn></video>
|
enable-danmu danmu-btn></video>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -49,7 +49,7 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
remaining: 11,
|
remaining: 7,
|
||||||
type: true,
|
type: true,
|
||||||
banner: false,
|
banner: false,
|
||||||
protocol: false,
|
protocol: false,
|
||||||
@ -176,6 +176,9 @@
|
|||||||
videoErrorCallback: function(e) {
|
videoErrorCallback: function(e) {
|
||||||
console.log('视频错误信息:',e);
|
console.log('视频错误信息:',e);
|
||||||
},
|
},
|
||||||
|
timeupdate(e) {
|
||||||
|
console.log(e);
|
||||||
|
},
|
||||||
getRandomColor: function() {
|
getRandomColor: function() {
|
||||||
const rgb = []
|
const rgb = []
|
||||||
for (let i = 0; i < 3; ++i) {
|
for (let i = 0; i < 3; ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user