Notifications
Clear all

[Solved] Video preload

21 Posts
3 Users
2 Likes
2,953 Views
Posts: 26
Customer
Topic starter
(@gary-yates)
Member
Joined: 4 years ago

@tomson,

 

I don't have a plugin named FitVids. The problem is still occurring with no other plugins active except Advanced Attachments. 

1 Reply
 Tom
Admin
(@tomson)
Joined: 9 years ago

Famed Member
Posts: 4171

@gary-yates,

You do have, and the problem will not be fixed until this function is there.

This is either a plugin or an extension in your WordPress theme. I have already shown you the plugin wrapper div. So check about your plugins and theme options and find the Video Fitting options or functions. This issue is not the addon issue, this issue comes from FitVids functions. So you should find the plugin or the theme option which initiates it.

Posts: 26
Customer
Topic starter
(@gary-yates)
Member
Joined: 4 years ago

@tomson,

I'm telling you that I don't have a plugin name "FitVid".

Screenshot (130)

If you would have, at minimum, looked at the page again after my reply, you would have seen that the video you looked at is just a shortcode now bc, as I said, I deactivated all my plugins.

Screenshot (131)

The lower arrow points to where the video embedded by Advanced Attachments should be and the right arrow points to its css. You'll see that the width is as at 0, that's the problem and its caused by wpForo.

1 Reply
 Tom
Admin
(@tomson)
Joined: 9 years ago

Famed Member
Posts: 4171

@gary-yates,

Please read my previous post again. I already said this is either a plugin or a function of your theme.  So if this is not a plugin, then this is the theme built-in function. Please find that function setting and disable it. This is the reason of disappearing the video player after minimizing. And this could be a reason of other issues. So again, go through all options and settings of your WP theme and search for video embedding and video size controlling / fitting options and disable them.

Once the video disappointing issue is fixed, we'll take a look at other problems.

Posts: 4171
 Tom
Admin
(@tomson)
Famed Member
Joined: 9 years ago

Ok, the last video is still there. And the problem reason cannot be found. Something wired is going on there... I'll update the topic once I god some thoughts. 

Posts: 4171
 Tom
Admin
(@tomson)
Famed Member
Joined: 9 years ago

@gary-yates,

I see you changed the theme and the video disappearing issue is solved. So I was correct, the problem comes from the theme JS function:

 

Please let me know what other issues you see on the new theme?

Posts: 26
Customer
Topic starter
(@gary-yates)
Member
Joined: 4 years ago

@tomson,

 

I understand what you're saying but the theme I am using is a theme provided by Wordpress, Twenty Twenty. The theme I switched to was also a theme provided by Wordpress, Twenty Twenty-One. Therefore, the problem cannot come from Wordpress's own theme's JS function but from wpForo's integration. 

 

I've attached a video below that shows the problem. Wordpress Twenty Twenty's videos are able to go fullscreen and return properly everywhere on the site, even in the wpForo forum, except for in the wpForo Forum when embedded using wpForo embed functionality. 

1 Reply
 Tom
Admin
(@tomson)
Joined: 9 years ago

Famed Member
Posts: 4171

@gary-yates,

Thank you for the detailed explanation of the issue. If you check the wpForo Addon Video tag you'll see that it doesn't add any extra tags like data-origwidth and data-origheight. These two attributes are being added by some JS code from the theme. These are not standard attributes of the video tag: https://www.w3schools.com/tags/tag_video.asp

2021 09 25 08 49 50

The video tag doesn't have such attributes, and they are custom attributes for custom JS functions. And the JS code which dynamically inserts this attribute is located in your theme. it doesn't matter who is the developer of the theme, but the theme should not add extra unknown attributes to all video tags. wpForo doesn't have control over the JS functions of your website, it's almost impossible.

Let's do some test. And find the two attributes inserting functions origin. Change the theme and check the video tag, if you still see the same attributes, then this comes from other plugins. Also, please zip the main theme you use and attach it here, so we could do a deep debugging.

Page 2 / 3
Share:
Scroll to top