如何使用新的YouTube iframe样式代码嵌入高品质视频 [英] How to embed high quality video with new YouTube iframe style code

查看:129
本文介绍了如何使用新的YouTube iframe样式代码嵌入高品质视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用youtubes新的iframe代码来嵌入视频,但视频的质量似乎低于在YouTube上观看视频的质量。有没有办法嵌入高质量的视频?

I am using youtubes new iframe code to embed video but the videos seem to be lower quality than if I watch them on youtube. Is there a way to embed the high quality video?

我的代码目前是

My code at the moment is

<iframe title="YouTube video player" width="650" height="390" src="http://www.youtube.com/embed/6X3zUh8RqbY" frameborder="0" allowfullscreen></iframe>


推荐答案

哦,我发现现在你必须?HD在诸如URL的末尾= 1,因此:

Oh I've found it now you have to put ?hd=1 on the end of the url like so:

<iframe title="YouTube video player" width="650" height="390" src="http://www.youtube.com/embed/6X3zUh8RqbY?hd=1" frameborder="0" allowfullscreen></iframe>

这篇关于如何使用新的YouTube iframe样式代码嵌入高品质视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆