-
lovin78
Good morning, I try to explain my need.
I need to see in the central rectangle a video whose link is set in a custom video post created with acf
the field from which I take the link is of type urlI would like to see the video poster instead of the red box and by clicking the triangle I would like the video to open in the foreground by putting an overlay to obscure the homepage
I attach images of how I set the dynamic data part relating to the triangle. the result in the front-end is the triangle with the url next to it (see another image attached)
I await your kind response and thank you in advance
best regards
Simone -
Alvind
Hi there,
Do you mean that you want to show the video in a popup when the container is clicked? Is that correct?
-
lovin78
yes exactly
thanks
-
Hi there,
you would need a lightbox / modal plugin to do that.
Theres a few to choose from in the WordPress.orghttps://en-gb.wordpress.org/plugins/search/video+lightbox/
The Firelight Lightbox is one of the most popular:
https://en-gb.wordpress.org/plugins/easy-fancybox/ -
lovin78
i would like view a video overlay without plugin.
url is a custom post type fields of acf. it isn’t a static url in homepage
Can you help me please?
Thank so much
Simone -
Unfortunately its not something I have a non-plugin solution for.
The plugin not only handles the Javascript to handle the popup modal it also considers accessibly in its process.
You may find some tutorials online for building your own custom modal but it would require custom development which is out of scope in this forum.
- You must be logged in to reply to this topic.