YT API Avoid Conflicts
v1.0.0pushlabs · 2018年6月12日 上架
A simple plugin to avoid conflicts with the YouTube API. Specifically, the window.onYouTubePlayerAPIReady function. THIS PLUGIN IS NOT AFFILIATED WITH …
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 1,332
- 最近更新
- 2018年6月12日
需要 WordPress 2.1.0+已测试到 4.9.36
贡献者
YT API Avoid Conflicts adds a piece of JavaScript code to the bottom of your WordPress site and finds all instances of window.onYouTubePlayerAPIReady and combines them.
Since the YouTube API requires you to use the function window.onYouTubePlayerAPIReady, there are bound to be conflicts with multiple plugins/themes that utilize the YouTube API. This quick and easy plugin will combine all of these calls into one window.onYouTubePlayerAPIReady call.