![]() ![]() So we have to apply the click event listener like you can see below:ĭocument.getElementById("change-video"). Now suppose, we want to change our video by clicking a button. The above line of JavaScript code will change our embedded YouTube video of the iframe.
For IFrame embeds the Flash player load immediately. IFrame additions for loading a Flash player, also define when the controls on the player are displayed and loaded when the latter: controls = 0: Player controls are not displayed on the player. This parameter indicates whether or not to show the video player controls.
0 Comments
Leave a Reply. |