[wordpress插件] Coverflow YouTube VideosCoverflow YouTube视频

wordpress 插件 文章 2020-04-03 22:41 469 0 全屏看文

AI助手支持GPT4.0

评分
96
描述

Displays a user’s Youtube videos in a simil-Coverflow way.

以模拟覆盖的方式显示用户的YouTube视频。

This plugin uses ContentFlow v1.0.2 and HTML5Lightbox Javascript

此插件使用ContentFlow v1.0.2和HTML5Lightbox Javascript

libraries to mimic the Coverflow’s Apple visualization interface.

库来模仿Coverflow的Apple可视化界面。

    Usage

    用法

      • Displays the videos of the user configured in the admin page:

        显示在管理页面中配置的用户的视频:

        [coverflow_youtube_videos]

        [coverflow_youtube_videos]

      • Displays the videos of the user specified in the shortcode:

        显示以简码指定的用户的视频:

        [coverflow_youtube_videos user=”USERNAME”]

        [coverflow_youtube_videos user =“ USERNAME”]

      • Displays the videos of the playlist specified in the shortcode:

        显示以简码指定的播放列表的视频:

        [coverflow_youtube_videos list=”PLAYLIST_ID”]

        [coverflow_youtube_videos list =“ PLAYLIST_ID”]

      Shortcode Options

      简码选项

        • Hide the numbers underneath the slider: numbers=no
        • 隐藏滑块下方的数字: numbers = no

        Style

        样式

        You can change the color of the text displayed underneath the video thumbnails adding some CSS to your theme stylesheet file:

        您可以更改视频缩略图下方显示的文本的颜色,从而在主题样式表文件中添加一些CSS:

        .ContentFlow .globalCaption .caption {  

          .ContentFlow .globalCaption .caption {  

        color: black;

        颜色:黑色

        }

        }

        If you need to change also the slider color you have to overwrite the default values with something like that:

        如果还需要更改滑块颜色,则必须使用类似以下内容覆盖默认值:

        .ContentFlow .scrollbar {  

          .ContentFlow .scrollbar {  

        background: url(img/my_scrollbar.png) left center repeat-x !important;

        背景:url(img / my_scrollbar.png)左居中repeat-x!important;

        }

        }

        .ContentFlow .scrollbar .slider {  

        .ContentFlow .scrollbar .slider {  

        background: url(img/my_slider.png) center center no-repeat !important;

        背景:url(img / my_slider.png)中心中心不重复!重要;

        }

        }

        Where my_scrollbar.png and my_slider.png are your custom images (under the img folder of your theme).

        其中my_scrollbar.png和my_slider.png是您的自定义图像(在主题的img文件夹下)。

        These images needs to be like scrollbar_white.png and slider_white.png under wp-content/plugins/coverflow-youtube-videos/ContentFlow/img

        这些图片必须像wp-content / plugins / coverflow-youtube-videos / ContentFlow / img 下的scrollbar_white.png和slider_white.png

        Credits

        积分

        Sebs Studio Sebastien for the “My YouTube Videos” plugin used as

        Sebs Studio 塞巴斯蒂安用作“我的YouTube视频”插件

        initial code for this project.

        该项目的初始代码。

安装步骤

    1. Unzip the archive of the plugin or download it from the official WordPress plugin repository

    2. 解压缩插件的存档,或从官方WordPress插件存储库下载

    3. Upload the folder ‘coverflow-youtube-videos’ to the WordPress plugin directory (../wp-content/plugins/)
    4. 将文件夹“ coverflow-youtube-videos”上传到WordPress插件目录(../ wp-content / plugins /)

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

    7. Configure it as you like
    8. 随意配置

下载地址
https://downloads.wordpress.org/plugin/coverflow-youtube-videos.1.0.6.zip
-EOF-

AI助手支持GPT4.0