shro2016 Posted January 10, 2017 Share Posted January 10, 2017 (edited) I have worked through the tutorials on YouTube for theme creation but cannot add an animated gif to the theme I am making. despite several attempts I cannot get the animated gif to work. I have added the required line to the user control section on the view. With this line in place it will then accept and recognise the <image gif: tag. However, when I try putting image behavior after the tag it is not recognised as a valid property and neither is animated source. With these in place I get an error notification and the view does not load. Any ideas what I am doing wrong or what I have missed? Edited January 10, 2017 by shro2016 Quote Link to comment Share on other sites More sharing options...
SentaiBrad Posted January 10, 2017 Share Posted January 10, 2017 I'm certain that GIFS are not supported in Big Box, unless Jason changed something. Quote Link to comment Share on other sites More sharing options...
shro2016 Posted January 10, 2017 Author Share Posted January 10, 2017 I got it from the tutorial that @Jason Carrput together but it was recorded 5 months ago so I wonder if this feature is now depreciated? Quote Link to comment Share on other sites More sharing options...
SentaiBrad Posted January 10, 2017 Share Posted January 10, 2017 Ah, if it's in the tutorial for a theme to be made with it sure. I know default didn't have gif support though. I didn't realize it was in there. Edit: Apparently @Jason Carr did add this and told no one. So hopefully he can help out, or if another theme creator knows they can help. Sorry about that. Quote Link to comment Share on other sites More sharing options...
eatkinola Posted January 10, 2017 Share Posted January 10, 2017 @shro2016: You can use a MediaElement to display your animated gif. However, it does not loop the gif indefinitely -- the gif freezes up about 10 seconds after loading. It's possibly a problem with the gif I'm loading, but just keep that in mind. <MediaElement Source="PATH TO YOUR ANIMATED GIF" LoadedBehavior="Play" /> Quote Link to comment Share on other sites More sharing options...
shro2016 Posted January 10, 2017 Author Share Posted January 10, 2017 Thanks @SentaiBrad and @eatkinola. I will try the mediaelement tag instead tomorrow and see how it goes. Quote Link to comment Share on other sites More sharing options...
shro2016 Posted January 10, 2017 Author Share Posted January 10, 2017 I tried the <mediaelement> tag but it just presented as a black rectangle. The gif I am trying to use has a transparent background with fading in and out white text. For now I have set this as a static image instead. @Jason Carr is the animated gif feature still expected to work in version 7+? Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted January 11, 2017 Share Posted January 11, 2017 @shro2016 Good find; it looks like perhaps I broke this in a recent version. I'll get it fixed shortly. Sorry for the trouble there. 2 Quote Link to comment Share on other sites More sharing options...
shro2016 Posted January 12, 2017 Author Share Posted January 12, 2017 Thanks @Jason Carr and no need to apologise, the effort you put into this app and the support from both yourself and the community is phenomenal and the best I have known for any application. there are bound to be certain bits that break when new features are put in place that is just par for the course with systems development. It's just good to know that It's not something I was doing wrong. 2 Quote Link to comment Share on other sites More sharing options...
shro2016 Posted January 28, 2017 Author Share Posted January 28, 2017 @Jason Carr just wondered is there any update on this? The theme I am working is nearly ready but could do with a few animated elements to just finish it off Quote Link to comment Share on other sites More sharing options...
Maddoc1007 Posted January 30, 2017 Share Posted January 30, 2017 @shro2016 Animated gifs are working, but however if you want to use an animated gif per platform or per game that was never implemented here is a link to an alternate coverflow i did awhile back with an animated gif that works when you first load up the fullscreen coverflow view, i checked and it still works. Quote Link to comment Share on other sites More sharing options...
shro2016 Posted January 31, 2017 Author Share Posted January 31, 2017 Thanks @Maddoc1007 I will give this another go using your example. Fingers crossed this will let me get the bits of animation i need completed. The animation is only going to be very simple in the theme but it just feels a bit too "static" without it in place. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted January 31, 2017 Share Posted January 31, 2017 Sorry for the delay here @shro2016; I haven't gotten back to it yet. Thanks @Maddoc1007 for stepping in. 1 Quote Link to comment Share on other sites More sharing options...
shro2016 Posted February 1, 2017 Author Share Posted February 1, 2017 @Maddoc1007 - I tried the file from the download and it generates an error both in visual studio and when used in the cabinet. The error is attributed to the transitions assembly. I also tried taking the lines for the gif animation directly out of the file and placing into the view I am working on (the xmlns line and the actual control) and get the same error as I did when taking these lines from the tutorial @Jason Carr created - which is in essence that the animatedsource is not a valid property. Any idea what I am missing/doing wrong? Quote Link to comment Share on other sites More sharing options...
Maddoc1007 Posted February 3, 2017 Share Posted February 3, 2017 @shro2016 Yes i figured it out These lines need to be changed From: xmlns:transitions="clr-namespace:BigBox.Transitions;assembly=BigBox" xmlns:coverFlow="clr-namespace:BigBox.Controls.CoverFlow;assembly=BigBox" xmlns:gif="clr-namespace:WpfAnimatedGif;assembly=BigBox" To: xmlns:transitions="clr-namespace:Unbroken.LaunchBox.Wpf.Transitions;assembly=Unbroken.LaunchBox.Wpf" xmlns:coverFlow="clr-namespace:Unbroken.LaunchBox.Wpf.Controls.CoverFlow;assembly=Unbroken.LaunchBox.Wpf" xmlns:gif="clr-namespace:WpfAnimatedGif;assembly=Unbroken.LaunchBox.Wpf" Here is the revised Coverflow for you also read the readme Alternate_Coverflow.zip Quote Link to comment Share on other sites More sharing options...
shro2016 Posted February 4, 2017 Author Share Posted February 4, 2017 (edited) Awesome! I now have animation working in my theme! Thanks so much with your help in working this one out for me @Maddoc1007 - this was way beyond my knowledge of the assemblies. Thanks again Edited February 4, 2017 by shro2016 Quote Link to comment Share on other sites More sharing options...
shinra358 Posted August 2, 2017 Share Posted August 2, 2017 @Jason Carr Why don't any of the stretch controls work for gif??? Quote Link to comment Share on other sites More sharing options...
Aagsar Posted August 24, 2017 Share Posted August 24, 2017 Can a gift be renamed as Background.gift as if it were a video and just work ? it is this possible? Quote Quote Link to comment Share on other sites More sharing options...
eatkinola Posted August 24, 2017 Share Posted August 24, 2017 3 hours ago, Aagsar said: Can a gift be renamed as Background.gift as if it were a video and just work ? it is this possible? No, that won't work. You have to change the XAML, and as stated above GIF can be a little buggy. Quote Link to comment Share on other sites More sharing options...
Aagsar Posted August 25, 2017 Share Posted August 25, 2017 Ok , no problem. I have found that is very easy to convert gift to mp4 so.. 1 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.