Skip to content

Commit c7203c9

Browse files
committed
Set all skins to 2020.
1 parent 1538fae commit c7203c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/assets/js/media.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ if ( 0 !== ableplayer_selectors.length ) {
2323
if ( ! el.hasAttribute( 'id' ) ) {
2424
el.setAttribute( 'id', 'able-player-id-' + index );
2525
}
26+
if ( ! el.hasAttribute( 'data-skin' ) ) {
27+
el.setAttribute( 'data-skin', '2020' );
28+
}
2629
}
2730
childTracks = el.querySelectorAll( 'track' );
2831
childTracks.forEach((track,index,listObj) => {

0 commit comments

Comments
 (0)