home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
Skinning Online Videos question
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rob Hexenmeister" data-source="post: 1275822" data-attributes="member: 113164"><p>Good evening everyone,</p><p></p><p>I need some help with skinning buttons for Online Videos.</p><p></p><p>What I am trying to achieve is move the buttons off the hidden menu into the main window. I've taken a screenshot to show what I am doing.</p><p></p><p>The problem is with the bottom two buttons <id>5</id> and <id>9</id> [ full code at the end of this text.]</p><p></p><p>They work fine, but navigation is awful. This type of selectbutton just isn't designed for sideways navigation as you end up changing the values. Ideally I would like to change them to a menubutton with dialoglist, but I don't know what I am doing as the guidance in the wiki is, to say the least, thin on this topic (this would be a really good addition to the tutorials)</p><p></p><p>What I do know - some plugins crash if certain default buttons aren't present, or if you muck about with their button type, so they have to be kept as they are. What I would suggest to myself is moving the two problematic buttons to off-screen minus coordinates and putting in new buttons with different <id>s in their place.</p><p></p><p>What I don't know how to do, is how to bind variables to a dialog style menubutton, and what properties to set for these two functions in OnlineVideos. A fairly fundamental failing on my part therefore. I've had a good search of the wiki and while it explains what binding is, there are no examples I can find, and I would only be guessing at setting OnlineVideos properties.</p><p></p><p>Any advice would be very gratefully received</p><p></p><p>Thank you</p><p>RH</p><p></p><p>The problem buttons:</p><p></p><p><control></p><p><description>Button 2 max results</description></p><p><type>selectbutton</type></p><p><id>5</id></p><p><posX>68</posX></p><p><posY>912</posY></p><p><font>TitanLight12</font></p><p><label>#OnlineVideos.Translation.MaxResults.Label</label></p><p><textcolor>FF000000</textcolor></p><p><textcolorNoFocus>ffffffff</textcolorNoFocus></p><p><onup>13</onup></p><p><ondown>5</ondown></p><p><onleft>901</onleft></p><p><onright>9</onright></p><p><animation effect="fade" time="250">WindowOpen</animation></p><p><animation effect="fade" time="250">WindowClose</animation></p><p><animation effect="fade" time="250">WindowOpen</animation></p><p><animation effect="fade" time="250">WindowClose</animation></p><p></control></p><p></p><p></p><p><control></p><p><description>Button 4 category</description></p><p><type>selectbutton</type></p><p><id>9</id></p><p><posX>460</posX></p><p><posY>912</posY></p><p><font>TitanLight12</font></p><p><label>#OnlineVideos.Translation.Category.Label</label></p><p><textcolor>FF000000</textcolor></p><p><textcolorNoFocus>ffffffff</textcolorNoFocus></p><p><onup>10</onup></p><p><ondown>9</ondown></p><p><onleft>13</onleft></p><p><onright>50</onright></p><p><animation effect="fade" time="250">WindowOpen</animation></p><p><animation effect="fade" time="250">WindowClose</animation></p><p></control></p><p></p><p>What I would like: (format as per MyMusic)</p><p></p><p><control></p><p><description>View-As</description></p><p><type>menubutton</type></p><p><id>2</id></p><p><posX>68</posX></p><p><posY>912</posY></p><p><font>TitanLight12</font></p><p><label></label></p><p><mode>dialoglist</mode></p><p><dialogTitle>792</dialogTitle></p><p><valueTextInButton>yes</valueTextInButton></p><p><valuePrefixText>95</valuePrefixText></p><p><onup>.....</p><p>etc</p><p></control></p></blockquote><p></p>
[QUOTE="Rob Hexenmeister, post: 1275822, member: 113164"] Good evening everyone, I need some help with skinning buttons for Online Videos. What I am trying to achieve is move the buttons off the hidden menu into the main window. I've taken a screenshot to show what I am doing. The problem is with the bottom two buttons <id>5</id> and <id>9</id> [ full code at the end of this text.] They work fine, but navigation is awful. This type of selectbutton just isn't designed for sideways navigation as you end up changing the values. Ideally I would like to change them to a menubutton with dialoglist, but I don't know what I am doing as the guidance in the wiki is, to say the least, thin on this topic (this would be a really good addition to the tutorials) What I do know - some plugins crash if certain default buttons aren't present, or if you muck about with their button type, so they have to be kept as they are. What I would suggest to myself is moving the two problematic buttons to off-screen minus coordinates and putting in new buttons with different <id>s in their place. What I don't know how to do, is how to bind variables to a dialog style menubutton, and what properties to set for these two functions in OnlineVideos. A fairly fundamental failing on my part therefore. I've had a good search of the wiki and while it explains what binding is, there are no examples I can find, and I would only be guessing at setting OnlineVideos properties. Any advice would be very gratefully received Thank you RH The problem buttons: <control> <description>Button 2 max results</description> <type>selectbutton</type> <id>5</id> <posX>68</posX> <posY>912</posY> <font>TitanLight12</font> <label>#OnlineVideos.Translation.MaxResults.Label</label> <textcolor>FF000000</textcolor> <textcolorNoFocus>ffffffff</textcolorNoFocus> <onup>13</onup> <ondown>5</ondown> <onleft>901</onleft> <onright>9</onright> <animation effect="fade" time="250">WindowOpen</animation> <animation effect="fade" time="250">WindowClose</animation> <animation effect="fade" time="250">WindowOpen</animation> <animation effect="fade" time="250">WindowClose</animation> </control> <control> <description>Button 4 category</description> <type>selectbutton</type> <id>9</id> <posX>460</posX> <posY>912</posY> <font>TitanLight12</font> <label>#OnlineVideos.Translation.Category.Label</label> <textcolor>FF000000</textcolor> <textcolorNoFocus>ffffffff</textcolorNoFocus> <onup>10</onup> <ondown>9</ondown> <onleft>13</onleft> <onright>50</onright> <animation effect="fade" time="250">WindowOpen</animation> <animation effect="fade" time="250">WindowClose</animation> </control> What I would like: (format as per MyMusic) <control> <description>View-As</description> <type>menubutton</type> <id>2</id> <posX>68</posX> <posY>912</posY> <font>TitanLight12</font> <label></label> <mode>dialoglist</mode> <dialogTitle>792</dialogTitle> <valueTextInButton>yes</valueTextInButton> <valuePrefixText>95</valuePrefixText> <onup>..... etc </control> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
Skinning Online Videos question
Contact us
RSS
Top
Bottom