Hi, sometimes the video inserted in “featured video” is not responsive. Usually the problem is solved by refreshing the page. This problem is visible if not logged in, if logged in, from mobile and desktop. Why?
Thank you
Hello,
Do you use a single post template or a standard template?
If I understood correctly when you are connected this problem does not appear for the rest of the users? if yes, then there may be a plugin conflict, please do a test using only the theme plugins.
Thank you!
Hi, I use a post layout created by me for the videos.
Sometimes it is displayed in the wrong size, especially on mobile. And there is always a bit of a jump from the youtube video player.
It is as if the youtube script were imported with default pixels, and then adapted to 100% of the column.
Hello,
I checked the post several times at different times and I failed to catch when the problem occurs => https://www.screencast.com/t/VXws0kkJNa
Thank you!
Hi, I understand the problem.
It’s a bit complex, I hope to explain it well.
It seems that if the page loads in the background, the width of the youtube video script is not detected correctly.
I tried to load the post with the video in this way: I opened a random page of my site and accepted the cookies, I simulated a low or medium connection (on Chrome), I pasted the link of the post, clicked Enter and immediately after I changed the browser window . I waited for the upload to complete, went back to the browser window view with the post and this is what I get:
https://i.ibb.co/dpjFdfg/desk.png
https://i.ibb.co/HGq1Pzk/mob.png
I hope I was helpful in solving the problem.
Hello,
Please try to use this custom code and see if the problem persists
<style>.tdb_single_featured_image .wpb_video_wrapper iframe{
width: 100%;
}
</style>
Set the code in Theme Panel -> Analytics / JS Code =>https://www.screencast.com/t/5rkd6UoN
Thank you!