We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b060871 commit c0f2396Copy full SHA for c0f2396
src/ableplayer.php
@@ -420,7 +420,7 @@ function ableplayer_shortcode( $atts, $content = null ) {
420
'volume' => '',
421
'seekinterval' => '',
422
'nowplaying' => '',
423
- 'skin' => '2020',
+ 'skin' => '',
424
),
425
$atts,
426
'ableplayer'
@@ -542,7 +542,7 @@ function ableplayer_shortcode( $atts, $content = null ) {
542
if ( ! empty( $all_atts['nowplaying'] ) ) {
543
$o .= ' data-show-now-playing="' . esc_attr( $all_atts['nowplaying'] ) . '"';
544
}
545
- if ( ! empty( $all_atts['skin'] ) ) {
+ if ( ! empty( $all_atts['skin'] ) && '2020' !== $all_atts['skin'] ) {
546
$o .= ' data-skin="' . esc_attr( $all_atts['skin'] ) . '"';
547
548
if ( ! empty( $all_atts['youtube-id'] ) ) {
0 commit comments