|
41 | 41 | * Text Domain: ableplayer |
42 | 42 | * License: MIT |
43 | 43 | * License URI: https://github.com/ableplayer/ableplayer-wordpress/blob/master/LICENSE |
44 | | - * Version: 2.2.0-beta1 |
| 44 | + * Version: 2.2.0 |
45 | 45 | */ |
46 | 46 |
|
47 | 47 | // Configure debugging mode. |
48 | 48 | define( 'ABLEPLAYER_DEBUG', false ); |
49 | 49 |
|
50 | 50 | // Get current version number. |
51 | | -define( 'ABLEPLAYER_VERSION', '2.2.0-beta1' ); |
| 51 | +define( 'ABLEPLAYER_VERSION', '2.2.0' ); |
52 | 52 |
|
53 | 53 | require_once plugin_dir_path( __FILE__ ) . 'inc/settings.php'; |
54 | 54 | require_once plugin_dir_path( __FILE__ ) . 'inc/generator.php'; |
|
389 | 389 | 'default' => '', |
390 | 390 | 'description' => __( 'YouTube ID or URL of an alternative described version of a video.', 'ableplayer' ), |
391 | 391 | ), |
| 392 | + 'youtube-sign-src' => array( |
| 393 | + 'default' => '', |
| 394 | + 'description' => __( 'YouTube ID or URL of a sign language interpreted version of a video.', 'ableplayer' ), |
| 395 | + ), |
392 | 396 | 'youtube-nocookie' => array( |
393 | 397 | 'default' => '', |
394 | 398 | 'description' => __( 'If set to “true” the YouTube video will be embedded using the “youtube-nocookie.com” host.', 'ableplayer' ), |
|
445 | 449 | 'youtube-id' => '', |
446 | 450 | 'youtube-desc-id' => '', |
447 | 451 | 'youtube-nocookie' => '', |
| 452 | + 'youtube-sign-src' => '', |
448 | 453 | 'vimeo-id' => '', |
449 | 454 | 'vimeo-desc-id' => '', |
450 | 455 | 'media-id' => '', |
|
611 | 616 | if ( ! empty( $all_atts['youtube-desc-id'] ) ) { |
612 | 617 | $o .= ' data-youtube-desc-id="' . esc_attr( $all_atts['youtube-desc-id'] ) . '"'; |
613 | 618 | } |
| 619 | + if ( ! empty( $all_atts['youtube-sign-src'] ) ) { |
| 620 | + $o .= ' data-youtube-sign-src="' . esc_attr( $all_atts['youtube-sign-src'] ) . '"'; |
| 621 | + } |
614 | 622 | if ( ! empty( $all_atts['youtube-nocookie'] ) ) { |
615 | 623 | $o .= ' data-youtube-nocookie="' . esc_attr( $all_atts['youtube-nocookie'] ) . '"'; |
616 | 624 | } |
|
0 commit comments