YT API Avoid Conflicts

A simple plugin to avoid conflicts with the YouTube API. Specifically, the window.onYouTubePlayerAPIReady function. THIS…

Author:Push Labs (profile at wordpress.org)
WordPress version required:2.1.0
WordPress version tested:4.9.25
Plugin version:1.0.0
Added to WordPress repository:12-06-2018
Last updated:12-06-2018
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:616
plugin download
Click to start download

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.


FAQ