How to make all videos responsive inside wordpress post TechzAround

How to make all videos responsive inside wordpress post TechzAround
Like Tweet Pin it Share Share Email

on September 3, 2015

I see very often that many sites become non responsive because post has some youtube videos inside. This is problem, because, youtube player, by default, is not responsive. So, I will give you some code to fix this

Many themes has similar code which makes all videos responsive. But, sometimes there are no solutions in theme for this. So, you can use next code snippet

First of all, most of themes have area where you can add js script and css script. You should use it

Js code for responsive videos. Works with youtube, vimeo, dailymotion

Also, you need some css code for responsive videos

That’s all

How to make all videos responsive inside wordpress post

5 (100%)
1 vote

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *