How to control Apple video player on ipad (video embedded with iframe and html5 vimeo solution)
I embedded a video with vimeo html5 embedding solution. I can play the video on ipad. I would like to hide the player and pause the video when clicking on a link or unload the video when clicking on a link; then reload the video when clicking on another link I tried Apple javascript solution for pausing: https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/ControllingMediaWithJavaScript/ControllingMediaWithJavaScript.html function playPause() { var myVideo = document.getElementsByTagName('video')[0]; if (myVideo.paused) myVideo.play(); else