autoPlay

Type: <boolean>
Default: true
Determine if the media will automatically start playing as soon as it can do so without stopping.
  • React
  • Vue
  • Jekyll
  • Vanilla
import Microlink from '@microlink/react'

<Microlink
  url='https://www.youtube.com/watch?v=9P6rdqiybaw'
  media='video'
  autoPlay
/>
To control the media just hover with your cursor.
The default behavior is to start the media playing; You can change that by passing autoPlay: false.
  • React
  • Vue
  • Jekyll
  • Vanilla
import Microlink from '@microlink/react'

<Microlink
  url='https://www.youtube.com/watch?v=9P6rdqiybaw'
  media='video'
  autoPlay={false}
/>