I have Microsoft stream video iframe embed on html page pop-up modal. The video is displayed on Modal pop-up when a button is clicked and plays with default controls. When i close the modal pop, the video still runs on the background. I need to stop/pause the video when the modal pop-up is closed. I have tried with JavaScript video pause scripts but nothing works out. Streams runs with Azure player, Any suggestion to control the video with JavaScript
Asked
Active
Viewed 311 times
2
-
I was able to stop the video by resetting the iframe. – daniel Jun 26 '20 at 12:30