Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (52 sloc) 1.56 KB
title
loop

Type: boolean
Default: true

It specifies that the video will start over again, every time it finishes.

with loop 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, loop: true }) }) </script>

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

with loop 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: true, loop: false }) }) </script>

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

You can’t perform that action at this time.