Skip to content

streamich/react-embed

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
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