Skip to content

loop

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
Specifies if the media will start over again, every time it finishes.
with loop enabled:
  • React
  • Vue
  • Jekyll
  • Vanilla
<template>
  <Microlink 
    url="https://www.youtube.com/watch?v=9P6rdqiybaw" 
    media="video" 
    :auto-play="false" 
    :loop="true"
  />
</template>
with loop disabled:
  • React
  • Vue
  • Jekyll
  • Vanilla
<template>
  <Microlink 
    url="https://www.youtube.com/watch?v=9P6rdqiybaw" 
    media="video" 
    :auto-play="false" 
    :loop="false"
  />
</template>