Function: wp_mediaelement_fallback

wp_mediaelement_fallback( string $url )

Provides a No-JS Flash fallback as a last resort for audio / video.

Parameters

Name Type(s) Default Value Description
$url string

The media element URL.

Returns

string

Fallback HTML.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.