embed
v0.88.2arrow_drop_downv0.88.2
v0.86.0
v0.85.0
v0.84.0
STATUS
Passing
DOWNLOADS
134
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
3 years ago
SIZE
74 KB
Сalled on click.
1 contributor
Like
Install embed as a package?
Copied
npm i @bit/semantic-org.semantic-ui-react.embed
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example 
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout







chevron_left
chevron_right
Сalled on click.
Embed ()
An embed displays content from other websites like YouTube videos or Google Maps.
Properties
Name | Type | Description |
---|---|---|
as | elementType | An element type to render as (string or function). |
active | bool | An embed can be active. |
aspectRatio | '4:3' | '16:9' | '21:9' | An embed can specify an alternative aspect ratio. |
autoplay | custom | Setting to true or false will force autoplay. |
brandedUI | custom | Whether to show networks branded UI like title cards, or after video calls to action. |
children | node | Primary content. |
className | string | Additional classes. |
color | custom | Specifies a default chrome color with Vimeo or YouTube. |
content | custom | Shorthand for primary content. |
defaultActive | bool | Initial value of active. |
hd | custom | Whether to prefer HD content. |
icon | custom | Specifies an icon to use with placeholder content. |
id | custom | Specifies an id for source. |
iframe | custom | Shorthand for HTML iframe. |
onClick | function | React’s original SyntheticEvent. |
placeholder | string | A placeholder image for embed. |
source | custom | Specifies a source to use. |
url | custom | Specifies a url to use for embed. |