Change video header to var

This commit is contained in:
kong 2021-05-12 11:53:54 +07:00
parent 0f894ff53b
commit 43745f6a98
48 changed files with 77 additions and 56 deletions

View file

@ -11,16 +11,22 @@
If TermTemOnline = "true" Then
Open "ROOT/termtem_project/xml/test_video_loop.xml"
Else
Var HeadVideoFilename = "/mnt/sdcard/coffeevending/taobin_project/video/taobin_adv1.mp4"
Var HeadVideoFilename = video_main_0
EndIf
EndIf
If VideoAdvIndex = 2 Then
Var HeadVideoFilename = "/mnt/sdcard/coffeevending/taobin_project/video/taobin_adv3.mp4"
Var HeadVideoFilename = video_main_1
EndIf
DEBUGVAR VideoAdvIndex
If VideoAdvIndex = 3 Then
Var HeadVideoFilename = video_main_2
EndIf
If VideoAdvIndex > 1 Then
DEBUGVAR VideoAdvIndex
DEBUGVAR video_main_count
If VideoAdvIndex >= video_main_count Then
Var VideoAdvIndex = 0
EndIf