Skip to content

Commit d7dedda

Browse files
committed
deploy: 56dfebc
1 parent 371314d commit d7dedda

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

able_player_css.html

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

158158
<dt class="tag-source">Source:</dt>
159159
<dd class="tag-source"><ul class="dummy"><li>
160-
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line97">line 97</a>
160+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line100">line 100</a>
161161
</li></ul></dd>
162162

163163

able_player_js.html

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

158158
<dt class="tag-source">Source:</dt>
159159
<dd class="tag-source"><ul class="dummy"><li>
160-
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line86">line 86</a>
160+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line89">line 89</a>
161161
</li></ul></dd>
162162

163163

ableplayer.php.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,16 @@
7474
* Load styles and scripts to head.
7575
*/
7676
function ableplayer_enqueue_scripts() {
77-
$debug = ( SCRIPT_DEBUG || ABLEPLAYER_DEBUG ) ? true : false;
78-
$version = ABLEPLAYER_VERSION;
79-
$version = ( $debug ) ? $version . '-' . wp_rand( 1000, 9999 ) : $version;
77+
$debug = ( SCRIPT_DEBUG || ABLEPLAYER_DEBUG ) ? true : false;
78+
$version = ABLEPLAYER_VERSION;
79+
$version = ( $debug ) ? $version . '-' . wp_rand( 1000, 9999 ) : $version;
80+
$dependencies = array( 'jquery', 'ableplayer-video' );
81+
8082
// Register/enqueue other dependencies.
8183
if ( 'true' === ableplayer_get_settings( 'cookies' ) ) {
8284
$cookie_js = ( $debug ) ? '/js.cookie.js' : '/js.cookie.min.js';
8385
wp_enqueue_script( 'js-cookie', plugins_url( 'thirdparty', __FILE__ ) . $cookie_js, array(), $version, true );
86+
$dependencies = array( 'js-cookie', 'jquery', 'ableplayer-video' );
8487
}
8588
if ( 'true' === ableplayer_get_settings( 'vimeo' ) ) {
8689
wp_enqueue_script( 'vimeo', 'https://player.vimeo.com/api/player.js', array(), $version, true );
@@ -132,7 +135,6 @@
132135
*/
133136
$css_dir = apply_filters( 'able_player_css', plugins_url( '', __FILE__ ) . '/' . $css_file, $debug );
134137

135-
$dependencies = array( 'js-cookie', 'jquery', 'ableplayer-video' );
136138
/**
137139
* Filter the Able Player script dependencies.
138140
*

ableplayer_dependencies.html

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

158158
<dt class="tag-source">Source:</dt>
159159
<dd class="tag-source"><ul class="dummy"><li>
160-
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line110">line 110</a>
160+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line112">line 112</a>
161161
</li></ul></dd>
162162

163163

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#line378">line 378</a>
139+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line380">line 380</a>
140140
</li></ul></dd>
141141

142142

0 commit comments

Comments
 (0)