Skip to content

streamich/react-embed

Repository files navigation

react-embed

import Embed from 'react-embed';


<Embed url='https://www.youtube.com/watch?v=soICQ3B2kEk' />


<Embed url='https://soundcloud.com/s1sh1/kravts-glupyy-molodoy-na-meli' />


<Embed url='https://twitter.com/hercuppacoffee/status/911958476678561792' />


Dark mode

<Embed isDark url='https://twitter.com/hercuppacoffee/status/911958476678561792' />

Responsive

<Embed url='...' />
<Embed width={300} url='...' />


Supported


DailyMotion
CodeSandbox
Facebook Video
Figma
Gfycat
Gist
Google Maps
imgur
Instagram
JSFiddle
MixCloud
Replit
SoundCloud
Twitch Channel
Twitch Video
Twitter Tweet
Vimeo
YouTube
Dropbox
Document files: .pdf
Audio files: .mp3, .wav, .weba, .aac, .oga, .m4a, .mp4, .ogg, .opus, .ts, .wma, .mp4a, .mpga, .mp2, .mp2a, .m2a, .m3a
Video files: .spx, .mp4, .og, .ogv, .webm, .mov, .m4v, .m3u8, .mpd