Skip to content

Commit a7a97c8

Browse files
committed
deploy: a8448cd
1 parent a68da64 commit a7a97c8

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

ableplayer.php.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@
4141
* Text Domain: ableplayer
4242
* License: MIT
4343
* License URI: https://github.com/ableplayer/ableplayer-wordpress/blob/master/LICENSE
44-
* Version: 2.2.0-beta1
44+
* Version: 2.2.0
4545
*/
4646

4747
// Configure debugging mode.
4848
define( 'ABLEPLAYER_DEBUG', false );
4949

5050
// Get current version number.
51-
define( 'ABLEPLAYER_VERSION', '2.2.0-beta1' );
51+
define( 'ABLEPLAYER_VERSION', '2.2.0' );
5252

5353
require_once plugin_dir_path( __FILE__ ) . 'inc/settings.php';
5454
require_once plugin_dir_path( __FILE__ ) . 'inc/generator.php';
@@ -389,6 +389,10 @@
389389
'default' => '',
390390
'description' => __( 'YouTube ID or URL of an alternative described version of a video.', 'ableplayer' ),
391391
),
392+
'youtube-sign-src' => array(
393+
'default' => '',
394+
'description' => __( 'YouTube ID or URL of a sign language interpreted version of a video.', 'ableplayer' ),
395+
),
392396
'youtube-nocookie' => array(
393397
'default' => '',
394398
'description' => __( 'If set to “true” the YouTube video will be embedded using the “youtube-nocookie.com” host.', 'ableplayer' ),
@@ -445,6 +449,7 @@
445449
'youtube-id' => '',
446450
'youtube-desc-id' => '',
447451
'youtube-nocookie' => '',
452+
'youtube-sign-src' => '',
448453
'vimeo-id' => '',
449454
'vimeo-desc-id' => '',
450455
'media-id' => '',
@@ -611,6 +616,9 @@
611616
if ( ! empty( $all_atts['youtube-desc-id'] ) ) {
612617
$o .= ' data-youtube-desc-id="' . esc_attr( $all_atts['youtube-desc-id'] ) . '"';
613618
}
619+
if ( ! empty( $all_atts['youtube-sign-src'] ) ) {
620+
$o .= ' data-youtube-sign-src="' . esc_attr( $all_atts['youtube-sign-src'] ) . '"';
621+
}
614622
if ( ! empty( $all_atts['youtube-nocookie'] ) ) {
615623
$o .= ' data-youtube-nocookie="' . esc_attr( $all_atts['youtube-nocookie'] ) . '"';
616624
}

ableplayer_parameters.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ <h5>Parameters:</h5>
136136

137137
<dt class="tag-source">Source:</dt>
138138
<dd class="tag-source"><ul class="dummy"><li>
139-
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line372">line 372</a>
139+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line376">line 376</a>
140140
</li></ul></dd>
141141

142142

0 commit comments

Comments
 (0)