Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Animations stutter while MediaElement is loading a Video

$
0
0

Hi,

I have a MediaElement which is loading a new video once a while. It takes 1-2 seconds on my system from setting the new MediaElement.Source until the video is fully loaded and ready to play. In the meantime another control performs a motion animation. This animation is stuttering horribly while the MediaElement loads the video.

I think the MediaElement is blocking the UI thread while loading.

How can I fix this problem? Is it possible to somehow tell the MediaElement to load the new Video asynchronously?

Regards, Paul


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>