responsive youtube videos
-
The problem with youtube videos can be seen here: https://www.morethanandroid.de/androidq
I also noticed that if this plugin is enabled, embedded youtube videos will only be shown correctly once you scroll down and up again (visible on on mobile browsers like iOS).
When loading for the first time aspect/position of the videos will be distorted.
The theme author’s reply was:
The theme adds a special class to videos to make them responsive. When you scroll down, you are loading the next post, and when the next post is loaded, the theme’s JavaScript is run to detect videos in the new post, and when it does that it finds the old video that wasn’t fixed so it fixes it.Because the plugin doesn’t load the video immediately, the theme doesn’t know it’s a video and doesn’t make it responsive.
One solution is to ask them how you can add a custom class to their container:
class="cmplz-blocked-content-container cmplz-video"
because if you can add this class:video-wrap
so it looks like this:class="cmplz-blocked-content-container cmplz-video video-wrap"
it would fix it automatically. Hopefully they have an option to add custom classes.I have also contacted you via premium support but I haven’t received a reply.
The page I need help with: [log in to see the link]
- The topic ‘responsive youtube videos’ is closed to new replies.