svelte-tcplayer
v0.0.17
Published
TCPlayer for Svelte
Downloads
1,070
Readme
svelte-tcplayer
Features
- type safe
- ssr compatible
Usage
<script>
import {TCPlayer} from 'svelte-tcplayer';
import 'svelte-tcplayer/style.css';
</script>
<TCPlayer
options={{
licenseUrl: '',
sources: [
{
src: '',
},
],
}}
onerror={function () {
// logic...
}}
/>