Video wall<mds-video-wall>Generated from @maggioli-design-system/magma@2.3.0dist/documentation.json. Encapsulation: shadow.
Magma components are web components: custom elements you write like HTML tags, with any framework or without one. Props configure them, events tell you what happened, methods are functions you call on the element and slots take the content you put inside it.
Props
Set a prop as an HTML attribute in the markup, or as a property from JavaScript. The Attribute column gives the name of the attribute, a dash when it is the same as the property; props without one, such as arrays and functions, are set from JavaScript only. To turn a boolean attribute off, remove it: never write disabled="false".autoplay
-
booleantrueSpecifies that the video will start playing as soon as it is ready
loop
-
booleantrueSpecifies that the video will start over again, every time it is finished
muted
-
booleantrueSpecifies that the audio output of the video should be muted
noise
-
classic | none | sharp | soft | tv | undefinednoneSpecifies if the video has a noise overlay effect
poster
-
string | undefinedSpecifies an image to be shown while the video is downloading
preload
-
auto | metadata | none | undefinedautoSpecifies if and how the author thinks the video should be loaded when the page loads. Note: The preload attribute is ignored if autoplay is present
src
-
string | undefinedSpecifies the URL of the video file
Slots
Slots take the content you write between the tags of the component. The default slot, the one without a name, accepts plain text, unless its description says otherwise. Content for a named slot goes on a direct child with the name of the slot in its slot attribute, such as slot="content".(default)Write browser support missing message here.
No slot name
contentAdd video content overlay here, add text string, HTML elements or components to this slot.