Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] trouble adding responsive embedded content on codrops tutorial demo Re: [Solved] trouble adding responsive embedded content on codrops tutorial demo

#122500
Andy Howells
Participant

From the look of it the video is responding when reducing the width but you haven’t positioned it to the center or made it a bigger width than 600px.

You need to add margin: 0 auto; to center it, and/or if you want to stretch it out adjust the width on your .video-wrapper

A good bit of JS I use (which was made by @chriscoyier and Dave Rupert) is [Fitvids.js](http://fitvidsjs.com/)