import mql from '@microlink/mql' const { data } = await mql('https://www.youtube.com/watch?v=9P6rdqiybaw', { iframe: true })
iframe
Type:
Default: false
<boolean> | <object>
Default: false
It enables embedded detection over the target url.
When is present, a new
iframe
data field will be returned when is possible. Any URL that implements oEmbed
specification is supported.If the discovery has been done successfully, the
iframe
field will be now present into the response:The `iframe` field has `scripts` and `html` subfields.
Additionally, you can supply any consumer query parameter supported by
specification
, like maxWidth
or maxHeight
:import mql from '@microlink/mql' const { data } = await mql('https://www.youtube.com/watch?v=9P6rdqiybaw', { iframe: { maxWidth: 350 } })
Keep in mind the support for this query parameters depend on every provider implementation.
Most of the most popular sites over the Internet supports oEmbed protocol.
A non exhaustive list of supported providers are:
- 23HQ
- Abraia
- Acast
- ActBlue
- Adilo
- afreecaTV
- Altium LLC
- Altru
- amCharts Live Editor
- Amtraker
- Animatron
- Animoto
- AnnieMusic
- ArcGIS StoryMaps
- Archivos
- AssemblrWorld
- audio.com
- Audioboom
- AudioClip
- Audiomack
- Audiomeans
- Avocode
- Backtracks
- Balsamiq Cloud
- Beams.fm
- Beautiful.AI
- Behance
- Blackfire.io
- Blogcast
- Bookingmood
- Box Office Buz
- BrioVR
- Bumper
- Buttondown
- Byzart Project
- Cacoo
- Canva
- Cardinal Blue
- CatBoat
- Ceros
- Chainflix
- ChartBlocks
- chirbit.com
- CHROCO
- CircuitLab
- Clipland
- Clyp
- CoCo Corp
- CodeHS
- CodePen
- Codepoints
- CodeSandbox
- CollegeHumor
- Commaful
- Coub
- Crowd Ranking
- Crumb.sh
- Cueup DJ Booking
- Curated
- CustomerDB
- dadan
- Dailymotion
- DALEXNI
- Datawrapper
- Deseret News
- Deviantart.com
- Digiteka
- DocDroid
- Docswell
- Dotsub
- Dream Broker
- DTube
- EchoesHQ
- eduMedia
- EgliseInfo
- Embedery
- Ethfiddle
- EventLive
- everviz
- Ex.Co
- Eyrie
- Facebook
- Fader
- Faithlife TV
- Firework
- FITE
- Flat
- Flickr
- Flourish
- FlowHubOrg
- Fooday
- FOX SPORTS Australia
- FrameBuzz
- Framer
- Geograph Britain and Ireland
- Geograph Channel Islands
- Geograph Germany
- Getty Images
- Gifnote
- GIPHY
- GloriaTV
- GMetri
- Gong
- Grain
- GT Channel
- Gumlet
- Gyazo
- HASH
- hearthis.at
- Heyzine
- hihaho
- HippoVideo
- Homey
- HuffDuffer
- Hulu
- Idomoo
- iFixit
- IFTTT
- iHeartRadio
- iMenuPro
- Incredible
- Indaco
- Infogram
- Infoveave
- Injurymap
- Inoreader
- inphood
- Instagram
- Insticator Inc
- Issuu
- itemis CREATE
- Jovian
- KakaoTv
- Kickstarter
- Kidoju
- Kirim.Email
- Kit
- Kitchenbowl
- kmdr
- Knacki
- Knowledge Pad
- Kooapp
- Kurozora
- LearningApps.org
- LeMans.Pod
- Lille.Pod
- Line Place
- Livestream
- LottieFiles
- Ludus
- Lumiere
- MathEmbed
- Matterport
- me.me
- Mediastream
- Medienarchiv der Künste - Zürcher Hochschule der Künste
- Mermaid Ink
- Microsoft Stream
- Minerva
- Miro
- MixCloud
- Mixpanel
- Moby Picture
- Music Box Maniacs
- myBeweeg
- Namchey
- nanoo.tv
- Nasjonalbiblioteket
- Natural Atlas
- NDLA - Norwegian Digital Learning Arena
- nfb.ca
- NoPaste
- Observable
- Odds.com.au
- Odesli (formerly Songlink)
- Odysee
- Official FM
- Omniscope
- Omny Studio
- Orbitvu
- Origits
- Outplayed.tv
- Overflow
- OZ
- Padlet
- Panda Video
- Pastery
- Picturelfy
- Piggy
- Pikasso
- PingVP
- Pinpoll
- Pinterest
- PitchHub
- Pixdor
- Plusdocs
- Podbean
- Poll Daddy
- Portfolium
- Present
- Prezi Video
- QTpi
- Quiz.biz
- Quizz.biz
- RadioPublic
- Raindrop
- rcvis
- Reddit
- ReleaseWire
- Replit
- ReverbNation
- Roomshare
- RoosterTeeth
- Rumble
- Runkit
- Saooti
- Sapo Videos
- Screen9
- Screencast.com
- Screenr
- ScribbleMaps
- Scribd
- SendtoNews
- ShortNote
- Shoudio
- Show by Animaker
- Show the Way, actionable location info
- Simplecast
- Sizzle
- Sketchfab
- SlideShare
- SmashNotes
- Smeme
- Smrthi
- SmugMug
- SocialExplorer
- SoundCloud
- SpeakerDeck
- Spotify
- Spotlightr
- Spreaker
- SproutVideo
- Spyke
- Stanford Digital Repository
- Streamable
- Streamio
- Subscribi
- Sudomemo
- Sutori
- Sway Office
- Sway
- Synthesia
- TED
- The New York Times
- They Said So
- TickCounter
- TikTok
- Tonic Audio
- Toornament
- Topy
- Totango
- Trinity Audio
- Tumblr
- Tuxx
- tvcf
- Twinmotion
- TypeCast
- Typlog
- UAPod
- University of Cambridge Map
- UnivParis1.Pod
- Upec.Pod
- Ustream
- uStudio, Inc.
- VeeR VR
- VeeR VR
- VEVO
- Videfit
- VidMount
- Vidyard
- Vimeo
- Viostream
- Viously
- Vizydrop
- Vlipsy
- VLIVE
- Vouch
- VoxSnap
- Waltrack
- Wave.video
- wecandeo
- Whimsical
- Wistia, Inc.
- wizer.me
- Wokwi
- Wolfram Cloud
- WordPress.com
- X
- YouTube
- YUMPU
- Zeplin
- ZingSoft
- ZnipeTV
- Zoomable