update script video inter

This commit is contained in:
Kenta420 2023-10-16 17:27:52 +07:00
parent f8fa3021fb
commit 1c714d4c0b
6 changed files with 65 additions and 6 deletions

View file

@ -0,0 +1,5 @@
SAVELOG "For change size this file."
If EventTurnOn = 1 Then
EndIf

View file

@ -0,0 +1,22 @@
Var MainfileSize = 0
Var EventTurnOn = 0
DEBUGVAR MainfileSize
If SystemDateMonthInt = 10 Then
GetFileSizeK "taobin_project/inter/aus/video/video_main_event.mp4" MainfileSize
DEBUGVAR MainfileSize
If MainfileSize = 13119511 Then
Var EventTurnOn = 1
EndIf
EndIf
DEBUGVAR EventTurnOn
If EventTurnOn = 1 Then
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

View file

@ -0,0 +1,5 @@
SAVELOG "For change size this file."
If EventTurnOn = 1 Then
EndIf

View file

@ -0,0 +1,14 @@
Var MainfileSize = 0
Var EventTurnOn = 0
DEBUGVAR MainfileSize
DEBUGVAR EventTurnOn
If EventTurnOn = 1 Then
Else
Var CountDownShowButton = 0
Var ShowButtonClickFull = "Invisible"
Var VideoMainPage = "ROOT/taobin_project/inter/common/video/video_main.mp4"
EndIf

View file

@ -276,9 +276,18 @@
; Zone set video main page.
Var adver_brewing_en = 1
TRY "/mnt/sdcard/coffeevending/taobin_project/video/script1.ev"
If CountryName = "Australia" Then
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/aus/video/script_video.ev"
EndIf
If CountryName = "Malaysia" Then
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/mys/video/script_video.ev"
EndIf
If CountryName = "Thailand" Then
TRY "/mnt/sdcard/coffeevending/taobin_project/video/script1.ev"
EndIf
DEBUGVAR CountDownShowButton
@ -733,7 +742,7 @@
LanguageControl "UpdateList" "-"
Var InternationalEnable = 1
Var show_eng = "true"
Var VideoMainPage = "ROOT/taobin_project/inter/common/video/video_main.mp4"
;Var VideoMainPage = "ROOT/taobin_project/inter/common/video/video_main.mp4"
Var img_press_main_page = "ROOT/taobin_project/image/main_page_en/bp_main_page_start.png"
Var ShowNetworkProblemText = "Network error. Payment Cash only."
@ -787,7 +796,7 @@
Var InternationalEnable = 1
Var show_eng = "true"
Var VideoMainPage = "ROOT/taobin_project/inter/aus/video/video_main.mp4"
;Var VideoMainPage = "ROOT/taobin_project/inter/aus/video/video_main.mp4"
Var img_press_main_page = "ROOT/taobin_project/image/main_page_en/bp_main_page_start.png"
Var ShowNetworkProblemText = "Network error. Payment Cash only."

View file

@ -149,8 +149,12 @@
If SaveTheWorldCount < 2 Then
TRY "/mnt/sdcard/coffeevending/taobin_project/video/script2.ev"
If InternationalEnable = 1 Then
Var script_thankyou = CountryRootPath + "/video/script_thankyou.ev"
TRY script_thankyou
Else
TRY "/mnt/sdcard/coffeevending/taobin_project/video/script2.ev"
EndIf
EndIf