Linux 软件免费装
Banner图

Protected Video

开发者 alecrust
更新时间 2024年7月6日 18:46
PHP版本: 7.0 及以上
WordPress版本: 6.6
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

player video vimeo youtube plyr

下载

1.1.7 1.7.12 1.11.1 1.11.4 1.11.5 1.11.6 1.1.4 1.1.9 1.10.2 1.2.0 1.2.1 1.2.10 1.2.2 1.8.3 1.10.10 1.11.3 1.1.8 1.7.20 1.0.7 1.0.8 1.2.6 1.2.7 1.0.6 1.1.0 1.1.11 1.2.3 1.2.4 1.2.5 1.7.18 1.1.1 1.2.8 1.5.2 1.6.0 1.7.14 1.5.0 1.5.1 1.7.2 1.7.3 1.3.0 1.6.1 1.7.0 1.7.4 1.7.6 1.7.7 1.7.8 1.7.9 1.2.9 1.3.1 1.7.1 1.7.11 1.1.5 1.7.15 1.7.16 1.4.0 1.7.13 1.7.17 1.10.4 1.10.9 1.11.0 1.7.21 1.8.0 1.1.2 1.1.6 1.7.10 1.8.1 1.7.19 1.7.22 1.8.2 1.8.4 1.8.5 1.1.10 1.8.6 1.9.0 1.9.1 1.1.3 1.6.2 1.10.1 1.10.0 1.1.12 1.7.5 1.10.5 1.10.6 1.10.7 1.10.8 1.10.3 1.11.2

详情介绍:

Gutenberg block and Shortcode for embedding YouTube/Vimeo videos, in a way that prevents users easily accessing the underlying video. This is useful for example when embedding an “unlisted” video as premium course content behind a paywall on your site. Features include: View Player Demo Note: This only provides a basic level of protection. Technical users may still be able to access the underlying video. This plugin is open source and contributions are welcome on GitHub.

安装:

  1. Install and activate the plugin
  2. Optionally configure player theme at Settings > Protected Video
  3. Search for and use “Protected Video” block in the Block Editor
  4. Alternatively use the Shortcode e.g. [protected_video url="https://youtu.be/aqz-KE-bpKQ" service="youtube"]

屏幕截图:

  • Protected Video block inserted in the Block Editor.
  • Protected Video displayed on public facing site.
  • Configuration of the global plugin settings.
  • Optional Shortcode embed method also supported.

常见问题:

What does this plugin do?

Embeds YouTube/Vimeo videos on your pages and takes steps to prevent users obtaining the e.g. YouTube URL of the video by clicking on the player or viewing the page source. Watch this YouTube video for an introduction to the plugin and its potential use cases.

How secure is this plugin?

This plugin only provides a basic level of protection against users accessing the default player or otherwise determining the video URL. Technical users may still be able to figure out this information.

Does this plugin work on mobile?

Yes, the custom player works on mobile browsers and the disabling of access to the default player is still in place even in fullscreen mode.

Why not use plain Plyr player?

The default Plyr player overlays YouTube/Vimeo players with its own controls, which prevents access to the underlying video copy/share buttons under some scenarios, but this is a side-effect of the way it works rather than a feature. The goal of Protected Video is to make this a feature by accounting for more scenarios e.g. when the player is paused, and providing additional features such as obfuscation of the underlying video ID in the HTML. If you don't care about your users sharing the video or actually want them to, a plugin like WP YouTube Lyte is probably more suitable.

How can I style the player with CSS?

The main color of the player can be configured at Settings > Protected Video. If you'd like to style the player further, you can provide your own CSS to override the player's CSS variables: ` :root { --plyr-badge-background: #000; --plyr-control-radius: 5px; } `

Can the YouTube watermark/controls be hidden?

Unfortunately not. This plugin loads the standard YouTube player behind the overlay, which we have no control over. These aspects of the YouTube player cannot be disabled.

Can you add feature X to the player?

This plugin embeds the Plyr player in a particular way and adds modifications to prevent access to the underlying video player. This plugin cannot provide additional features to the player itself beyond what is provided by Plyr. If you'd like to see a feature added to the player, please open an issue on Plyr's GitHub.

Can I load my own videos into the player?

Currently this plugin only supports YouTube and Vimeo embeds. You can upload your videos to YouTube or Vimeo and then embed them using this plugin. Support for loading your own video file directly from a server is a potential future feature.

Why is there a Shortcode as well as Gutenberg block?

The Shortcode is provided as an alternative embed method that still provides the same level of protection. Some people need the Shortcode for use with 3rd party page builders (Elementor etc.) and others simply prefer using a Shortcode over Gutenberg blocks.

How do I use the Shortcode embed method?

This is the format to use if you'd like to use the Shortcode embed method: [protected_video url="https://youtu.be/aqz-KE-bpKQ" service="youtube"] A service of either youtube or vimeo must be specified when using the Shortcode embed method.

How can I set the dimensions of the player?

The Plyr player is responsive by default and will grow to fill the container it is placed in. If you'd like to restrict these dimensions, place the block or Shortcode within a container that has your desired dimensions. See this support topic for more.

The display of the player is broken/it doesn't work

If the player is not looking or behaving like the demo on your site, this usually indicates another theme or plugin is interfering with Protected Video. Please try disabling all other plugins one by one and switching to a default theme, to isolate which plugin or theme is causing the issue. For performance reasons, Protected Video only loads its associated JS and CSS when it detects that a Gutenberg block or Shortcode is present on the page. If you insert a video in a non-standard way this detection may fail.

更新日志:

1.11.6 - 2024-07-06 1.11.5 - 2024-04-10 1.11.4 - 2024-04-07 1.11.3 - 2024-04-05 1.11.2 - 2024-03-13 1.11.1 - 2024-03-02 1.11.0 - 2024-01-13 1.10.10 - 2023-12-19 1.10.9 - 2023-11-07 1.10.8 - 2023-10-27 1.10.7 - 2023-10-17 1.10.6 - 2023-09-12 1.10.5 - 2023-08-18 1.10.4 - 2023-07-27 1.10.3 - 2023-07-25 1.10.2 - 2023-07-25 1.10.1 - 2023-07-24 1.10.0 - 2023-07-24 1.9.1 - 2023-07-23 1.9.0 - 2023-07-22 1.8.6 - 2023-07-20 1.8.5 - 2023-07-20 1.8.4 - 2023-07-20 1.8.3 - 2023-07-19 1.8.2 - 2023-06-26 1.8.1 - 2023-04-16 1.8.0 - 2023-04-01 1.7.22 - 2023-03-20 1.7.21 - 2023-03-10 1.7.20 - 2023-02-19 1.7.19 - 2022-11-18 1.7.18 - 2022-11-06 1.7.17 - 2022-08-14 1.7.16 - 2022-07-24 1.7.15 - 2022-07-08 1.7.14 - 2022-05-28 1.7.13 - 2022-05-28 1.7.12 - 2022-05-28 1.7.11 - 2022-05-08 1.7.10 - 2022-04-20 1.7.9 - 2022-04-10 1.7.8 - 2022-03-06 1.7.7 - 2022-02-26 1.7.6 - 2022-02-14 1.7.5 - 2022-02-05 1.7.4 - 2022-01-25 1.7.3 - 2022-01-24 1.7.2 - 2022-01-23 1.7.1 - 2022-01-23 1.7.0 - 2022-01-22 1.6.2 - 2022-01-16 1.6.1 - 2022-01-16 1.6.0 - 2022-01-02 1.5.2 - 2021-12-23 1.5.1 - 2021-12-16 1.5.0 - 2021-12-16 1.4.0 - 2021-11-17 1.3.1 - 2021-11-14 1.3.0 - 2021-10-13 1.2.10 - 2021-09-18 1.2.9 - 2021-09-05 1.2.8 - 2021-08-06 1.2.7 - 2021-07-11 1.2.6 - 2021-07-11 1.2.5 - 2021-07-03 1.2.4 - 2021-06-12 1.2.3 - 2021-06-11 1.2.2 - 2021-06-11 1.2.1 - 2021-06-11 1.2.0 - 2021-06-11 1.1.12 - 2021-06-10 1.1.11 - 2021-06-10 1.1.10 - 2021-06-10 1.1.9 - 2021-06-10 1.1.8 - 2021-06-09 1.1.7 - 2021-06-09 1.1.6 - 2021-06-09 1.1.5 - 2021-06-09 1.1.4 - 2021-06-09 1.1.2 - 2021-06-09 1.1.1 - 2021-06-09 1.1.0 - 2021-06-09 1.0.8 - 2021-06-09 1.0.7 - 2021-06-09 1.0.6 - 2021-06-09 1.0.5 - 2021-06-06 1.0.4 - 2021-06-06 1.0.3 - 2021-06-06 1.0.2 - 2021-06-06 1.0.1 - 2021-06-05 1.0.0 - 2021-06-05