<template>
	<!--增加video标签支持，并循环添加-->
	<view :class="node.classStr" :style="node.styleStr" class="video_box">
		<video :class="node.classStr" class="video-video" :src="node.attr.src" initial-time='1'></video>
	</view>
</template>

<script>
	export default {
		name: 'wxParseVideo',
		props: {
			node: {},
		},
	};
</script>
<style lang="scss">
	.video_box {
		width: 100%;
		text-align: center;
		margin: 20upx 0;
	}

	video {
		width: 100%;
		border-radius: 16upx;
	}
</style>
