Skip to content

Commit 804b17b

Browse files
committed
deploy: 090e4af
1 parent 8239afb commit 804b17b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ableplayer.php.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@
466466
return false;
467467
} else {
468468
$type = get_post_mime_type( $all_atts['media-id'] );
469-
$type = ( $type === 'video/quicktime' ) ? 'video/mp4' : $type;
469+
$type = ( 'video/quicktime' === $type ) ? 'video/mp4' : $type;
470470
$element = ( wp_attachment_is( 'audio', $all_atts['media-id'] ) ) ? 'audio' : 'video';
471471
$source = '<source type="' . esc_attr( $type ) . '" src="' . esc_url( $media_id ) . '"%datasrc%>' . PHP_EOL;
472472
}

0 commit comments

Comments
 (0)