Jump to content

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


kayut

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
Link to comment
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
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...