Youtube API conflicts with other instances
-
Getwid includes the JS callback ‘onYouTubeIframeAPIReady’ globally on every page. This prevents any other plugins or custom code from utilising this API.
A solution would be to only include this when the related block is present on a page, and/or enqueuing this section of the script through WP’s enqueue system so that it can be un-queued from functions.php if not needed.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Youtube API conflicts with other instances’ is closed to new replies.