YouTube API playlist shuffle not working?
问题 I have been trying to set-up my youtube api to shuffle my playlist but the order is the same all the time... Here is the link where I am getting my code from https://developers.google.com/youtube/iframe_api_reference#setShuffle Am I calling it right? here is my code below <div id="player"></div> <script> var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode