怎样在自己的网页中嵌入视频?

最近在微信上面发现了1个关于家乡旅游 航拍的视频,于是想搬到自己的网站上来:

具体操作步骤是:

1:在微信上面复制网址,得到:https://www.skypixel.com/share/video/2312bb05-85db-41e4-802e-d6b33bb51c12?from=groupmessage&isappinstalled=0

注意:如果从列表页面得到是这种格式的网址,比如:https://www.skypixel.com/videos/47734d6b-e67c-437d-b493-3229fe1ebd30,就需要转换成https://www.skypixel.com/share/video/47734d6b-e67c-437d-b493-3229fe1ebd30?from=groupmessage&isappinstalled=0,否则找不到对应的播放代码

2:在网页中找到视频播放的代码:

<iframe frameborder="0" width="670px" height="442px" scrolling="no" src="https://www.djivideos.com/video_play/ad378a2e-6100-4cab-acb4-32cd1f551195?autoplay=1&amp;isAutoPlay=1"></iframe>

3:复制以上代码到新的网页,就可以正常播放了微笑


猜你喜欢

转载自blog.csdn.net/dmz1981/article/details/65628094
今日推荐