Skip to content

Commit a43151c

Browse files
committed
deploy: c4d3979
1 parent 81284aa commit a43151c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ableplayer.php.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@
3333
* @license MIT
3434
*
3535
* @wordpress-plugin
36-
* Plugin Name: Able Player
36+
* Plugin Name: Able Player WordPress plugin, accessible HTML5 media player
3737
* Plugin URI: https://github.com/ableplayer/ableplayer-wordpress
3838
* 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.
3939
* Author: Terrill Thompson
4040
* Author URI: http://terrillthompson.com
4141
* Text Domain: ableplayer
4242
* License: MIT
4343
* License URI: https://github.com/ableplayer/ableplayer-wordpress/blob/master/LICENSE
44-
* Domain Path: lang
44+
* Domain Path: /lang
4545
* Version: 1.2.1
4646
*/
4747

@@ -72,8 +72,8 @@
7272
*/
7373
function ableplayer_enqueue_scripts() {
7474
// Register/enqueue other dependencies.
75-
wp_enqueue_script( 'js-cookie', plugins_url( 'thirdparty', __FILE__ ) . '/js.cookie.js', array( 'jquery' ) );
76-
wp_enqueue_script( 'vimeo', 'https://player.vimeo.com/api/player.js' );
75+
wp_enqueue_script( 'js-cookie', plugins_url( 'thirdparty', __FILE__ ) . '/js.cookie.js', array( 'jquery' ), ABLEPLAYER_VERSION );
76+
wp_enqueue_script( 'vimeo', 'https://player.vimeo.com/api/player.js', array(), ABLEPLAYER_VERSION );
7777

7878
// if the environment is production, use minified files. Otherwise, inherit the value of SCRIPT_DEBUG.
7979
$is_production = ( function_exists( 'wp_get_environment_type' ) && wp_get_environment_type() === 'production' ) ? true : SCRIPT_DEBUG;

0 commit comments

Comments
 (0)