feat: add mode-switched-from to player template and state

This commit is contained in:
2026-05-17 21:17:00 +02:00
parent 493d69edae
commit c2ed9fabc2
2 changed files with 4 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
data-current-episode="{{.WatchData.CurrentEpisode}}"
data-total-episodes="{{.TotalEpisodes}}"
data-initial-mode="{{.WatchData.InitialMode}}"
data-mode-switched-from="{{.WatchData.ModeSwitchedFrom}}"
data-anime-title="{{.WatchData.Title}}"
data-start-time-seconds="{{.WatchData.StartTimeSeconds}}"
data-mode-sources='{{json .WatchData.ModeSources}}'