{#await fetchData}
Loading...
{:then data}
{#if data.listings[listingIndex].type == api.ListingType.IMAGE}
handleTime( data.listings[listingIndex].time || 10, data.listings.length )} /> {:else if data.listings[listingIndex].type == api.ListingType.VIDEO}
handleVideoLoad( data.listings[listingIndex].time, data.listings.length )} on:ended={() => updateListingIndex(data.listings.length)} >
Videos are not supported!
{/if}
Powered by
Dominic Grimm <dominic@dergrimm.net>
{:catch error}
An error occured! {error}
{/await}