Posts: 689
Joined: Sep 2011
Reputation:
14
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
Posts: 5,174
Joined: Jan 2010
Reputation:
97
Kib
Team-Kodi Member
Posts: 5,174
Moving this to skinning help
Posts: 689
Joined: Sep 2011
Reputation:
14
I not understand what I do wrong?
Is this forbidden question, where to find help for my question.
I apologize once again
Posts: 31,445
Joined: Jan 2011
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.
Posts: 689
Joined: Sep 2011
Reputation:
14
Yes of course,now I see I try to respect the rules on forum.
Thanks
Posts: 689
Joined: Sep 2011
Reputation:
14
2013-05-06, 18:36
(This post was last modified: 2013-05-06, 18:46 by senna99.)
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.
Posts: 1,126
Joined: Mar 2012
Reputation:
37
MassIV
Skilled Skinner
Posts: 1,126
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?
[RELEASE] Metroid
[RELEASE] IrcChat
Posts: 689
Joined: Sep 2011
Reputation:
14
Sorry now I don't know what I need to do. How do I write a line.
I apologize
Posts: 1,126
Joined: Mar 2012
Reputation:
37
MassIV
Skilled Skinner
Posts: 1,126
Download link for skin with advertisement panel?
Your current version.
[RELEASE] Metroid
[RELEASE] IrcChat
Posts: 689
Joined: Sep 2011
Reputation:
14
ok I must to upload skin on skydrive.
After I set up a link
Posts: 1,126
Joined: Mar 2012
Reputation:
37
MassIV
Skilled Skinner
Posts: 1,126
Sorry dude, i'm not doing this.
Maybe someone else can help you.
[RELEASE] Metroid
[RELEASE] IrcChat
Posts: 689
Joined: Sep 2011
Reputation:
14
Hallo MassIV
Thanks for trying, I understand you.I think for this no have solution.