Youtube video is not responsive
Posted
#2088
(In Topic #442)
First, i realy like the new compo.sr
i am testing in a sub dir, and the first thing i see, is that youtube video is not responsive.
on a mobile device i see half of the video.
is it possible to fix this, or is there already a solution?
Posted
You're right, it's clumsy right now.
I have just incorporated a change for the next patch release. When on desktop mode videos will play as they do now (specific size), but on mobile mode they'll use a 'responsive' technique to take full width.
See:
https://github.com/ocproducts/composr/commit/7e759cbd6a69a84d95aa13d27d3f9eb9ec552a2f
You'll need to copy the changes I made into your theme's global.css.
You'll also need to pass the content through an edit so that the Comcode refreshes.
Posted
Posted
Posted
edit: I tried your fix, but i dont see any changes.
i changed my css like you said, en de youtube file.
Upload all, edit the posts with youtube video, but on mobile its the same. Even after clear cache and all.
is there something that i do wrong?
Last edit: by Joey
Posted
0 guests and 0 members have recently viewed this.