when I use it, my app just quit

Aug 3, 2014 at 4:40 AM
when I use it, my app just quit,and I can't catch the exception
Coordinator
Aug 5, 2014 at 7:22 AM
Hi kingyzf !

In which kind of project did you add it ?

Can you paste the xaml you added to your page ?
Aug 5, 2014 at 8:00 AM
            <gif:GIF IsAnimating="True" Source="http://ww3.sinaimg.cn/bmiddle/a4314a35jw1eiv6w4i9wsg208s05px6p.gif"/>
Or
            <gif:GIF x:Name="gifContainer"  Source="http://ww3.sinaimg.cn/bmiddle/a4314a35jw1eiv6w4i9wsg208s05px6p.gif" Width="400" Height="400" />

or just copy your code from your example.
Whatever I do, it can't help , and then I tried to add the code as your example,I add these codes:
<Page.Resources>
        <Storyboard x:Name="GIFAnimation" RepeatBehavior="Forever">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="projection" BeginTime="00:00:00.000"  Storyboard.TargetProperty="RotationY" >
                <EasingDoubleKeyFrame KeyTime="00:00:02.000" Value="180" />
                <EasingDoubleKeyFrame KeyTime="00:00:04.000" Value="360" />
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="gifContainer" BeginTime="00:00:00.000"  Storyboard.TargetProperty="Opacity" >
                <EasingDoubleKeyFrame KeyTime="00:00:02.000" Value="0" />
                <EasingDoubleKeyFrame KeyTime="00:00:04.000" Value="1" />
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </Page.Resources>
and I tried to add the GIF Control in the C# code ,can't help too
try
            {
                var a = new GIFPlayer.GIF();
                a.IsAnimating = true;
                a.Height = 400;
                a.Width = 400;
                a.Source = "http://ww3.sinaimg.cn/bmiddle/a4314a35jw1eiv6w4i9wsg208s05px6p.gif";
                ContentRoot.Children.Add(a);
            }
            catch (Exception ex)
            {

                Debug.WriteLine("ex is " + ex.Message);
            }
I add 0.4 version from your code ,can't help
then,I download 0.41 version from Nuget , it doesn't make any sense!
Aug 5, 2014 at 8:16 AM
I add it to windows phone 8.1 project
Coordinator
Aug 5, 2014 at 9:02 AM
Sorry it seems to have an issue with the nuget package.

The generic.xaml file destination is not correct.

Could you try to create a folder named "Themes" in the root of your wp81 project, and then put the Generic.xaml file in this folder ?

I will fix it very soon. Sorry again.
Aug 5, 2014 at 4:25 PM
OK,it works , I didn't find the Style,but I think maybe it should be encapsulated in the GIFPlayer.
In addion, I think the Width and Height should vary accoding to specific gif,maybe the dimension every gif is different.
Thanks for your works,it helped me ,becouse I don't know about C++, the solution I found only with the windows runtime C# Imaging api can't decode some gifs.I don't know whether it is a bug or just I made a mistake.