Skip to content

Commit f3a61f4

Browse files
committed
Update ableplayer.php
1 parent e57cacb commit f3a61f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ableplayer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ function ableplayer_shortcode( $atts, $content = null ) {
556556
if ( ! empty( $all_atts['heading'] ) && 'auto' !== $all_atts['heading'] ) {
557557
$o .= ' data-heading-level="' . esc_attr( $all_atts['heading'] ) . '"';
558558
}
559-
if ( ! empty( $all_atts['speed'] ) && $all_atts['speed'] !== ableplayer_get_settings( 'default_speed' ) ) {
559+
if ( ! empty( $all_atts['speed'] ) && ableplayer_get_settings( 'default_speed' ) !== $all_atts['speed'] ) {
560560
$o .= ' data-speed-icons="' . esc_attr( $all_atts['speed'] ) . '"';
561561
}
562562
if ( ! empty( $all_atts['start'] ) ) {
@@ -591,7 +591,7 @@ function ableplayer_shortcode( $atts, $content = null ) {
591591
}
592592
$o .= '>' . PHP_EOL;
593593

594-
$o .= "\t" . $source;
594+
$o .= "\t" . $source;
595595

596596
if ( ! empty( $tracks ) ) {
597597
$o .= implode( PHP_EOL . "\t", $tracks );

0 commit comments

Comments
 (0)