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

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

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