Feature video problem

Posted in: Newspaper
Post count: 236

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

Post count: 27744

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!

Post count: 236

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.

Post count: 27744

Hello,

Can you please send me the link to that post/page to investigate the issue?

Thank you!

Post count: 236
Post count: 27744

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!

Post count: 236

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.

Post count: 27744

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!

Post count: 236

Thank you

Post count: 10

Hi I tried to implent this code and it works.But the featured video image seems like portait not landscape. Any advice? Thank you

Post count: 27744

Hello, @rickyfr,

Can you send me the link to the post, where is set the featured video? in order to be able to help you effectively.

Thank you!

Post count: 5

.tdb_single_featured_image .wpb_video_wrapper iframe{
width: 100%;
}

Please can you fix this in an update, we shouldn’t have to add this basic css. Thank you (it works)

Post count: 27744

Hello @beasteh,

I will add it to the list of suggestions, but normally if you added CSS once there will be no problems.

Thank you!

Viewing 13 posts - 1 through 13 (of 13 total)
The forum ‘Newspaper’ is closed to new topics and replies.