Skip to content

Commit 7d83d26

Browse files
committed
deploy: ac23798
1 parent 5c89534 commit 7d83d26

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
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#line93">line 93</a>
160+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line95">line 95</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#line82">line 82</a>
160+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line84">line 84</a>
161161
</li></ul></dd>
162162

163163

ableplayer.php.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,13 @@
9595
'strategy' => 'defer',
9696
)
9797
);
98+
$settings = ableplayer_get_settings();
99+
unset( $settings['last_shortcode'] );
98100
wp_localize_script(
99101
'ableplayer-video',
100102
'ableplayer',
101103
array(
102-
'settings' => ableplayer_get_settings(),
104+
'settings' => $settings,
103105
)
104106
);
105107

@@ -461,7 +463,7 @@
461463
'width' => '',
462464
'height' => '',
463465
'heading' => '',
464-
'speed' => 'animals',
466+
'speed' => ableplayer_get_settings( 'default_speed' ),
465467
'start' => '',
466468
'volume' => '',
467469
'seekinterval' => '',
@@ -582,7 +584,7 @@
582584
if ( ! empty( $all_atts['heading'] ) &amp;&amp; 'auto' !== $all_atts['heading'] ) {
583585
$o .= ' data-heading-level="' . esc_attr( $all_atts['heading'] ) . '"';
584586
}
585-
if ( ! empty( $all_atts['speed'] ) &amp;&amp; ableplayer_get_settings( 'default_speed' ) !== $all_atts['speed'] ) {
587+
if ( ! empty( $all_atts['speed'] ) ) {
586588
$o .= ' data-speed-icons="' . esc_attr( $all_atts['speed'] ) . '"';
587589
}
588590
if ( ! empty( $all_atts['start'] ) ) {

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#line106">line 106</a>
160+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line108">line 108</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#line370">line 370</a>
139+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line372">line 372</a>
140140
</li></ul></dd>
141141

142142

0 commit comments

Comments
 (0)