MediaElement will get stretched when panning to the next element

3 posts, 0 answers
  1. ThiefRiver
    ThiefRiver avatar
    12 posts
    Member since:
    Mar 2014

    Posted 14 May 2014 Link to this post

    Item Template:
    <DataTemplate x:Key="Videos">
    <Grid>
    <MediaElement x:Name="MP4MediaElement"
                                          AutoPlay="False"
                                          Visibility="Visible" />
    </Grid>
    </DataTemplate>

    SlideView:
    <telerikPrimitives:RadSlideView x:Name="RadSlideView"
                                                DataContext="{StaticResource viewModel}"
                                                ItemsSource="{Binding ImageCollection}"
                                                ItemRealizationMode="Default"
                                                IsLoopingEnabled="False"
                                                IsFilmstripModeEnabled="False"
                                                TransitionMode="Slide"
                                                ItemTemplate="{StaticResource Videos}"
                                                SlideAnimationCompleted="RadSlideView_OnSlideAnimationCompleted"
                                                SelectionChanged="RadSlideView_OnSelectionChanged" />

    The image template is a bit more complex than this, but it should illustrate the issue.

    I have attached a couple of screenshots of what happens to illustrate the problem.

  2. ThiefRiver
    ThiefRiver avatar
    12 posts
    Member since:
    Mar 2014
  3. DevCraft banner
  4. Todor
    Admin
    Todor avatar
    778 posts

    Posted 19 May 2014 Link to this post

    Hi Lars,

    Thank you for contacting us.

    I managed to reproduce the described issue. However, there's nothing we can do to improve the behavior in this case. It seems that the slide animation that we play when the selection is changing doesn't play well while the video of the MediaElement is playing and while it is stopped the animation plays as expected.

    Regards,
    Todor
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top