Skip to content
Advertisement

change video on the fly using javascript and use bootstrap to play on floating window

This code is playing video on floating windows using bootstrap. But i want to modify the video src using javascript so i can have dynamic video link. I use onClick() to change the src of the video but it didn’t work.

JavaScript
JavaScript

Advertisement

Answer

You just forgot to press play.

JavaScript
JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement