<template>
	<view class="container">
		<web-view :src="'/hybrid/html/h5player.html?url=' + this.url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: '',
				player: null,
			}
		},
		onLoad(options) {
			this.url = options.url ? decodeURIComponent(options.url) :
				'https://sf1-hscdn-tos.pstatp.com/obj/media-fe/xgplayer_doc_video/flv/xgplayer-demo-360p.flv';
		},
		mounted() {
		},
		methods: {
		}
	}
</script>

<style lang="scss" scoped>
	page,
	.container {
		min-height: 100vh;
		background-color: #fff;
	}
</style>