WordPress at a glance
function is not described

wp_mediaelement_fallback() WP 3.6.0

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

Hooks from the function

String. Fallback HTML.


wp_mediaelement_fallback( $url );
$url(string) (required)
The media element URL.


Since 3.6.0 Introduced.

Code of wp_mediaelement_fallback() WP 5.7

function wp_mediaelement_fallback( $url ) {
	 * Filters the Mediaelement fallback output for no-JS.
	 * @since 3.6.0
	 * @param string $output Fallback output for no-JS.
	 * @param string $url    Media file URL.
	return apply_filters( 'wp_mediaelement_fallback', sprintf( '<a href="%1$s">%1$s</a>', esc_url( $url ) ), $url );