[wordpress插件] Chromeless YouTubeChromeless YouTube

wordpress 插件 文章 2020-03-23 11:30 508 0 全屏看文

AI助手支持GPT4.0

评分
60
描述

This plugin is a custom YouTube video player.

此插件是自定义的YouTube视频播放器。

The default player has custom control buttons that are hidden while the video is playing.

默认播放器具有自定义控制按钮,这些按钮在播放视频时被隐藏。

Don’t worry, there is an option to use the default YouTube controls if you want.

不用担心,您可以根据需要使用默认的YouTube控件。

The player is meant to play only one single video, by simply entering it’s YouTube ID number.

只需输入YouTube ID号,播放器就只能播放一个视频。

You can then size the player to any width and height, enabling you to display videos anywhere on your site.

然后,您可以将播放器的大小调整为任意宽度和高度,从而使您可以在网站上的任何地方显示视频。

Every chromeless widget you create is unique, you can have multiple videos on one page, each with a different source and size.

您创建的每个无色小部件都是唯一的,您可以在一页上放多个视频,每个视频的来源和大小都不同。

This plugin is a must have for any WordPress developer.

对于任何WordPress开发人员来说,此插件都是必需的。

Adding videos to your site has never been easier.

向您的网站添加视频从未如此简单。

YouTube hosts over 35% of the video media on the internet, it would be silly not to utilize their their simple yet powerful website to store all of your videos.

YouTube将超过35%的视频媒体托管在互联网上,如果不利用其简单而强大的网站来存储您的所有视频,那就太可笑了。

To display these videos on your site, you need to embed a whole bunch of HTML, these embed snippets are the code needed to play each YouTube video on your site.

要在您的网站上显示这些视频,您需要嵌入一堆HTML,这些嵌入的片段是在您的网站上播放每个YouTube视频所需的代码。

This can sometimes be tedious and that is why I created the Chromeless YouTube Plugin.

有时候这可能很乏味,这就是为什么我创建了无Chrome YouTube插件。

The Chromeless YouTube Player is super easy, just drag a widget into your sidebar, type in the YouTube ID number of a video, give it a width and height and that is it.

Chromeless YouTube Player非常简单,只需将小部件拖到侧边栏中,输入视频的YouTube ID号,然后为其指定宽度和高度即可。

安装步骤

    1. Upload the entire ‘chromeless-youtube’ folder to the /wp-content/plugins/ directory
    2. 将整个“ chromeless-youtube”文件夹上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Create a new player widget from the wordpress dashboard: Appearance -> Widgets
    6. 从wordpress仪表板创建一个新的播放器小部件:外观->小部件

    7. Post Shortcode: [chromeless id=hnwccozR_oI width=280 height=180 autoplay=no ytcontrols=no]
    8. 发布短代码:[chromeless id = hnwccozR_oI width = 280 height = 180 autoplay = no ytcontrols = no]

    9. Template PHP:

    10. 模板PHP: <?php chromeless_youtube('hnwccozR_oI','280','180','no','no');

      ?>

    11. ?>

下载地址
https://downloads.wordpress.org/plugin/chromeless-youtube.1.01.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Advanced Forms PayPal Payment Buttons高级表格PayPal付款按钮
[wordpress插件] Custom Taxonomy Creator自定义分类法创建者
[wordpress插件] Digthis Show Action HookDigthis Show动作挂钩
[wordpress插件] Captain Countdown Clock队长倒计时时钟
[wordpress插件] Autochat Whapp Contact Web Button自动聊天Whapp联系人网页按钮
随便看看
微信公众号免300认证教程 4947
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 4065
小程序广告组件通过审核,但是小程序内没有显示广告? 4145
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8009
问题? 7242
如何快速搭建抽奖助手小程序(无需代码知识) 5029
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 5981
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5503
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5200
如何解决渲染层网络错误Failed to load media? 16554