I need to insert a video in a popup, and after the user exits the popup by clicking outside of it, the video needs to stop.
Any help on how to do it please?
Thanks!
Dan
I need to insert a video in a popup, and after the user exits the popup by clicking outside of it, the video needs to stop.
Any help on how to do it please?
Thanks!
Dan
Set the video source to be the popup’s data…
Then just reset the popup’s data when the popup is closed.
Hi @dmintz2
You can try that:
Best,
Thank you!!!
How do I do these 2 please?:
Why make it so complicated? Just do what I suggested… it’s much simpler.
I do not know how to do what you suggested
how do I do what you suggested please?
Like I said…
Set the video source to be the data of the popup.
Then wen the popup is closed just clear the popup’s data (so the video element no longer has a video to play).
It’s simple.
Here’s an example:
Thanks for the help!!!
Whatever contains the reference to the video you’re trying to play.
Thanks again
What content type is your popup?
The VIDEO, not the player element. You want the video that you’re going to configure the player to play.
but i dont have the video itself listed in the list of “Data to Display”.
I cannot find a way to reference the video.
I am not sure what you mean by “content type”.
You need to set a content type for you popup if you want to send data to it.
I cannot find a way to reference the video.
So where is the video coming from?
Do you have a custom datatype of Video in your app? (Obviously you don’t… but that’s irrelevant)…
The content type just needs to be whatever data you’re using to refer to the video. That obviously depends where the reference to the video is in your app.
ok I fixed most things and created a video type and uploaded a video to that and did use your workflows.
works fine, but the sound of the video continues to play in the background ever after the popup is closed.
Drives me nuts