Thread: YouTube Shorts
View Single Post
masraum masraum is online now
Back in the saddle again
 
masraum's Avatar
 
Join Date: Oct 2001
Location: Central TX west of Houston
Posts: 56,706
Quote:
Originally Posted by stevej37 View Post
^^^ Nice!
How do you get the yt shorts to embed in large screen like that??
That's how they show up automatically, but you can make adjustments to your embed code with these the same as you can for regular YT embedding.

At the beginning of the embed code, there's a width/height setting. I assume like the regular videos, there are multiple settings. THis is what the setting was for the video above.

iframe width="674" height="1199"

and yours are set to

iframe width="320" height="560"

I think it's based on the size of your browser window when you pull up the short. I shrank my window down and tried again and got
iframe width="452" height="803"

I assume that you could keep the height/width ratio the same and choose just about any size that you want.
__________________
Steve
'08 Boxster RS60 Spyder #0099/1960
- never named a car before, but this is Charlotte.
'88 targa SOLD 2004 - gone but not forgotten

Last edited by masraum; 03-08-2023 at 05:51 AM..
Old 03-08-2023, 05:43 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #185 (permalink)