<p style="text-align:center;"><iframe style="height:350px;" src="https://v.qq.com/txp/iframe/player.html?vid=s3000bwdvh8" frameborder="0"></iframe></p>
<iframe frameborder="0" src="https://v.qq.com/txp/iframe/player.html?vid=s3000bwdvh8" allowFullScreen="true"></iframe>
<iframe src="https://player.bilibili.com/player.html?isOutside=true&aid=113344824478558&bvid=BV1ZKyVYHERt&cid=26394888876&p=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
这三种都是视频网站自带的,直接拿过来。
【推荐下面这种】这种可以点开视频网站自带播放器上面的按钮,比如全屏按钮。
<!DOCTYPE html>
<html>
<head>
<title>嵌入视频示例</title>
</head>
<body>
<iframe width="560" height="315" src="https://player.bilibili.com/player.html?isOutside=true&aid=113344824478558&bvid=BV1ZKyVYHERt&cid=26394888876&p=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</body>
</html>