https://v.qq.com/x/page/v0513...
This is the resource address
How can it be adapted to mobile phones by embedding it in iframe
How to control the width and height when changing this size
Now it is
<iframe src="https://v.qq.com/x/page/v0513ovygwe.html" width="100%" height="600px" frameborder="0"></iframe>
How to adapt better
可以获取手机屏幕的宽度动态设置
iframe
的宽度。我记得ios9下 iframe有1000px的bug,另外腾讯视频好像这么搞没用,会被封的吧
视频下面有个分享,然后直接拿embed标签,用js调整一下宽高就行了。不要用iframe直接引用那个播放界面。
求解答 ><