embed

v0.86.0arrow_drop_down
v0.86.0
v0.85.0
v0.84.0
STATUS
Passing
DOWNLOADS
86
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
3 months ago
subject
Сalled on click.
1 contributor
Like
Use embed in your project ?
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.dev
Component Example
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
modified
modified
modified
modified
modified
modified
modified
chevron_left
chevron_right

Сalled on click.

Embed ()

An embed displays content from other websites like YouTube videos or Google Maps.

Properties
NameTypeDescription
as
custom

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.