Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

embed

v0.86.0arrow_drop_down
v0.86.0
v0.85.0
v0.84.0
STATUS
Passing
DOWNLOADS
89
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
8 months ago
SIZE
73 KB
Сalled on click.
1 contributor
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
React
React
Vue
Angular
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';
toggle layout
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
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.