This is a parody of leetcode.com for designers. It's being developed live on Twitch.tv/zedashaw to demonstrate how to make a parody of a website.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelperfectionist/admin/bando/demos/WTVideo.svelte

36 lines
833 B

<script>
import WTVideo from "$/client/components/WTVideo.svelte";
import Icon from "$/client/components/Icon.svelte";
let media = {
"src": "/images/sample_video.mp4",
"filename": "sample_video.mp4",
"poster": "/images/sample_image.jpg",
"preload": "none",
"torrent_url": "/images/sample_video.mp4.torrent"
}
</script>
<style>
container {
display: flex;
flex-direction: column;
margin-right: 0.5rem;
}
</style>
<container class="pattern-lines-sm">
<WTVideo media={ media } />
</container>
<h1>Instructions</h1>
<p>Read the <Icon name="book-open" /> Docs panel for instructions
on how to get this demo to work on your local computer.</p>
<h1>Bugs</h1>
<p>The video downloads, but WebTorrent seems to lose track of the last
chunk. Not sure why but if you know then message me.
</p>