autoPlay
Type: <boolean>
Default: true
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
/>
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}
/>