Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 3rd Feb 2016, 11:01 AM   #1
Warrior Member
 
Join Date: 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default
How to make embedded vimeo/youtube videos size responsive
Share on: 
fb share twitter share gplus share more share

Hello, I'm having a problem with the videos that I have embedded on the home page of my website. They look ok on a computer screen, but on smaller devices like phones and small tablets, they can not adapt/ respond to the size of the screen. This makes much of the video being off the screen.
I've heard you can add a div container to the CSS but was wondering if anyone has any advice on how to do this.
The home page address is White Wedding Videos - Home
Please take a look. Any help would be greatly appreciated.
Mark White is offline  
Unread 25th Feb 2016, 08:19 AM   #2
Azizur Rahman
 
azizrp's Avatar
 
Join Date: 2015
Location: Bangladesh
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: How to make embedded vimeo/youtube videos size responsive
Share on: 
fb share twitter share gplus share more share

use fitvid.js or you cantact with me fiverr.com/azizrp
azizrp is offline  
Unread 26th Feb 2016, 04:00 AM   #3
HyperActive Warrior
War Room Member
 
Lokki08's Avatar
 
Join Date: 2009
Location: Finland
Posts: 302
Thanks: 53
Thanked 24 Times in 23 Posts
Default
Re: How to make embedded vimeo/youtube videos size responsive
Share on: 
fb share twitter share gplus share more share

At the moment when I test your website in my desktop and mobile phone the videos are actually responsive.

Lokki08 is offline  
Unread 26th Feb 2016, 05:38 AM   #4
www.deeptenger.com
Registered Member
 
Joe Ray's Avatar
 
Join Date: 2013
Posts: 518
Thanks: 211
Thanked 91 Times in 77 Posts
Blog Entries: 1
Default
Re: How to make embedded vimeo/youtube videos size responsive
Share on: 
fb share twitter share gplus share more share

In order to make the videos responsive, you have to use a CSS technique called @media query. It uses the @media rule to include certain properties only if a condition is true like screen size.

If you are not comfortable (intermediate level) with html and CSS you should not try to do this your self.

Joe Ray is offline  
Unread 12th Mar 2016, 06:18 AM   #5
Warrior Member
 
Join Date: 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: How to make embedded vimeo/youtube videos size responsive
Share on: 
fb share twitter share gplus share more share

Hi !
i think you can use :
<link rel="stylesheet" media="screen and (max-width:510px)" href="../css/mobile_formulaire.css">
it's just an example to use the attribut media
good luck
yoyo1992 is offline  
Closed Thread


Bookmarks

Tags
embedded, make, responsive, size, videos, vimeo or 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 08:58 AM.