Can not stay DialogVideoInfo view after playing trailer video.
#1
I have some customized "DialogVideoInfo.xml"  - adding youtube search result to show trailer.
Code:

DialogVideoInfo.xml

<control type="panel" id="20054">
    <itemlayout width="586" height="489">
    ...
    </itemlayout>
    <focusedlayout width="586" height="489">
    ...
    </focusedlayout>
    <content>plugin://plugin.video.youtube/search/?hide_folders=true&q=($INFO[ListItem.label]+trailer+Teaser)</content>
</control>

It works but it does not close current windows (playing youtube videos behind windows), so I gave the close command below
Code:

<control type="panel" id="20054">
    <itemlayout width="586" height="489">
    ...
    </itemlayout>
    <focusedlayout width="586" height="489">
    ...
    </focusedlayout>
    <content>plugin://plugin.video.youtube/search/?hide_folders=true&q=($INFO[ListItem.label]+trailer+Teaser)</content>
    <onclick>close</onclick>
    <onclick>PlayMedia($INFO[ListItem.FileNameAndPath])</onclick>
</control>
It works as well but when I stop the video(it plays fullscreen), it CAN NOT return to the DialogVideoInfo screen(I means my panel list) . It returns home screen. How to stay DialogVideoInfo view?
Reply
#2
first ,
prepare n use a "videowindow" control type inside the dialog.
avoid close action.
adjust the playback action to force a windowed playback
xml:
PlayMedia($INFO[ListItem.FileNameAndPath],1)
Skins |  Titan M O D   •   S W A N (WIP)
Reply
#3
thank you, It works.
Reply

Logout Mark Read Team Forum Stats Members Help
Can not stay DialogVideoInfo view after playing trailer video.0