Closed hassankhan closed 8 years ago
As far as I can tell, it's because the onSourceChange()
method calls the initYoutubePlayer()
method, which finally calls the loadVideoById()
method on the YouTube player. Could this be changed to cueVideoById()
instead?
Created pull request: https://github.com/NamPNQ/bower-videogular-youtube/pull/49
Looks good, I'll merge it, thank you! :)
Thanks :)
Every time I change the
sources
property, the video automatically starts playing - is there any way to stop this from happening?