video.vue 699 字节
<template>
	<view class="container">
		<view class="videobox">
			 <video id="myVideo" class="videoitem"  :autoplay="true" :src="src"
			                     danmu-btn ></video>
			
		</view>
		
	</view>
</template>

<script>
	import app from "../../App.vue";
	export default {
		data() {
			return {
				src: ''
			}
		},
		onLoad(options) {
			this.src = options.src
			console.log(options.src)
			webviewStyles: {
				progress: {
					color: '#fff'
				}
			}
			
		},
		methods: {


		},
	

	}
</script>

<style>
	page{
		width:100%;
		height:100%
	}
	.container{
		width:100%;
		height:100%
	}
	.videobox{
		width:100%;
		height:100%
	}
	.videoitem{
		
		width:100%;
		height:100%;
	}
</style>