DO songkan
This commit is contained in:
parent
7a41166f22
commit
644657be88
28 changed files with 437 additions and 323 deletions
66
xml/page_preview_video.xml
Normal file
66
xml/page_preview_video.xml
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
|
||||
Var videoAll = 0
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 1920 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "/mnt/sdcard/coffeevending/video1.mp4" </Filename>
|
||||
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 720 </Height>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 1200 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 720 </Height>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
If videoAll = 0 Then
|
||||
Var videoAll = 1
|
||||
VideoAll "stop"
|
||||
Else
|
||||
Var videoAll = 0
|
||||
VideoAll "start"
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue