Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 28th Mar 2012, 07:30 PM   #1
Active Warrior
 
BizGrabbers's Avatar
 
Join Date: 2011
Location: Alabama, USA
Posts: 73
Thanks: 70
Thanked 36 Times in 31 Posts
Default
How Do I Embed A YouTube Video and Make it Fit the Screen Of Smartphones?
Share on: 
fb share twitter share gplus share more share

I want to embed a YouTube video on a mobile site and make it fit the screen of whatever phone a viewer is using.

Can someone please tell me how to make it fit.....in very plain English, please?

I already know how to embed a video, and I know how to resize it, but I don't know how to make it automatically resize according to the screen size.

Thanks,

Mike

BizGrabbers is offline  
Unread 28th Mar 2012, 07:43 PM   #2
HyperActive Warrior
War Room Member
 
Adwizard's Avatar
 
Join Date: 2012
Location: Southeast Missouri
Posts: 198
Thanks: 16
Thanked 74 Times in 44 Posts
Default
Re: How Do I Embed A YouTube Video and Make it Fit the Screen Of Smartphones?
Share on: 
fb share twitter share gplus share more share

I would think that Quinten's class structure would solve your problem but I am not a programmer so don't hold me to that.

Building Businesses Beyond their Four Walls by
Thinking Outside the Box... since 1993.
Is anyone capable of designing a mobile site for
this e-commerce site for a fee:
Adwizard is offline  
Unread 28th Mar 2012, 10:05 PM   #3
Web Marketing For Profit
War Room Member
 
Quentin's Avatar
 
Join Date: 2002
Location: Brisbane
Posts: 2,895
Thanks: 8
Thanked 1,162 Times in 528 Posts
Blog Entries: 10
Default
Re: How Do I Embed A YouTube Video and Make it Fit the Screen Of Smartphones?
Share on: 
fb share twitter share gplus share more share

You can just change the width to 100% and the height to 280 as this fits well however if you are using wordpress you can use this plugin Fitvids as this auto sizes.

WordPress › FitVids for WordPress « WordPress Plugins

I think you can also use the js file for non wordpress sites

FitVids.JS - A lightweight, easy-to-use jQuery plugin for fluid width video embeds.

Quentin

Quentin is offline  
The Following User Says Thank You to Quentin For This Useful Post:
Unread 28th Mar 2012, 10:16 PM   #4
Active Warrior
 
BizGrabbers's Avatar
 
Join Date: 2011
Location: Alabama, USA
Posts: 73
Thanks: 70
Thanked 36 Times in 31 Posts
Default
Re: How Do I Embed A YouTube Video and Make it Fit the Screen Of Smartphones?
Share on: 
fb share twitter share gplus share more share

Originally Posted by Quentin View Post

You can just change the width to 100% and the height to 280 as this fits well however if you are using wordpress you can use this plugin Fitvids as this auto sizes.

WordPress › FitVids for WordPress « WordPress Plugins

I think you can also use the js file for non wordpress sites

FitVids.JS - A lightweight, easy-to-use jQuery plugin for fluid width video embeds.

Quentin
Quentin,

Thank you, thank you, thank you!!!

I have googled and struggled with this for hours. I changed the width and height like you suggested and walahhhhhh. It works perfectly.

Thanks again,

Mike

BizGrabbers is offline  
Unread 28th Mar 2012, 11:49 PM   #5
HyperActive Warrior
 
Join Date: 2009
Posts: 168
Thanks: 33
Thanked 21 Times in 20 Posts
Default
Re: How Do I Embed A YouTube Video and Make it Fit the Screen Of Smartphones?
Share on: 
fb share twitter share gplus share more share

Ditto @Quentin!


KingMedia is offline  
Closed Thread


Bookmarks

Tags
embed, fit, make, screen, smartphones, video, youtube


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 07:19 AM.