赞
踩
1、安装依赖:
- npm install videojs-vr --save
- npm install video.js --save
2、使用:
- <template>
- <div>
- <video
- width="734"
- height="434"
- id="videojs"
- class="video-js vjs-default-skin"
- crossorigin="anonymous"
- controls
- playsinline
- >
- <!-- http://otaup.aiskill.komect.com/skill/RY_VR/res/%E5%A4%8D%E5%85%B4%E5%8F%B7%E9%AB%98%E9%93%81%E5%AE%89%E5%85%A8%E5%85%A8%E6%99%AF%E8%A7%86%E9%A2%91.mp4?AWSAccessKeyId=23011GA2YBECL7O214GH&Expires=1619168498&Signature=HDSRY%2Fp4Cw3UFXSgL%2FqhH8X8Aug%3D -->
- <source
- src="http://otaup.aiskill.komect.com/skill/RY_VR/res/%E9%BB%84%E5%B1%B1%E8%AE%B0.mp4?AWSAccessKeyId=23011GA2YBECL7O214GH&Expires=1619340145&Signature=Jyfh6T%2BjcvXAyZRD0kBBSAi0nSI%3D"
- id="videoVr-$
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。