Created
February 3, 2025 11:07
-
-
Save dieppon/c9c9f019f9fb3ad700a66fccbcc15317 to your computer and use it in GitHub Desktop.
All-in-One Video Gallery videojs poster fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/public/templates/player-videojs.php b/public/templates/player-videojs.php | |
index 2c4de90..d446109 100644 | |
--- a/public/templates/player-videojs.php | |
+++ b/public/templates/player-videojs.php | |
@@ -651,6 +651,10 @@ $settings = apply_filters( 'aiovg_iframe_videojs_player_settings', $settings ); | |
display: inline-block; | |
} | |
+ .aiovg-player .video-js .vjs-poster img { | |
+ object-fit: cover !important; | |
+ } | |
+ | |
/* Text Track */ | |
.aiovg-player .video-js:not(.vjs-has-started) .vjs-text-track-display { | |
display: none; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment