wp/wp-includes/js/mediaelement/wp-playlist.js
changeset 16 a86126ab1dd4
parent 9 177826044cd9
child 21 48c4eec2b7e6
equal deleted inserted replaced
15:3d4e9c994f10 16:a86126ab1dd4
   175 	 * Initialize media playlists in the document.
   175 	 * Initialize media playlists in the document.
   176 	 *
   176 	 *
   177 	 * Only initializes new playlists not previously-initialized.
   177 	 * Only initializes new playlists not previously-initialized.
   178 	 *
   178 	 *
   179 	 * @since 4.9.3
   179 	 * @since 4.9.3
   180 	 * @returns {void}
   180 	 * @return {void}
   181 	 */
   181 	 */
   182 	function initialize() {
   182 	function initialize() {
   183 		$( '.wp-playlist:not(:has(.mejs-container))' ).each( function() {
   183 		$( '.wp-playlist:not(:has(.mejs-container))' ).each( function() {
   184 			new WPPlaylistView( { el: this } );
   184 			new WPPlaylistView( { el: this } );
   185 		} );
   185 		} );