WB
Web Bae7mo ago
Ballen

Video link doesn't show after clicking it the second time.

Hi All, Here's the link to my PoC site: https://preview.webflow.com/preview/client-first-template-44a251?utm_medium=preview_link&utm_source=designer&utm_content=client-first-template-44a251&preview=6bca7cba2bebf0ef03dfdd69dcee403b&workflow=preview Yet another question: I have a link to a video (see first screenshot) in a modal (see second screenshot) which works great when the user clicks the video link, which blurs and darkens the background behind the video modal. However, if the video is watched (note that you won't be able to close out the modal until 30 seconds after the modal launches) and the modal is closed. However, if the user clicks on that link again, the modal appears and shows the background blur and darkening, but the video doesn't show like the first time, so users can't click out of the modal. Any idea of what I'm doing wrong? TIA!
No description
No description
No description
2 Replies
Web Bae
Web Bae6mo ago
@Ballen you could try adding the same interaction to the "on second click" option. Looking at the interaction at the moment - some of your tweens are targeting the video-close-icon, where I think you mean to target the Video class (after your 30 second delay). Also I think in general you'll have trouble doing an interaction like this natively in Webflow. It looks like you want to ensure the user watches the video for 30 seconds, then close it out. However, since the "open modal" button is not actually the video play button, it's likley the two will be out of sync and the user might get confused. It might also be that that's ok as the user is highly likely to click play after clicking through the "open modal" interaction. Not what you asked about but just my $0.02.
Ballen
Ballen6mo ago
Thanks! I'm working on trying to figure this out so this will be helpful!