adding local trailers to a view
#2
Hi marco before the <controls>you have to put something like this

PHP Code:
<onload condition"!IsEmpty(ListItem.trailer)">PlayMedia($INFO[ListItem.trailer],1)</onload

and you need to make a video window were you want
PHP Code:
<control type="videowindow">
                            
                <
height>330</height>
                <
width>440</width>
                <
width>100%</width>
                <
height>100%</height>
                <
aspectratio scalediffuse="false">scale</aspectratio>
                <
visible> !IsEmpty(ListItem.trailer)</visible>
        </
control


EDIT- its a view.. you need to use itemlayouts and focusedlayout. in that case you can see how it works on the AEL DEBUG view, and almost copy paste the code. The code that I put here is for an infopage
Reply


Messages In This Thread
adding local trailers to a view - by marcoooo - 2017-02-13, 00:32
RE: adding local trailers to a view - by KODser - 2017-02-13, 00:35
Logout Mark Read Team Forum Stats Members Help
adding local trailers to a view0