Linux 软件免费装

YT API Avoid Conflicts

开发者 pushlabs
更新时间 2018年6月12日 10:46
PHP版本: 2.1.0 及以上
WordPress版本: 4.9.6
版权: MIT

标签

YouTube API

下载

1.0.0

详情介绍:

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.

安装:

  1. Upload yt-api-avoid-conflicts to the /wp-content/plugins/ directory
  2. Activate the plugin through the \\'Plugins\\' menu in WordPress
  3. 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.