diff --git a/inter/gbr/video/script_video.ev b/inter/gbr/video/script_video.ev index 954d62f7..a638e778 100644 --- a/inter/gbr/video/script_video.ev +++ b/inter/gbr/video/script_video.ev @@ -23,36 +23,14 @@ If SystemDateMonthInt = 1 Then Var EventNewYear = 1 EndIf EndIf - - If SystemDateDayInt <= 31 Then - GetFileSizeK "taobin_project/inter/gbr/video/video_main_ao.mp4" MainfileSize - DEBUGVAR MainfileSize - If MainfileSize = 20796764 Then - Var EventAO = 1 - Else - DEBUGVAR "AO:Size incorrect" - EndIf - EndIf EndIf -If SystemDateMonthInt = 3 Then - GetFileSizeK "taobin_project/inter/gbr/video/video_main_StPatrick.mp4" MainfileSize - DEBUGVAR MainfileSize - If MainfileSize = 17941307 Then - Var StPatrickEvent = 1 - Else - DEBUGVAR "StPatrick: Video size incorrect" - EndIf -EndIf - -If SystemDateMonthInt = 4 Then - GetFileSizeK "taobin_project/inter/gbr/video/video_main_happy_easter.mp4" MainfileSize - DEBUGVAR MainfileSize - If MainfileSize = 21836197 Then - Var HappyEasterEvent = 1 - Else - DEBUGVAR "HappyEaster: Video size incorrect" - EndIf +GetFileSizeK "taobin_project/inter/gbr/video/video_main_ao.mp4" MainfileSize +DEBUGVAR MainfileSize +If MainfileSize = 18183048 Then + Var EventAO = 1 +Else + DEBUGVAR "AO:Size incorrect" EndIf DEBUGVAR EventNewYear @@ -68,14 +46,5 @@ Else EndIf If EventAO = 1 Then - Var VideoMainPage = "ROOT/taobin_project/inter/gbr/video/video_main_ao.mp4" -EndIf - -If StPatrickEvent = 1 Then - Var VideoMainPage = "ROOT/taobin_project/inter/gbr/video/video_main_StPatrick.mp4" -EndIf - -If HappyEasterEvent = 1 Then - Var VideoMainPage = "ROOT/taobin_project/inter/gbr/video/video_main_happy_easter.mp4" EndIf \ No newline at end of file diff --git a/inter/gbr/video/video_main_ao.mp4 b/inter/gbr/video/video_main_ao.mp4 index 1acbb7a1..c2ac6554 100644 Binary files a/inter/gbr/video/video_main_ao.mp4 and b/inter/gbr/video/video_main_ao.mp4 differ diff --git a/xml/page_board.xml b/xml/page_board.xml index 5e2662d5..68a9095f 100644 --- a/xml/page_board.xml +++ b/xml/page_board.xml @@ -2253,6 +2253,13 @@ PRICE "Reset" "-" Var CountDownPauseVideo = 1 EndIf + If CountryName = "United Kingdom" Then + If EventAO = 1 Then + Var CountDownShowButton = 0 + Var CountDownPauseVideo = 35 + EndIf + EndIf + Refresh