Mixin: mixin

wp.media. mixin

Methods


<static> removePlayer()

Override the MediaElement method for removing a player. MediaElement tries to pull the audio/video tag out of its container and re-add it to the DOM.
Source:

<static> unsetPlayers()

Allows any class that has set 'player' to a MediaElementPlayer instance to remove the player when listening to events. Examples: modal closes, shortcode properties are removed, etc.
Source: