Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (50 sloc) 1.47 KB
title
controls

Type: boolean
Default: true

Display UI controls to handle playing/pausing the cards video.

with controls enabled

<MultiCodeEditor languages={{ React: `import Microlink from '@microlink/react'

export default () => ( ) , Vanilla:

<script> document.addEventListener('DOMContentLoaded', function (event) { microlink('a', { media: 'video', autoPlay: false, controls: true }) }) </script>

, Jekyll: {:.card-preview data-media='video' data-autoPlay='false' data-controls='true'} `}} />

with controls disabled

<MultiCodeEditor languages={{ React: `import Microlink from '@microlink/react'

export default () => ( ) , Vanilla:

<script> document.addEventListener('DOMContentLoaded', function (event) { microlink('a', { media: 'video', autoPlay: false, controls: false }) }) </script>

, Jekyll: {:.card-preview data-media='video' data-autoPlay='false' data-controls='false'} `}} />

You can’t perform that action at this time.