RetroFE forums

Artwork & Layouts => Help => Topic started by: MISAEL JUNIO DE OLIVEIRA on July 24, 2019, 11:27:01 AM

Title: Put background music
Post by: MISAEL JUNIO DE OLIVEIRA on July 24, 2019, 11:27:01 AM
I'm making a theme that has videos in the main and secondary (platforms) menu, but I don't want them with sound and I want to put a background song for each theme. This is crucial to the experience I am proposing on the subject. can anyone help me with any solution?
Title: Re: Put background music
Post by: Pieter Hulshoff on July 24, 2019, 05:05:25 PM
That's currently not yet supported. I only recently added volume control to the videos, so muting the videos is now possible, but I don't have music support built in yet.
Title: Re: Put background music
Post by: MISAEL JUNIO DE OLIVEIRA on July 25, 2019, 02:48:32 AM

241/5000
This solution is already valid for me, because I can put an audio file in the video format to play in the background while a followed video is muted.

How can I do this command to load mute video?
in my theme it looks like this:

Code: [Select]
<!-----------------Video----------------->

<reloadableVideo mode="Layout" imageType="video" maxwidth="720" maxHeight="480" x="900" y="430" xOrigin="center" yOrigin="center" alpha="0" layer="10">
<onMenuEnter menuIndex="1"><set duration=".2"><animate type="alpha" to="1"/><animate  type="xOffset" from="0"  to="900" /><animate  type="xOffset" to="2500" /><animate  type="yOffset" from="0"  to="430" /><animate  type="yOffset" to="430" /></set></onMenuEnter>
<onMenuExit menuIndex="1"><set duration=".5"><animate type="alpha" to="0"/><animate  type="xOffset" from="900"  to="0" /><animate  type="yOffset" from="430" to="0"/></set></onMenuExit>
<onMenuScroll><set duration=".001"><animate type="alpha" to="0"/></set></onMenuScroll>
<onMenuIdle><set duration="2"><animate type="nop"/></set><set duration="0.6"><animate type="alpha" to="1.0"/></set></onMenuIdle>
<onPlaylistExit><set duration="0.001"><animate type="alpha" to="0.0"/></set></onPlaylistExit>
<onPlaylistEntry><set duration="0.001"><animate type="alpha" to="0.0"/></set></onPlaylistEntry>
<onMenuJumpEnter><set duration="0.001"><animate type="alpha" to="0.0"/></set></onMenuJumpEnter>
<onMenuJumpExit><set duration="0.001"><animate type="alpha" to="0.0"/></set></onMenuJumpExit>
</reloadableVideo>

Title: Re: Put background music
Post by: Pieter Hulshoff on July 25, 2019, 07:49:15 AM
It’s not yet in the manual, but volume is one of the parameters you can set to 0. It can even be animated to fade in and out.


Sent from my iPad using Tapatalk