Auto player once loaded

This commit is contained in:
WardPearce
2026-03-03 19:46:27 +13:00
parent 2a8a84aec2
commit 221177e962
@@ -247,6 +247,8 @@
if ($playerCCByDefault) {
toggleSubtitles(player);
}
if ($playerAutoPlayStore) playerElement?.play();
});
if (!data.video.liveNow) {
@@ -822,7 +824,6 @@
<video
controls={false}
autoplay={$playerAutoPlayStore}
bind:this={playerElement}
poster={getBestThumbnail(data.video.videoThumbnails, 9999, 9999)}
></video>