<template>
	<view>
		<video
			:src="video"
			preload
			autoplay
			show-play-btn="true"
			controls="false"
			loop="true"
			ref="video_url"
			play-btn-position="center"
			class="video"
			:poster="pic">
		</video>
	</view>
</template>

<script>
export default{
	data() {
		return {
			video : '',
			pic : '',
		}
	},
	onLoad(option) {
		this.video = option.video;
		this.pic = option.pic;
	},
	methods:{
		
	},
}
</script>

<style>
video{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
</style>
