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 class="page-body">
 | 
			
		||||
				<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>
 | 
			
		||||
				</view>
 | 
			
		||||
			</view>
 | 
			
		||||
@ -49,7 +49,7 @@
 | 
			
		||||
	export default {
 | 
			
		||||
		data() {
 | 
			
		||||
			return {
 | 
			
		||||
				remaining: 11,
 | 
			
		||||
				remaining: 7,
 | 
			
		||||
				type: true,
 | 
			
		||||
				banner: false,
 | 
			
		||||
				protocol: false,
 | 
			
		||||
@ -176,6 +176,9 @@
 | 
			
		||||
			videoErrorCallback: function(e) {
 | 
			
		||||
				console.log('视频错误信息:',e);
 | 
			
		||||
			},
 | 
			
		||||
            timeupdate(e) {
 | 
			
		||||
              console.log(e);  
 | 
			
		||||
            },
 | 
			
		||||
			getRandomColor: function() {
 | 
			
		||||
				const rgb = []
 | 
			
		||||
				for (let i = 0; i < 3; ++i) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user