Home / Type/ MediaHTMLAttributes Type — astro Architecture

MediaHTMLAttributes Type — astro Architecture

Architecture documentation for the MediaHTMLAttributes type/interface in astro-jsx.d.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  9f0d93a3_395b_5da2_89e1_f973ba7d7f6a["MediaHTMLAttributes"]
  d523c4d2_c1d1_7d83_faae_8b6b7c0c800a["astro-jsx.d.ts"]
  9f0d93a3_395b_5da2_89e1_f973ba7d7f6a -->|defined in| d523c4d2_c1d1_7d83_faae_8b6b7c0c800a
  style 9f0d93a3_395b_5da2_89e1_f973ba7d7f6a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/astro-jsx.d.ts lines 901–914

	interface MediaHTMLAttributes extends HTMLAttributes {
		autoplay?: boolean | string | undefined | null;
		controls?: boolean | string | undefined | null;
		controlslist?: string | undefined | null;
		crossorigin?: string | undefined | null;
		loop?: boolean | string | undefined | null;
		mediagroup?: string | undefined | null;
		muted?: boolean | string | undefined | null;
		playsinline?: boolean | string | undefined | null;
		preload?: string | undefined | null;
		src?: string | undefined | null;
		// https://www.w3.org/TR/remote-playback/#the-disableremoteplayback-attribute
		disableRemotePlayback?: boolean | string | undefined | null;
	}

Frequently Asked Questions

What is the MediaHTMLAttributes type?
MediaHTMLAttributes is a type/interface in the astro codebase, defined in packages/astro/astro-jsx.d.ts.
Where is MediaHTMLAttributes defined?
MediaHTMLAttributes is defined in packages/astro/astro-jsx.d.ts at line 901.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free