We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50ed7c4 commit 6480946Copy full SHA for 6480946
src/assets/js/media.js
@@ -9,6 +9,7 @@ if ( 0 !== ableplayer_selectors.length ) {
9
const mediaEls = document.querySelectorAll( ableplayer_selectors );
10
if ( mediaEls ) {
11
mediaEls.forEach((el,index,listObj) => {
12
+ el.removeAttribute( 'controls' );
13
if ( ! el.hasAttribute( 'data-able-player' ) ) {
14
el.setAttribute( 'data-able-player', 'true' );
15
}
0 commit comments