Skip to content

Commit 03712e2

Browse files
committed
Use consistent example YouTube ID
1 parent 979fbbe commit 03712e2

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.cliff/cliff-readme-txt.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This plugin is open source and contributions are welcome [on GitHub](https://git
3636
1. Install and activate the plugin
3737
2. Optionally configure player theme at **Settings > Protected Video**
3838
3. Search for and use “Protected Video” block in the Block Editor
39-
4. Alternatively use the Shortcode e.g. `[protected_video url="https://youtu.be/c_hO_fjmMnk" service="youtube"]`
39+
4. Alternatively use the Shortcode e.g. `[protected_video url="https://youtu.be/aqz-KE-bpKQ" service="youtube"]`
4040
4141
== Frequently Asked Questions ==
4242
@@ -94,7 +94,7 @@ The Shortcode is provided as an alternative embed method that still provides the
9494
This is the format to use if you'd like to use the Shortcode embed method:
9595
9696
`
97-
[protected_video url="https://youtu.be/c_hO_fjmMnk" service="youtube"]
97+
[protected_video url="https://youtu.be/aqz-KE-bpKQ" service="youtube"]
9898
`
9999
100100
A `service` of either `youtube` or `vimeo` must be specified when using the Shortcode embed method.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Install from the [WordPress Plugin Directory](https://wordpress.org/plugins/prot
2020

2121
To embed a video either search for "Protected Video" in the Block Editor, or use the Shortcode e.g.
2222

23-
[protected_video url="https://youtu.be/c_hO_fjmMnk" service="youtube"]
23+
[protected_video url="https://youtu.be/aqz-KE-bpKQ" service="youtube"]
2424

2525
## Development
2626

includes/class-protected-video-public.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct( $plugin_name, $version ) {
4141
/**
4242
* Render Shortcode (Gutenberg block alternative).
4343
*
44-
* Usage example: [protected_video url="https://youtu.be/c_hO_fjmMnk" service="youtube"]
44+
* Usage example: [protected_video url="https://youtu.be/aqz-KE-bpKQ" service="youtube"]
4545
*/
4646
public function render_shortcode( $atts ) {
4747
$atts = shortcode_atts(

src/block.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"category": "embed",
88
"example": {
99
"attributes": {
10-
"videoUrl": "https://www.youtube.com/watch?v=9bZkp7q19f0",
11-
"videoId": "9bZkp7q19f0",
10+
"videoUrl": "https://www.youtube.com/watch?v=aqz-KE-bpKQ",
11+
"videoId": "aqz-KE-bpKQ",
1212
"videoService": "youtube"
1313
}
1414
},

src/edit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default function Edit({ attributes, setAttributes }) {
6363
value={videoUrl}
6464
onChange={handleVideoUrlChange}
6565
placeholder={__(
66-
'e.g. https://youtu.be/c_hO_fjmMnk',
66+
'e.g. https://youtu.be/aqz-KE-bpKQ',
6767
'protected-video'
6868
)}
6969
/>

0 commit comments

Comments
 (0)