advertisement panel
#1
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
Reply
#2
Moving this to skinning help
Reply
#3
I not understand what I do wrong?
Is this forbidden question, where to find help for my question.
I apologize once again
Reply
#4
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.
Reply
#5
Yes of course,now I see I try to respect the rules on forum.
Thanks
Reply
#6
Not sure i understand what you want, but:
Code:
<onfocus condition="Control.HasFocus(ID)">mute</onfocus>
<onunfocus condition="Player.Muted">mute</onunfocus>
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#7
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.
Reply
#8
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.
Reply
#9
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?
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#10
Sorry now I don't know what I need to do. How do I write a line.
I apologize
Reply
#11
Download link for skin with advertisement panel?
Your current version.
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#12
ok I must to upload skin on skydrive.
After I set up a link
Reply
#13
This is the link for skin





https://skydrive.live.com/redir?resid=B8...1C2AA!1667
Reply
#14
Sorry dude, i'm not doing this.
Maybe someone else can help you.
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#15
Hallo MassIV
Thanks for trying, I understand you.I think for this no have solution.
Reply

Logout Mark Read Team Forum Stats Members Help
advertisement panel0