faeran Posted Friday at 09:19 PM Share Posted Friday at 09:19 PM On 11/26/2024 at 10:48 AM, launchretrogirl2562 said: Hi Jason, I was in the process of adjusting my theme to use moving marquees on top of my arcade cabinet. I use the following in my wheelgames3 xaml <!-- MARQUEE IMAGE --> <controls:PrioritizedPathSelector x:Name="MarqueeVideoFileName" FolderPath="Themes\Unified & Ultrawide\Media\marqueeVids" FileExtension=".mp4" Priority1FileName="{Binding SelectedGame.ApplicationFileNameWithoutExtension}" /> <controls:VideoControl VideoPath="{Binding PrioritizedFilePath, ElementName=MarqueeVideoFileName}" StretchVideo="true" Grid.Column="1" Grid.ColumnSpan="3" Grid.RowSpan="1" CenterVideo="false" Panel.ZIndex="1" HorizontalAlignment="Center" VerticalAlignment="Top" /> <TextBlock Grid.Column="1" Panel.ZIndex="2" Grid.ColumnSpan="4" Grid.RowSpan="1" Text="{Binding PrioritizedFilePath, ElementName=MarqueeVideoFileName}" Foreground="Orange" DockPanel.Dock="Left" FontFamily="{StaticResource FontBebasNeue}" FontSize="50" TextAlignment="Left" /> With the textblock I just check to see if the path to my marquee vid is correct...which it is. But my marquee just doesn't show. When I however click through to the textgames view....and go back...then magically the marquee appears. But never on the first go, and never while scrolling through the games in the wheelgamesview The textblock shows the correct path to the vid each time I scroll through the wheel....but the marquee never loads. Only always when first going to the textgames view...and then back I did include the reference in usercontrols : xmlns:videos="clr-namespace:Unbroken.LaunchBox.Windows.BigBox.Controls;assembly=BigBox" What could be the cause of this? I am using the following theme Example of marquees are attached 1943.mp4 7.16 MB · 0 downloads 1944.mp4 7.17 MB · 0 downloads The much easier way to accomplish this would be to use the FlowVideo element. Video Marquees are a standard thing in LaunchBox these days, so you can assign your video marquees directly to the game itself in your library. Then just use the following code in that view and position it where you want using a Grid: <coverFlow:FlowVideo VideoType="Marquee" DataContext="{Binding ActiveGame}" PlayVideo="True" PlayAudio="False" FallbackToDefault="False" /> That should just play a game's video marquee file if one is assigned to it. 1 Quote Link to comment Share on other sites More sharing options...
launchretrogirl2562 Posted 15 hours ago Share Posted 15 hours ago Hi Faeran, Yes that works. Thank you very much. Sadly my skills in editing xaml files are severely lacking 😢 Getting the marquee to show up in the right place is - i found out- a bit of a struggle. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.