Jump to content
kayut

Looking for a jQuery/JS solution for making a Youtube video responsive

Recommended Posts

Hi,

Looking for a solution to make a Youtube video iframe responsive I found this page:

Fluid Width Video

Now I'm trying for hours to apply it on my code example here:

Trying to make it responsive

but it's not working and I don't understand why.

Could you please help me with this? I'm not looking for a CSS solution. I'm looking for a jQuery/JS solution.

Thanks
 

Edited by kayut

Share this post


Link to post
Share on other sites

Seems to work alright for me. When I expand the page, it gets bigger, and the opposite applies.

 

What' isn't happening?

Edited by Funce

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...