diff --git a/CHANGELOG.md b/CHANGELOG.md index 22148de..7442245 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,16 @@ All notable changes to this project will be documented in this file. Dates are displayed in UTC. +#### [1.10.7](https://github.com/AlecRust/protected-video/compare/1.10.6...1.10.7) + +- Bump dependencies [`d858534`](https://github.com/AlecRust/protected-video/commit/d858534e2ab214931bf4230726ce279539aabb10) +- Improve FAQ [`a3a68cc`](https://github.com/AlecRust/protected-video/commit/a3a68cc5e13ad3058d04df2d511e2cc62f1e27c8) +- Load assets if post uses custom page template [`21a4328`](https://github.com/AlecRust/protected-video/commit/21a43282248c070159f86e7454e0ce467525b1fd) + #### [1.10.6](https://github.com/AlecRust/protected-video/compare/1.10.5...1.10.6) +> 12 September 2023 + - Bump dependencies [`0aaf6bc`](https://github.com/AlecRust/protected-video/commit/0aaf6bc16300e42c2736ea816c295707afc54a60) - Specify Prettier PHP plugin in config [`1fb621e`](https://github.com/AlecRust/protected-video/commit/1fb621e31debccfade2f988578be714e515dcdcd) - Bump actions/checkout from 3 to 4 [`563ffeb`](https://github.com/AlecRust/protected-video/commit/563ffeb28d98386d2b5f190ce3c7ad9e3deb9295) diff --git a/package-lock.json b/package-lock.json index fdf481f..1a1d17e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "protected-video", - "version": "1.10.6", + "version": "1.10.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "protected-video", - "version": "1.10.6", + "version": "1.10.7", "license": "GPL-2.0-or-later", "dependencies": { "get-video-id": "^3.6.5", diff --git a/package.json b/package.json index b77cd27..98dc7b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "protected-video", - "version": "1.10.6", + "version": "1.10.7", "description": "YouTube/Vimeo player that prevents easy sharing of the video.", "author": "Alec Rust (https://www.alecrust.com/)", "license": "GPL-2.0-or-later", diff --git a/protected-video.php b/protected-video.php index 6f03cae..0f20e07 100644 --- a/protected-video.php +++ b/protected-video.php @@ -4,7 +4,7 @@ * Plugin URI: http://github.com/AlecRust/protected-video * GitHub Plugin URI: AlecRust/protected-video * Description: YouTube/Vimeo player that prevents easy sharing of the video. - * Version: 1.10.6 + * Version: 1.10.7 * Author: Alec Rust * Author URI: https://www.alecrust.com/ * License: GPL-2.0-or-later @@ -24,7 +24,7 @@ /** * Plugin version. */ -define('PROTECTED_VIDEO_VERSION', '1.10.6'); +define('PROTECTED_VIDEO_VERSION', '1.10.7'); /** * Load core plugin class defining all hooks. diff --git a/readme.txt b/readme.txt index 9f5c4a9..e55aa70 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: alecrust Tags: block, gutenberg, media player, video player, plyr, youtube, vimeo, copyright Requires at least: 4.6 Tested up to: 6.3 -Stable tag: 1.10.6 +Stable tag: 1.10.7 Requires PHP: 7.0 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -62,6 +62,15 @@ If you don't care about your users sharing the video or actually want them to, a 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](https://github.com/sampotts/plyr#customizing-the-css): +` + +` + = 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. @@ -86,22 +95,15 @@ A `service` of either `youtube` or `vimeo` must be specified when using the Shor = How can I set the dimensions of the player? = -The [Plyr](https://plyr.io/) 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](https://wordpress.org/support/topic/video-size-on-page/) for more. - -` - -` +The [Plyr](https://plyr.io/) 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](https://wordpress.org/support/topic/video-size-on-page/) for more. = The display of the player is broken/it doesn't work = -If the player is not looking or behaving like [the demo](https://protected-video.alecrust.com/) on your site, this indicates another theme or plugin is interfering with Protected Video. +If the player is not looking or behaving like [the demo](https://protected-video.alecrust.com/) on your site, this usually indicates another theme or plugin is interfering with Protected Video. -This is usually caused by another plugin or theme loading its own version of [Plyr](https://plyr.io/), which interferes with the Plyr version provided by Protected Video. Please try disabling all other plugins and switching to a default theme to isolate what is causing this issue. +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 Protected Video in a non-standard way this detection may fail. == Screenshots == @@ -113,7 +115,13 @@ This is usually caused by another plugin or theme loading its own version of [Pl == Changelog == -= 1.10.6 = += 1.10.7 = + +* Bump dependencies +* Improve FAQ +* Load assets if post uses custom page template + += 1.10.6 - 2023-09-12 = * Bump dependencies * Specify Prettier PHP plugin in config diff --git a/src/block.json b/src/block.json index 0381c80..83d6597 100644 --- a/src/block.json +++ b/src/block.json @@ -2,7 +2,7 @@ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "protected-video/protected-video", - "version": "1.10.6", + "version": "1.10.7", "title": "Protected Video", "category": "embed", "example": {