We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8239afb commit 804b17bCopy full SHA for 804b17b
ableplayer.php.html
@@ -466,7 +466,7 @@
466
return false;
467
} else {
468
$type = get_post_mime_type( $all_atts['media-id'] );
469
- $type = ( $type === 'video/quicktime' ) ? 'video/mp4' : $type;
+ $type = ( 'video/quicktime' === $type ) ? 'video/mp4' : $type;
470
$element = ( wp_attachment_is( 'audio', $all_atts['media-id'] ) ) ? 'audio' : 'video';
471
$source = '<source type="' . esc_attr( $type ) . '" src="' . esc_url( $media_id ) . '"%datasrc%>' . PHP_EOL;
472
}
0 commit comments