Skip to content

controls

The legacy Microlink Embed SDK is no longer maintained. It keeps working and you can still use it, but it won't receive further updates. The new Microlink SDK — the microlink.io package — is the way to consume the Microlink API going forward.
Type: <boolean>
Default: true
Display UI controls for the card's media.
with controls enabled:
  • React
  • Vue
  • Jekyll
  • Vanilla
<template>
  <Microlink 
    url="https://www.youtube.com/watch?v=9P6rdqiybaw" 
    media="video" 
    :controls="true"
  />
</template>
with controls disabled:
  • React
  • Vue
  • Jekyll
  • Vanilla
<template>
  <Microlink 
    url="https://www.youtube.com/watch?v=9P6rdqiybaw" 
    media="video" 
    :controls="false"
  />
</template>