doz-fake-video-player

This component shows a sequences of images with a play button

Usage no npm install needed!

<script type="module">
  import dozFakeVideoPlayer from 'https://cdn.skypack.dev/doz-fake-video-player';
</script>

README

doz-fake-video-player

This component shows a sequences of images with a play button

Install

npm install doz-fake-video-player

Live here

Example

import Doz from 'doz'
import DozFakePlayer from 'doz-fake-video-player'

new Doz({
    root: '#app',
    template(h) {
        return h`
            <${DozFakePlayer}
                images="[
                    'https://radionorba.it/videothumb/0001.jpg',
                    'https://radionorba.it/videothumb/0002.jpg',
                    'https://radionorba.it/videothumb/0003.jpg',
                    'https://radionorba.it/videothumb/0004.jpg',
                    'https://radionorba.it/videothumb/0005.jpg'
                ]"
            />
        `
    }
});

Props

| Name | Default | Description | | images | '' | array of frames |

CDN unpkg

<script src="https://unpkg.com/doz-fake-video-player/dist/bundle.min.js"></script>

Changelog

You can view the changelog here

License

doz-fake-video-player is open-sourced software licensed under the MIT license