|
7 | 7 | * @license MIT |
8 | 8 | * |
9 | 9 | * @wordpress-plugin |
10 | | - * Plugin Name: Able Player |
| 10 | + * Plugin Name: Able Player WordPress plugin, accessible HTML5 media player |
11 | 11 | * Plugin URI: https://github.com/ableplayer/ableplayer-wordpress |
12 | 12 | * Description: This plug-in uses Able Player, an open-source fully-accessible cross-browser HTML5 media player, to embed audio or video within your WordPress page. |
13 | 13 | * Author: Terrill Thompson |
14 | 14 | * Author URI: http://terrillthompson.com |
15 | 15 | * Text Domain: ableplayer |
16 | 16 | * License: MIT |
17 | 17 | * License URI: https://github.com/ableplayer/ableplayer-wordpress/blob/master/LICENSE |
18 | | - * Domain Path: lang |
| 18 | + * Domain Path: /lang |
19 | 19 | * Version: 1.2.1 |
20 | 20 | */ |
21 | 21 |
|
@@ -46,8 +46,8 @@ function ableplayer_plugin_deactivated() { |
46 | 46 | */ |
47 | 47 | function ableplayer_enqueue_scripts() { |
48 | 48 | // Register/enqueue other dependencies. |
49 | | - wp_enqueue_script( 'js-cookie', plugins_url( 'thirdparty', __FILE__ ) . '/js.cookie.js', array( 'jquery' ) ); |
50 | | - wp_enqueue_script( 'vimeo', 'https://player.vimeo.com/api/player.js' ); |
| 49 | + wp_enqueue_script( 'js-cookie', plugins_url( 'thirdparty', __FILE__ ) . '/js.cookie.js', array( 'jquery' ), ABLEPLAYER_VERSION ); |
| 50 | + wp_enqueue_script( 'vimeo', 'https://player.vimeo.com/api/player.js', array(), ABLEPLAYER_VERSION ); |
51 | 51 |
|
52 | 52 | // if the environment is production, use minified files. Otherwise, inherit the value of SCRIPT_DEBUG. |
53 | 53 | $is_production = ( function_exists( 'wp_get_environment_type' ) && wp_get_environment_type() === 'production' ) ? true : SCRIPT_DEBUG; |
|
0 commit comments