fix video
This commit is contained in:
parent
5501f8e9a7
commit
f92379a724
8 changed files with 244 additions and 130 deletions
|
|
@ -1,5 +1,5 @@
|
|||
; Need var brew_vdo2
|
||||
; Need var brew_txt2
|
||||
; Need var brew_vdo1
|
||||
; Need var brew_txt1
|
||||
|
||||
If BrewingAdvertiseShowSlot = "" Then
|
||||
Var BrewingAdvertiseShowSlot = 0
|
||||
|
|
@ -25,63 +25,165 @@ If SystemDateMonthInt = 11 Then
|
|||
Var EDC_ThailandOn = 1
|
||||
EndIf
|
||||
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
Var ShopeePayLaterOn = 1
|
||||
;Var RobinsonBeautyPro = 1
|
||||
;Var EDC_ThailandOn = 1
|
||||
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
|
||||
Var BrewingAdvertiseEnable[0] = 0
|
||||
Var BrewingAdvertiseEnable[1] = 0
|
||||
Var BrewingAdvertiseEnable[2] = 0
|
||||
Var BrewingAdvertiseEnable[3] = 0
|
||||
Var BrewingAdvertiseEnable[4] = 0
|
||||
Var BrewingAdvertiseEnable[5] = 0
|
||||
|
||||
|
||||
DEBUGVAR RobinsonBeautyPro
|
||||
DEBUGVAR EDC_ThailandOn
|
||||
DEBUGVAR ShopeePayLaterOn
|
||||
Var BrewingAdvertiseRunSlot = 0
|
||||
|
||||
|
||||
GetFileSizeK "taobin_project/video/brewing_adv11.mp4" brewing_adv_size
|
||||
DEBUGVAR brewing_adv_size
|
||||
If brewing_adv_size = 9358730 Then
|
||||
|
||||
Var BrewingAdvertiseEnable[ BrewingAdvertiseRunSlot] = 1
|
||||
Var BrewingAdvertiseVideo[ BrewingAdvertiseRunSlot] = "ROOT/taobin_project/image/page_doing/tao_adv1.png";
|
||||
If show_eng = "true" Then
|
||||
Var BrewingAdvertiseImage[ BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_txt_adv1_en.png"
|
||||
Else
|
||||
Var BrewingAdvertiseImage[ BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_txt_adv1.png"
|
||||
EndIf
|
||||
|
||||
GetFileSizeK "taobin_project/video/brewing_adv12.mp4" brewing_adv_size
|
||||
DEBUGVAR brewing_adv_size
|
||||
If brewing_adv_size = 3687715 Then
|
||||
|
||||
Var BrewingAdvertiseDurationTime[BrewingAdvertiseShowSlot] = 10
|
||||
Var BrewingAdvertiseShowTextNextToOrder[ BrewingAdvertiseRunSlot] = 1
|
||||
|
||||
Var BrewingAdvertiseRunSlot = BrewingAdvertiseRunSlot + 1
|
||||
|
||||
If brewing_adv11_size = "" Then
|
||||
GetFileSizeK "taobin_project/video/brewing_adv11.mp4" brewing_adv11_size
|
||||
EndIf
|
||||
|
||||
GetFileSizeK "taobin_project/video/brewing_adv13.mp4" brewing_adv_size
|
||||
DEBUGVAR brewing_adv_size
|
||||
If brewing_adv_size = 9295686 Then
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If RobinsonBeautyPro = 1 Then
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
; disable
|
||||
If RobinsonBeautyPro = 1 Then
|
||||
|
||||
|
||||
GetFileSizeK "taobin_project/video/brewing_adv11.mp4" brewing_adv_size
|
||||
DEBUGVAR brewing_adv_size
|
||||
If brewing_adv_size = 9358730 Then
|
||||
|
||||
Var adver_brewing_play_index = 1
|
||||
Var adver_brewing_count_down = 15
|
||||
|
||||
Var brew_vdo2 = "ROOT/taobin_project/video/brewing_adv11.mp4"
|
||||
DEBUGVAR brewing_adv11_size
|
||||
If brewing_adv11_size = 9358730 Then
|
||||
If RobinsonBeautyPro = 1 Then
|
||||
Var BrewingAdvertiseEnable[ BrewingAdvertiseRunSlot] = 1
|
||||
Var BrewingAdvertiseVideo[ BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_adv11.mp4";
|
||||
If show_eng = "true" Then
|
||||
Var brew_txt2 = "ROOT/taobin_project/video/brewing_txt_adv11_en.png"
|
||||
Var BrewingAdvertiseImage[ BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_txt_adv11_en.png"
|
||||
Else
|
||||
Var brew_txt2 = "ROOT/taobin_project/video/brewing_txt_adv11.png"
|
||||
Var BrewingAdvertiseImage[ BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_txt_adv11.png"
|
||||
EndIf
|
||||
SAVELOG "Play adv11 RobinsonBeautyPro "
|
||||
|
||||
Var BrewingAdvertiseDurationTime[BrewingAdvertiseShowSlot] = 15
|
||||
Var BrewingAdvertiseShowTextNextToOrder[ BrewingAdvertiseRunSlot] = 0
|
||||
|
||||
Var BrewingAdvertiseRunSlot = BrewingAdvertiseRunSlot + 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; comment for change this file size
|
||||
DEBUGVAR BrewingAdvertiseRunSlot
|
||||
|
||||
EndIf
|
||||
If brewing_adv12_size = "" Then
|
||||
GetFileSizeK "taobin_project/video/brewing_adv12.mp4" brewing_adv12_size
|
||||
EndIf
|
||||
|
||||
DEBUGVAR brewing_adv12_size
|
||||
If brewing_adv12_size = 3687715 Then
|
||||
If ShopeePayLaterOn = 1 Then
|
||||
Var BrewingAdvertiseEnable[ BrewingAdvertiseRunSlot] = 1
|
||||
Var BrewingAdvertiseVideo[ BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_adv12.mp4";
|
||||
If show_eng = "true" Then
|
||||
Var BrewingAdvertiseImage[ BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_txt_adv12_en.png"
|
||||
Else
|
||||
Var BrewingAdvertiseImage[ BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_txt_adv12.png"
|
||||
EndIf
|
||||
|
||||
Var BrewingAdvertiseDurationTime[BrewingAdvertiseShowSlot] = 15
|
||||
Var BrewingAdvertiseShowTextNextToOrder[ BrewingAdvertiseRunSlot] = 0
|
||||
|
||||
Var BrewingAdvertiseRunSlot = BrewingAdvertiseRunSlot + 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR BrewingAdvertiseRunSlot
|
||||
|
||||
If brewing_adv13_size = "" Then
|
||||
GetFileSizeK "taobin_project/video/brewing_adv13.mp4" brewing_adv13_size
|
||||
EndIf
|
||||
|
||||
DEBUGVAR brewing_adv_size
|
||||
If brewing_adv13_size = 9295686 Then
|
||||
If EDC_ThailandOn = 1 Then
|
||||
Var BrewingAdvertiseEnable[ BrewingAdvertiseRunSlot] = 1
|
||||
Var BrewingAdvertiseVideo[ BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_adv13.mp4";
|
||||
If show_eng = "true" Then
|
||||
Var BrewingAdvertiseImage[BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_txt_adv13_en.png"
|
||||
Else
|
||||
Var BrewingAdvertiseImage[BrewingAdvertiseRunSlot] = "ROOT/taobin_project/video/brewing_txt_adv13.png"
|
||||
EndIf
|
||||
|
||||
Var BrewingAdvertiseDurationTime[BrewingAdvertiseShowSlot] = 12
|
||||
Var BrewingAdvertiseShowTextNextToOrder[ BrewingAdvertiseRunSlot] = 0
|
||||
|
||||
Var BrewingAdvertiseRunSlot = BrewingAdvertiseRunSlot + 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR BrewingAdvertiseShowSlot
|
||||
|
||||
Var brew_vdo1 = BrewingAdvertiseVideo[BrewingAdvertiseShowSlot]
|
||||
Var brew_txt1 = BrewingAdvertiseImage[BrewingAdvertiseShowSlot]
|
||||
|
||||
Var adver_brewing_count_down = BrewingAdvertiseDurationTime[BrewingAdvertiseShowSlot]
|
||||
|
||||
DEBUGVAR BrewingAdvertiseShowTextNextToOrder[BrewingAdvertiseShowSlot]
|
||||
|
||||
If BrewingAdvertiseShowTextNextToOrder[BrewingAdvertiseShowSlot] = 1 Then
|
||||
|
||||
Var SelectMenuBetweenBrewEnable1Blink = "Enable"
|
||||
Var SelectMenuBetweenBrewEnable1Text = "Enable"
|
||||
Else
|
||||
Var SelectMenuBetweenBrewEnable1Blink = "Invisible"
|
||||
Var SelectMenuBetweenBrewEnable1Text = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR brew_vdo1
|
||||
DEBUGVAR brew_txt1
|
||||
DEBUGVAR SelectMenuBetweenBrewEnable1Blink
|
||||
DEBUGVAR SelectMenuBetweenBrewEnable1Text
|
||||
|
||||
|
||||
|
||||
Var script3_brewing_ignore = 1
|
||||
DEBUGVAR BrewingAdvertiseEnable[0]
|
||||
DEBUGVAR BrewingAdvertiseEnable[1]
|
||||
DEBUGVAR BrewingAdvertiseEnable[2]
|
||||
DEBUGVAR BrewingAdvertiseEnable[3]
|
||||
DEBUGVAR BrewingAdvertiseEnable[4]
|
||||
|
||||
DEBUGVAR BrewingAdvertiseVideo[0]
|
||||
DEBUGVAR BrewingAdvertiseVideo[1]
|
||||
DEBUGVAR BrewingAdvertiseVideo[2]
|
||||
DEBUGVAR BrewingAdvertiseVideo[3]
|
||||
DEBUGVAR BrewingAdvertiseVideo[4]
|
||||
|
||||
|
||||
Var BrewingAdvertiseShowSlot = BrewingAdvertiseShowSlot + 1
|
||||
|
||||
DEBUGVAR BrewingAdvertiseEnable[BrewingAdvertiseShowSlot]
|
||||
If BrewingAdvertiseEnable[BrewingAdvertiseShowSlot] = 0 Then
|
||||
Var BrewingAdvertiseShowSlot = 0
|
||||
EndIf
|
||||
If BrewingAdvertiseEnable[BrewingAdvertiseShowSlot] = "" Then
|
||||
Var BrewingAdvertiseShowSlot = 0
|
||||
EndIf
|
||||
|
||||
DEBUGVAR BrewingAdvertiseShowSlot
|
||||
|
||||
Var script3_brewing_ignore = "set"
|
||||
Loading…
Add table
Add a link
Reference in a new issue