一个调用B站视频遮挡视频按钮的代码。 这个代码我是无意中在别人博客看到的。
<iframe src="https://这里是B站的视频链接" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="100%" height="358px">
</iframe>
嵌入mp4代码
<video class="myvideo" controls autoplay style="width: 100%; height: auto;" onContextMenu="return false" onSelectStart="return false">
<source src="https://这里是B站的视频链接.mp4" type="video/mp4" />
</video>
发表评论: