Archived topic
shrink video imbed
8 replies · Started by John on April 1, 2022
Hello Support at GP !
Please see my landing page at http://www.understand-culture.com.
I would like to replace the static image of the world map
with an imbedded video from YouTube. I know that that is
easily doable.
However, the height of the video is then too large. I would
like the dimensions of the imbedded video to be the same as
the featured image.
Is that possible?
Thanks and greetings from Bonn in Germany.
John
Wait, stop . . . perhaps the dimensions of the imbedded
video are ok. Please see the landing page:
http://www.understand-culture.com
If so, let's leave as is. But I have another question:
The text below the video ... "more" ... can I adjust
that text area: font size ... location (flush left,
center, flush right)?
Thanks !
Hi there,
you can use this CSS to style the caption text below the video:
.wp-block-embed figcaption {
font-size: 18px;
text-align: center;
}
Fast. Perfect. Genius.
Thanks, David.
John
One more thing, David:
Please go to my landing page:
https://understand-culture.com
Click on "more" bottom-right of video.
Takes you to the post.
Now hit the back button on your browser.
I have a Mac with Safari.
The back button takes me back to the landing page.
The video, however, does not appear.
That space is black.
Thanks.
John
if you refresh the page does the video load ?
If it does its probably the back/forward button caching that browsers use. And safari has some quirks with it.
Yes, when I refresh it reloads.
I should have mentioned that in my email.
Ok, if Safari is a bit funky, users
will figure that out. Perhaps it does
not occur on Androids.
Thanks again, David !
John
Problem resolved !
Glad to hear that