nl_tokens: Setup aria attribute for play and iframe title
pl_tokens: function setTitle ( ) { // Find the current text var label = i18n . get ( 'play' , this . config ) ; // If there's a media title set, use that for the label if ( is$1 . string ( this . config . title ) && ! is$1 . empty ( this . config . title ) ) { label += ", " . concat ( this . config . title ) ; } // If there's a play button, set label Array . from ( this . elements . buttons . play || [ ] ) . forEach ( function ( button ) { button . setAttribute ( 'aria-label' , label ) ; } ) ; // Set iframe title // https://github.com/sampotts/plyr/issues/124 if ( this . isEmbed ) { var iframe = getElement . call ( this , 'iframe' ) ; if ( ! is$1 . element ( iframe ) ) { return ; } // Default to media type var title = ! is$1 . empty ( this . config . <mask> ) ? this . config . title : 'video' ; var format = i18n . get ( 'frameTitle' , this . config ) ; iframe . setAttribute ( 'title' , format . replace ( '{title}' , title ) ) ; } }