autoPlay

Type: boolean
Default: true
Determine if the video will automatically start playing as soon as it can do so without stopping.
import Microlink from '@microlink/react'

export default () => (
  <Microlink url='https://instagram.com/p/BXHj-DllyYU' media='video' autoPlay />
)

When a video is playing, you can stop it just clicking over the image.

The default behavior is to start the video playing; You can change that passing a autoPlay: false.
import Microlink from '@microlink/react'

export default () => (
  <Microlink
    url='https://instagram.com/p/BXHj-DllyYU'
    media='video'
    autoPlay={false}
  />
)

autoPlay

Type: boolean
Default: true
Determine if the video will automatically start playing as soon as it can do so without stopping.
import Microlink from '@microlink/react'

export default () => (
  <Microlink url='https://instagram.com/p/BXHj-DllyYU' media='video' autoPlay />
)

When a video is playing, you can stop it just clicking over the image.

The default behavior is to start the video playing; You can change that passing a autoPlay: false.
import Microlink from '@microlink/react'

export default () => (
  <Microlink
    url='https://instagram.com/p/BXHj-DllyYU'
    media='video'
    autoPlay={false}
  />
)

By using this website you agree to ourprivacy.