加载页面时,Chrome控制台给我以下错误:未捕获TypeError:无法读取未定义的属性'playVideo‘ // Load the IFrame Player API codevar tag = document.createElement('script');
tag.src = "https://www.youtube.com/ifr
我正在尝试使用YoutubeAPI搜索一个包含一些单词的视频,我已经在这个交互式应用程序https://developers.google.com/youtube/v3/docs/search/list我已经复制了该页面上的源代码并删除了授权,因为我不需要它并填写了凭据。这就是我一直在获取Uncaught TypeError: Cannot read property 'youtube' of u
我正在制作一个带有光明画廊插件的视频库来运行它会产生以下错误未定义的TypeError:无法读取未定义的属性“匹配”,这在论坛中已经研究过了,但还没有一个解决方案。测试页:
var youtube = src.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?