Streaming live at 10am (PST)

Controlling embedded (vimeo) video using the Button element

Hi, is it possible to control embedded (vimeo/iframe) video using the webflow Button element?
A way to add the necessary script to the Button element directly inside webflow?
Thanks Peter

Do you mean for the button element to Play, or pause a video? Or for the button to resize the frame in which the video sits?

https://developer.vimeo.com/apis/oembed

looking to play and pause using a web flow element - and optimally also be able to skip o a certain frame…

thanks for the link, I do not immediately find help with controlling a clip by another element within web flow(?)…not very proficient at coding though, will look through this…

I was thinking there is a way to attach this type of script to the web flow Button element… would that be possible - and by that stop an embedded video from playing…

script
}
function stopVideo() {
player.stopVideo();
}
script

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.