Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

YouTube Iframe API - How do I change the video?

$
0
0

I have a list of videos and my goal is to update the player with the video the user clicks on. Google's documentation for the YouTube iframe API seems to suggest this is possible with loadVideoById but when I try to call it on my player object it results in 'Is Not a Function'

To make things easy, I'm using the code in 'getting started' from here:

https://developers.google.com/youtube/iframe_api_reference


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>