2023-04-03, 15:54
I have some customized "DialogVideoInfo.xml" - adding youtube search result to show trailer.
It works but it does not close current windows (playing youtube videos behind windows), so I gave the close command below
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?
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>