taobin_project/inter/aus/video/script_video.ev

82 lines
2.2 KiB
Text
Raw Normal View History

2023-10-16 17:27:52 +07:00
Var MainfileSize = 0
Var EventNewYear = 0
2025-02-20 15:22:09 +07:00
Var EventAO = 0
Var StPatrickEvent = 0
2025-04-30 15:21:42 +07:00
Var HappyEasterEvent = 0
2023-12-20 10:22:17 +07:00
2023-10-16 17:27:52 +07:00
DEBUGVAR MainfileSize
2023-12-20 10:22:17 +07:00
If SystemDateMonthInt = 12 Then
2023-10-16 17:27:52 +07:00
GetFileSizeK "taobin_project/inter/aus/video/video_main_event.mp4" MainfileSize
DEBUGVAR MainfileSize
2023-12-20 10:22:17 +07:00
If MainfileSize = 9267190 Then
Var EventNewYear = 1
2023-10-16 17:27:52 +07:00
EndIf
EndIf
2023-12-20 10:22:17 +07:00
If SystemDateMonthInt = 1 Then
If SystemDateDayInt < 3 Then
GetFileSizeK "taobin_project/inter/aus/video/video_main_event.mp4" MainfileSize
DEBUGVAR MainfileSize
If MainfileSize = 9267190 Then
Var EventNewYear = 1
2023-12-20 10:22:17 +07:00
EndIf
EndIf
2025-01-15 15:24:58 +07:00
If SystemDateDayInt <= 31 Then
GetFileSizeK "taobin_project/inter/aus/video/video_main_ao.mp4" MainfileSize
DEBUGVAR MainfileSize
If MainfileSize = 20796764 Then
Var EventAO = 1
Else
DEBUGVAR "AO:Size incorrect"
EndIf
EndIf
2023-12-20 10:22:17 +07:00
EndIf
If SystemDateMonthInt = 3 Then
GetFileSizeK "taobin_project/inter/aus/video/video_main_StPatrick.mp4" MainfileSize
DEBUGVAR MainfileSize
If MainfileSize = 17941307 Then
Var StPatrickEvent = 1
Else
DEBUGVAR "StPatrick: Video size incorrect"
EndIf
EndIf
2023-12-20 10:22:17 +07:00
If SystemDateMonthInt = 4 Then
GetFileSizeK "taobin_project/inter/aus/video/video_main_happy_easter.mp4" MainfileSize
DEBUGVAR MainfileSize
If MainfileSize = 21836197 Then
Var HappyEasterEvent = 1
Else
DEBUGVAR "HappyEaster: Video size incorrect"
EndIf
EndIf
DEBUGVAR EventNewYear
2023-10-16 17:27:52 +07:00
If EventNewYear = 1 Then
2023-10-16 17:27:52 +07:00
Var CountDownShowButton = 0
Var ShowButtonClickFull = "Invisible"
Var VideoMainPage = "ROOT/taobin_project/inter/aus/video/video_main_event.mp4"
Else
Var CountDownShowButton = 0
Var ShowButtonClickFull = "Invisible"
Var VideoMainPage = "ROOT/taobin_project/inter/aus/video/video_main.mp4"
EndIf
2025-01-15 15:24:58 +07:00
If EventAO = 1 Then
Var VideoMainPage = "ROOT/taobin_project/inter/aus/video/video_main_ao.mp4"
EndIf
If StPatrickEvent = 1 Then
Var VideoMainPage = "ROOT/taobin_project/inter/aus/video/video_main_StPatrick.mp4"
EndIf
If HappyEasterEvent = 1 Then
Var VideoMainPage = "ROOT/taobin_project/inter/aus/video/video_main_happy_easter.mp4"
2025-01-15 15:24:58 +07:00
EndIf