MYS: add promotion profile to restore as previous profile after promo ends
This commit is contained in:
parent
1687d8e612
commit
26a15c104c
5 changed files with 278 additions and 201 deletions
|
|
@ -7,8 +7,8 @@
|
|||
<EventOpen>
|
||||
|
||||
If showMultiAds = "true" Then
|
||||
|
||||
|
||||
|
||||
|
||||
If PreviousFileName = "" Then
|
||||
Var PreviousFileName = PreviseXMLFileName2
|
||||
EndIf
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
DEBUGVAR CountDownPauseVideo2
|
||||
If CountryName = "Singapore" Then
|
||||
If CurrentXMLFileName2 = "/mnt/sdcard/coffeevending//taobin_project/xml/page_back_to_main.xml" Then
|
||||
|
||||
|
||||
If CountDownPauseVideo2 < 2 Then
|
||||
Var AdvTaobinMenu = "/mnt/sdcard
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
|
|
@ -80,12 +80,15 @@
|
|||
If ProReducedPriceEnable = 1 Then
|
||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
|
||||
EndIf
|
||||
If ProYuzu250Enable = 1 Then
|
||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_24.mp4"
|
||||
EndIf
|
||||
If UseSlideShowVideo = 1 Then
|
||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Else
|
||||
DEBUGVAR a_video_menu[ads_idx]
|
||||
If CountryName = "Singapore" Then
|
||||
|
|
@ -126,7 +129,7 @@
|
|||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If CountryName = "Malaysia" Then
|
||||
|
||||
|
|
@ -140,6 +143,9 @@
|
|||
If ProReducedPriceEnable = 1 Then
|
||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
|
||||
EndIf
|
||||
If ProYuzu250Enable = 1 Then
|
||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_24.mp4"
|
||||
EndIf
|
||||
If UseSlideShowVideo = 1 Then
|
||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
|
||||
EndIf
|
||||
|
|
@ -156,13 +162,13 @@
|
|||
<EventVideoEnd>
|
||||
DEBUGVAR CurrentXMLFileName2
|
||||
Var video_end = "Video end"
|
||||
DEBUGVAR video_end
|
||||
DEBUGVAR video_end
|
||||
If CountDownPauseVideo2 = -1 Then
|
||||
Var CountDownPauseVideo2 = 0
|
||||
EndIf
|
||||
If showMultiAds = "true" Then
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var ads_idx = ads_idx + 1
|
||||
|
|
@ -201,7 +207,7 @@
|
|||
EndIf
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
|
||||
If CountryName = "Malaysia" Then
|
||||
|
|
@ -216,12 +222,15 @@
|
|||
If ProReducedPriceEnable = 1 Then
|
||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
|
||||
EndIf
|
||||
If ProYuzu250Enable = 1 Then
|
||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_24.mp4"
|
||||
EndIf
|
||||
If UseSlideShowVideo = 1 Then
|
||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Else
|
||||
DEBUGVAR a_video_menu[ads_idx]
|
||||
If CountryName = "Singapore" Then
|
||||
|
|
@ -270,6 +279,10 @@
|
|||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
|
||||
EndIf
|
||||
|
||||
If ProYuzu250Enable = 1 Then
|
||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_24.mp4"
|
||||
EndIf
|
||||
|
||||
If UseSlideShowVideo = 1 Then
|
||||
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
|
||||
EndIf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue