Modify your YouTube media code...Is there anything I can add to the YouTube code that will make all the videos on my site default automatically in 720p? At the moment they are opening in 480p which looks nasty at times compared to the clear HD I've uploaded.
Sounds like you changed your definition somewhere along the way to use the iframe version. The default XF definition is...This is odd, my code only has...
<iframe width="640" height="390" src="http://www.youtube.com/embed/{$id}?wmode=opaque" frameborder="0" allowfullscreen></iframe>
As you can see there's no "&fs=1".
Any ideas?
<object width="500" height="300" data="http://www.youtube.com/v/{$id}&fs=1" type="application/x-shockwave-flash">
<param name="movie" value="http://www.youtube.com/v/{$id}&fs=1" />
<param name="allowFullScreen" value="true" />
<param name="wmode" value="opaque" />
<embed src="http://www.youtube.com/v/{$id}&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" wmode="opaque" width="500" height="300" />
</object>
<object width="640" height="380" data="http://www.youtube.com/v/{$id}&fs=1&hd=1" type="application/x-shockwave-flash">
<param name="movie" value="http://www.youtube.com/v/{$id}&fs=1&hd=1" />
<param name="allowFullScreen" value="true" />
<param name="wmode" value="opaque" />
<embed src="http://www.youtube.com/v/{$id}&fs=1&hd=1" type="application/x-shockwave-flash" allowfullscreen="true" wmode="opaque" width="640" height="380" />
</object>
Getting it to default to 480p is a case of good news/bad news.I think YouTube 720p must be higher bitrate than Vimeo because it stutters on my Macbook Pro. So now I'm trying to figure out how to default to 480p.
Admin CP -> Home -> BB Code Media Sites -> YouTube
Gotta tweak the embed code:
http://stackoverflow.com/questions/7582336/force-youtube-embed-to-start-in-720p
We use essential cookies to make this site work, and optional cookies to enhance your experience.