{#if showKeybinds && !miniplayer}
(showKeybinds = false)} tabindex='-1' role='button'>
{item?.id || ''}
{/if}
createThumbnail()} on:timeupdate={checkCompletion} on:timeupdate={checkSkippableChapters} on:waiting={showBuffering} on:loadeddata={hideBuffering} on:canplay={hideBuffering} on:playing={hideBuffering} on:loadedmetadata={hideBuffering} on:ended={tryPlayNext} on:loadedmetadata={initThumbnails} on:loadedmetadata={findChapters} on:loadedmetadata={autoPlay} on:loadedmetadata={checkAudio} on:loadedmetadata={clearLoadInterval} on:leavepictureinpicture={() => { pip = false }} /> {#if stats}
×
FPS: {stats.fps}
Presented frames: {stats.presented}
Dropped frames: {stats.dropped}
Frame time: {stats.processing}
Viewport: {stats.viewport}
Resolution: {stats.resolution}
Buffer health: {stats.buffer}
Playback speed: x{stats.speed?.toFixed(1)}
Name: {current.name || ''}
{/if}
{#if media.title}{media.title}{/if}
{#if media.episode}Episode {media.episode}{/if} {#if media.episode && media.episodeTitle}{' - '}{/if} {#if media.episodeTitle}{media.episodeTitle}{/if}
people
{torrent.peers || 0}
arrow_downward
{fastPrettyBytes(torrent.down)}/s
arrow_upward
{fastPrettyBytes(torrent.up)}/s
{ if (page === 'player') playPause(); page = 'player' }} />
skip_previous
fast_rewind
{ended ? 'replay' : paused ? 'play_arrow' : 'pause'}
fast_forward
skip_next
{#if currentSkippable}
Skip {currentSkippable}
{/if}
{ended ? 'replay' : paused ? 'play_arrow' : 'pause'}
{#if hasLast}
skip_previous
{/if} {#if hasNext}
skip_next
{/if}
{muted ? 'volume_off' : 'volume_up'}
{toTS(targetTime, safeduration > 3600 ? 2 : 3)} / {toTS(safeduration - targetTime, safeduration > 3600 ? 2 : 3)}
(showKeybinds = true)}> keyboard
{#if 'audioTracks' in HTMLVideoElement.prototype && video?.audioTracks?.length > 1}
queue_music
{#each video.audioTracks as track}
selectAudio(track.id)} class='text-truncate pb-5'> {(track.language || (!Object.values(video.audioTracks).some(track => track.language === 'eng' || track.language === 'en') ? 'eng' : track.label)) + (track.label ? ' - ' + track.label : '')}
{/each}
{/if} {#if 'videoTracks' in HTMLVideoElement.prototype && video?.videoTracks?.length > 1}
playlist_play
{#each video.videoTracks as track}
selectVideo(track.id)} class='text-truncate pb-5'> {(track.language || (!Object.values(video.videoTracks).some(track => track.language === 'eng' || track.language === 'en') ? 'eng' : track.label)) + (track.label ? ' - ' + track.label : '')}
{/each}
{/if} {#if subHeaders?.length}
subtitles
subs.selectCaptions(-1)} class='text-truncate pb-5'> OFF
{#each subHeaders as track} {#if track}
subs.selectCaptions(track.number)} class='text-truncate pb-5'> {(track.language || (!Object.values(subs.headers).some(header => header.language === 'eng' || header.language === 'en') ? 'eng' : track.type)) + (track.name ? ' - ' + track.name : '')}
{/if} {/each}
{/if} {#if 'PresentationRequest' in window && canCast && current}
{presentationConnection ? 'cast_connected' : 'cast'}
{/if} {#if 'pictureInPictureEnabled' in document}
{pip ? 'featured_video' : 'picture_in_picture'}
{/if}
{isFullscreen ? 'fullscreen_exit' : 'fullscreen'}