Skip to content

Commit

Permalink
Release 1.10.7
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecRust committed Oct 17, 2023
1 parent 21a4328 commit 01c953a
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 20 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions protected-video.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
36 changes: 22 additions & 14 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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):

`
<style>
:root {
--plyr-badge-background: #000;
--plyr-control-radius: 5px;
}
</style>
`

= 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.
Expand All @@ -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.

`
<style>
:root {
--plyr-badge-background: #000;
--plyr-control-radius: 5px;
}
</style>
`
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 ==

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 01c953a

Please sign in to comment.