advertisement panel - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +--- Thread: advertisement panel (/showthread.php?tid=164165) |
advertisement panel - senna99 - 2013-05-06 Hello to everyone I use advertisement panel in Xperience binBD skin mod, with this command <onclick>PlayMedia(special://skin/system/0100010/boot.mp4,false,1)</onclick> So how to disable sound from video, and just released sound when I stop on advertisement panel. I was used mute command to stop sound <onclick>mute</onclick> but is not practical, with mute I disable buttons sound. does anyone have a solution for this. Thanks in advance RE: advertisement panel - Kib - 2013-05-06 Moving this to skinning help RE: advertisement panel - senna99 - 2013-05-06 I not understand what I do wrong? Is this forbidden question, where to find help for my question. I apologize once again RE: advertisement panel - Ned Scott - 2013-05-06 You didn't do anything wrong. Kibje moved it here because he thought it would get better attention from the people who might best be able to answer this. RE: advertisement panel - senna99 - 2013-05-06 Yes of course,now I see I try to respect the rules on forum. Thanks RE: advertisement panel - MassIV - 2013-05-06 Not sure i understand what you want, but: Code: <onfocus condition="Control.HasFocus(ID)">mute</onfocus> RE: advertisement panel - senna99 - 2013-05-06 Thanks MassIV I will try your command I'm trying to do the same effect as the Xbox 360 new dashboard with advertisement panel. I am sorry my english is not well,on this link you can see full story if you have time. http://forum.xbmc.org/showthread.php?tid=157555&page=5 Thanks again to help. RE: advertisement panel - senna99 - 2013-05-06 Not work command MassIV Maybe I make mistake, here is my xml this is just part of xml: </control> <control type="group" id="503"> <posx>867</posx> <control type="button" id="5031"> <posx>0</posx> <posy>0</posy> <width>382</width> <height>572</height> <onfocus></onfocus> <onup>505</onup> <onup>mute</onup> <ondown></ondown> <onleft></onleft> <onleft>506</onleft> <onleft>mute</onleft> <onright>201</onright> <onright>mute</onright> <onright>Control.Move(20,1)</onright> <onclick>FullScreen</onclick> <onclick condition="System.HasAddon(script.watchlist)">PlayMedia($INFO[Container(5032).ListItem.Property(Path)])</onclick> </control> <control type="label"> <posx>114</posx> <posy>575</posy> <width>382</width> <height>25</height> <font>Font-Condensed-S20</font> <textcolor>bbwhite</textcolor> <align>left</align> <aligny>center</aligny> <textoffsetx>5</textoffsetx> <label>[UPPERCASE]advertisement[/UPPERCASE]</label> <visible>System.InternetState</visible> </control> <control type="image"> <posx>118</posx> <posy>377</posy> <width>258</width> <height>192</height> <texture>black.png</texture> <aspectratio>stretch</aspectratio> </control> <control type="videowindow" id="533"> <posx>117</posx> <posy>377</posy> <width>258</width> <height>192</height> <visible>System.InternetState</visible> </control> </control> <control type="image"> <posx>275</posx> <posy>330</posy> <width>706</width> <height>50</height> <colordiffuse>99000000</colordiffuse> <texture>black.png</texture> <visible>!ControlGroup(502).HasFocus + System.InternetState</visible> </control> With this command <onclick>mute</onclick> I have control on sound from video , but I lose sound for button in home panel. So I don't know is it possible to set this,video mute, buttons home are not mute. RE: advertisement panel - MassIV - 2013-05-06 Mute is "toggle": Mute first time = mute. Mute second time = unmute. You need to do mute again, after video stops. You need condition that stays the same while you play advertisement. Or condition when to do second mute (= unmute). Like is there focus on one button the whole time? Or can you substring the player path for a certain folder? Is there a control that is only visible while you do this? RE: advertisement panel - senna99 - 2013-05-06 Sorry now I don't know what I need to do. How do I write a line. I apologize RE: advertisement panel - MassIV - 2013-05-06 Download link for skin with advertisement panel? Your current version. RE: advertisement panel - senna99 - 2013-05-06 ok I must to upload skin on skydrive. After I set up a link RE: advertisement panel - senna99 - 2013-05-06 This is the link for skin https://skydrive.live.com/redir?resid=B862B92BC5C1C2AA!1667 RE: advertisement panel - MassIV - 2013-05-07 Sorry dude, i'm not doing this. Maybe someone else can help you. RE: advertisement panel - senna99 - 2013-05-07 Hallo MassIV Thanks for trying, I understand you.I think for this no have solution. |