- This topic has 17 replies, 4 voices, and was last updated 3 years, 10 months ago by David.
-
AuthorPosts
-
June 17, 2020 at 1:07 pm #1331815Ricardo
Hi,
I don’t know if this is under the scope of this support, but, here it goes:
I would like to know how to make the poster of gutenberg video block to cover all video area, including the controls.
Like in 2nd section of this page:
https:/idealfado.com
Do you have any idea on how to achieve that?
Thanks in advance,
RicardoJune 17, 2020 at 2:35 pm #1331881LeoStaffCustomer SupportHi there,
Can you link me to the page where the video is added currently?
June 17, 2020 at 3:46 pm #1331930RicardoJune 17, 2020 at 6:49 pm #1332013LeoStaffCustomer SupportAny reason why it’s inside a grid block?
https://www.screencast.com/t/cRcFYSfiCLEJune 18, 2020 at 12:14 am #1332174RicardoYes!
It’s the way I can have more control of the video size all over the different devices.
Also gonna use text in the left and video at the right.
June 18, 2020 at 2:53 am #1332372DavidStaffCustomer SupportHi there,
i am not sure i understand the issue but is the Poster Image you have chosen the same dimensions as the Video ?
June 18, 2020 at 4:14 am #1332491RicardoHi,
In fact is not an issue! It’s more a “how can I achieve this?” 🙂
I’ve replaced with a 4:3 picture and the thing is the same.
I would like that the poster image to cover and hide the controls. Like in the 2nd section of this page:
Update: with an image of the same size it is better. But would like to show controls on hover only.
Thanks!
June 18, 2020 at 6:34 am #1332609DavidStaffCustomer SupportTry this CSS to remove the play icon:
.video-cover:not(:hover) .video-play-icon { opacity: 0; }
June 18, 2020 at 8:46 am #1332919RicardoHi,
Unfortunately it didn’t produce any change.
June 18, 2020 at 2:07 pm #1333305TomLead DeveloperLead DeveloperHi there,
Is that CSS still added? I’m not seeing it on the page.
June 18, 2020 at 3:09 pm #1333348RicardoHi.
Yes.
I’ve added to customize/aditional css.
Thanks
June 19, 2020 at 1:00 am #1333644DavidStaffCustomer SupportI am not seeing that CSS on your site.
Can you re-add it to the very top of Customizer > Additional CSS.
And then clear any caches.Let me know
June 19, 2020 at 1:27 am #1333680RicardoHi,
I’m sorry for this inconvenient!
I really don’t understand why is this happening.
I don’t have any caches and disabled generatepress on the customizer.
Also, added some other css right now and it’s working.
You can check here
https://idealvideos.b-cdn.net/css.png
Also noticed that in google chrome the player doesn’t display a play button in the center of the poster, so only removing the controls from not hover won’t be a good solution.
If this is out of the support range, nevermind, I understand. I’ll leave it as it is. It’s not stylish, but it works!
Best regards,
RicardoJune 19, 2020 at 3:26 am #1333812DavidStaffCustomer SupportAah ok i thought you wanted to remove the play button which is what that CSS does … except it won’t remove specific play buttons added by the browser.
The other controls that appear when playing will disappear if you stop hovering over them, it may take a few seconds for them to hide
June 19, 2020 at 7:55 am #1334214RicardoI think for what I need is more java than CSS, right?
Thank you anyway!
-
AuthorPosts
- You must be logged in to reply to this topic.