File tree Expand file tree Collapse file tree
src/routes/history/show/[...showDate]/merch-messages/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 const seconds = Math .floor (message .timestamp );
2121 const imageUrl = ` https://merch-message-images.whenplane.com/${message .show }/images/${seconds }.jpg ` ;
2222
23- const floatplaneSeconds = $derived (
24- source . startsWith ( ' floatplane' )
25- ? seconds
26- : preShowLength !== null
27- ? seconds + Math . floor ( preShowLength / 1e3 )
28- : null
29- ) ;
30- const youtubeSeconds = $derived (
23+ const floatplaneSeconds = source . startsWith ( ' floatplane ' )
24+ ? source === ' floatplane-live '
25+ ? seconds + 50
26+ : seconds
27+ : preShowLength !== null
28+ ? seconds + Math . floor ( preShowLength / 1e3 )
29+ : null ;
30+ const youtubeSeconds =
3131 source === ' youtube'
3232 ? seconds
3333 : preShowLength !== null
3434 ? (floatplaneSeconds ?? seconds ) - Math .floor (preShowLength / 1e3 )
35- : null
36- );
35+ : null ;
3736 </script >
3837
3938<div
You can’t perform that action at this time.
0 commit comments