SGP: try fix case video not full

This commit is contained in:
Pakin 2025-04-04 14:36:25 +07:00
parent 845c5f1637
commit c472340c48

View file

@ -39,7 +39,7 @@
Var HeadVideoFilename = AdvTaobinHome + video_menu_0
DEBUGVAR video_main_5
EndIf
If HeadVideoFilename = "-" Then
DEBUGVAR HeadVideoFilename
Var HeadVideoFilename = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_00"
@ -47,6 +47,13 @@
Var HeadVideoFilename = HeadVideoFilename + ".mp4"
If CountryName = "Singapore" Then
If UsePepsiTheme = 1 Then
Var HeadVideoFilename = DefaultLargeBanner + ".mp4"
EndIf
EndIf
DEBUGVAR VideoAdvIndex
DEBUGVAR HeadVideoFilename
@ -57,15 +64,15 @@
If VideoAdvIndex >= video_main_count Then
Var VideoAdvIndex = 0
EndIf
EndIf
Open "ROOT/taobin_project/xml/video_loop2.xml"
</EventOpen>
<Timeout> 5000 </Timeout>
<EventSecurity>
Open "/mnt/sdcard/coffeevending/xml/security_alarm.xml"
<EventSecurity>
Open "/mnt/sdcard/coffeevending/xml/security_alarm.xml"
</EventSecurity>
@ -77,7 +84,7 @@
<Height> 200 </Height>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClickLong>
<EventClickLong>
OpenInst 0 "//mnt/sdcard/coffeevending/taobin_project/xml/vending_info.xml"
</EventClickLong>