跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

videos chapters & logos

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

videos chapters & logos

作者:alvingil
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

The “Videos Chapters & Logos” plugin allows you to embed MP4 videos with a logo, poster, and markers on your WordPress site.

With this plugin, you can add an MP4 video with a logo (and an optional poster), as well as set chapter points within the video that are displayed as markers. Users can click on the markers to jump to different parts of the video.

Important: For the plugin to work correctly, MP4 videos must be placed in the assets/video/ folder inside the plugin directory.

License

This plugin is licensed under the GPLv2 or later. You can redistribute and modify it under the terms of the GNU General Public License.

安装

  1. Upload the plugin to your WordPress site:

    • Upload the plugin folder to /wp-content/plugins/.
  2. Activate the plugin:

    • Go to the “Plugins” section in your WordPress admin panel and click “Activate” next to “Videos Chapters & Logos”.
  3. Add the shortcode to your content:

    • After activating the plugin, you can add the following shortcode to any page, post, or widget:

      `[videos_chapters_logos video=”Sintel.mp4″ logo=”logo.png” width=”800″ height=”450″ autoplay=”false” loop=”true” markers=”0:39=Introduction,5:50=Chapter 2,7:50=Chapter 3,9:00=Chapter 4″]“`

  • Shortcode parameters:
    • video: The file path of the MP4 video (default: Sintel.mp4).
    • logo: The logo to display over the video (default: example_logo.png).
    • poster: The poster image that appears before the video starts (optional).
    • width: The width of the video (default: 640).
    • height: The height of the video (default: 360).
    • autoplay: Whether the video should autoplay (options: true, false, default: false).
    • loop: Whether the video should loop when finished (options: true, false, default: false).
    • markers: The markers in the video in the format time=text, for example, 0:39=Introduction, 5:50=Chapter 2.

常见问题

How can I add more than one marker?

You can add multiple markers by separating them with commas in the markers attribute, like this:

`[videos_chapters_logos video="Sintel.mp4" logo="logo.png" width="800" height="450" autoplay="false" loop="true" markers="0:39=Introduction,5:50=Chapter 2,7:50=Chapter 3,9:00=Chapter 4"]```

Each marker is defined in the format time=text.

How can I customize the video design?

You can adjust the width and height parameters to change the video size. Additionally, the logo can be customized with any image you upload to your media library.

Can I use other video formats besides MP4?

Currently, the plugin is configured to work with MP4 files. If you’d like to support additional video formats, you would need to customize the code.

评价

此插件暂无评价。

贡献者及开发者

「videos chapters & logos」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • alvingil

帮助将「videos chapters & logos」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0

  • First version of the plugin.

额外信息

  • 版本 1.0
  • 最后更新:2 月前
  • 活跃安装数量 不到10
  • WordPress 版本 5.0 或更高版本
  • 已测试的最高版本为 6.9.1
  • 语言
    English (US)
  • 标签
    chapterslogomarkersmp4video player
  • 高级视图

评级

尚未提交反馈。

添加我的评价

查看全部评论

贡献者

  • alvingil

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.