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.- CLI
- JavaScript
- Shell
- Python
- Ruby
const mql = require('@microlink/mql')
const { status, data } = await mql(
'https://www.youtube.com/watch?v=9P6rdqiybaw',
{ iframe: true }
)
mql.render(data)
If the discovery has been done successfully, the
iframe
field will be now present into the response:{ "iframe": { "html": "<blockquote class=\"twitter-tweet\"><p lang=\"en\" dir=\"ltr\">our new shiny website has landed <a href=\"https://t.co/KIrhYYcTRx\">https://t.co/KIrhYYcTRx</a> <a href=\"https://t.co/cM0se2UoIg\">pic.twitter.com/cM0se2UoIg</a></p>— microlink.io (@microlinkhq) <a href=\"https://twitter.com/microlinkhq/status/1032664633960800257?ref_src=twsrc%5Etfw\">August 23, 2018</a></blockquote>\n<script async src=\"https://platform.twitter.com/widgets.js\" charset=\"utf-8\"></script>\n", "scripts": [ { "async": true, "src": "https://platform.twitter.com/widgets.js", "charset": "utf-8" } ] } }
Additionally, you can supply any consumer query parameter supported by
specification
, like maxWidth
or maxHeight
:- CLI
- JavaScript
- Shell
- Python
- Ruby
const mql = require('@microlink/mql')
const { status, data } = await mql(
'https://www.youtube.com/watch?v=9P6rdqiybaw',
{ iframe: { maxWidth: 350 } }
)
mql.render(data)
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