Skip to content

Commit

Permalink
Release 1.7.22
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecRust committed Mar 20, 2023
1 parent e1249c5 commit 46abb4f
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,8 +2,18 @@

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

#### [1.7.22](https://github.com/AlecRust/protected-video/compare/1.7.21...1.7.22)

- Bump dependencies including Plyr 3.7.6 -> 3.7.7 [`3da6c20`](https://github.com/AlecRust/protected-video/commit/3da6c20b596e041657f02a229283bd2a6698fda9)
- Add "How can I style the player how I like?" FAQ [`4e54ec7`](https://github.com/AlecRust/protected-video/commit/4e54ec7b9156051fcedf56591df5ef308b04bec2)
- Add link to Plyr's styling documentation on plugin settings page [`e1249c5`](https://github.com/AlecRust/protected-video/commit/e1249c54f0500d9c4b24617d6908bfc459ae21b6)
- Add "The display of the player is broken/it doesn't work" FAQ [`7fabe50`](https://github.com/AlecRust/protected-video/commit/7fabe508226c91d2665b2dc8367055f012b439a2)
- Update plugin "Tested up to" to WordPress 6.2 [`20af35c`](https://github.com/AlecRust/protected-video/commit/20af35ca014305713fac59f6d3114cc2fda7aa15)

#### [1.7.21](https://github.com/AlecRust/protected-video/compare/1.7.20...1.7.21)

> 10 March 2023
- Bump dependencies including Plyr 3.7.3 -> 3.7.6 [`e77db03`](https://github.com/AlecRust/protected-video/commit/e77db036eb5ced989f8078266985a7f0ea8e24ef)

#### [1.7.20](https://github.com/AlecRust/protected-video/compare/1.7.19...1.7.20)
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "protected-video",
"version": "1.7.21",
"version": "1.7.22",
"private": true,
"description": "YouTube/Vimeo player that prevents easy sharing of the video.",
"main": "admin/js/protected-video-block.js",
Expand Down
4 changes: 2 additions & 2 deletions protected-video.php
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.7.21
* Version: 1.7.22
* Author: Alec Rust
* Author URI: https://www.alecrust.com/
* Text Domain: protected-video
Expand All @@ -25,7 +25,7 @@
/**
* Plugin version.
*/
define('PROTECTED_VIDEO_VERSION', '1.7.21');
define('PROTECTED_VIDEO_VERSION', '1.7.22');

/**
* Load core plugin class defining all hooks.
Expand Down
31 changes: 29 additions & 2 deletions readme.txt
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.2
Stable tag: 1.7.21
Stable tag: 1.7.22
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 @@ -80,6 +80,25 @@ A `service` of either `youtube` or `vimeo` must be specified when using the Shor

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.

= How can I style the player how I like? =

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>
`

= 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.

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.

== Screenshots ==

1. Protected Video block in the Block Editor.
Expand All @@ -89,7 +108,15 @@ The [Plyr](https://plyr.io/) player is responsive by default and will grow to fi

== Changelog ==

= 1.7.21 =
= 1.7.22 =

* Bump dependencies including Plyr 3.7.6 -&gt; 3.7.7
* Add "How can I style the player how I like?" FAQ
* Add link to Plyr's styling documentation on plugin settings page
* Add "The display of the player is broken/it doesn't work" FAQ
* Update plugin "Tested up to" to WordPress 6.2

= 1.7.21 - 2023-03-10 =

* Bump dependencies including Plyr 3.7.3 -&gt; 3.7.6

Expand Down

0 comments on commit 46abb4f

Please sign in to comment.