YT API Avoid Conflicts
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 multipl
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.
- 01Upload yt-api-avoid-conflicts to the /wp-content/plugins/ directory
- 02Activate the plugin through the \\’Plugins\\’ menu in WordPress
- 03That\’s it. Once activated, the plugin will add the JavaScript snippet at the bottom of the page and you won\’t have to worry about conflicts with the window.onYouTubePlayerAPIReady function.
Frequently asked questions.
Installation Instructions
Upload yt-api-avoid-conflicts to the /wp-content/plugins/ directory Activate the plugin through the \\’Plugins\\’ menu in WordPress That\’s it. Once activated, the plugin will add the JavaScript snippet at the bottom of the page and you won\’t have to worry about conflicts with the window.onYouTubePlayerAPIReady function.