'Youtube iframe API fails load or cue playlist
I work with the Youtube Iframe API and when I try to use player.loadPlaylist({list: 'PLAYLIST_ID'}); or player.cuePlaylist({list: 'PLAYLIST_ID'}); the methods return the error Uncaught TypeError: Cannot read property 'tg' of null since yesterday.
A few days ago, the method cuePlaylist stopped trigger the "video cued event' as it is explains in the Youtube Iframe API documentation
Can anybody help me ?
Solution 1:[1]
I just fixed it with calling
player.playVideoAt(0);
after calling loadPlayList(...)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | General Grievance |
