Hiding/showing MediaUriElement


If I take your sample application, wrap the grid into a tab container with two tabs, putting original grid in one tab, and leaving the other blank for demonstration purposes, the video will not render if it has already been shown and hidden once. Change tabs back and forth and you will see what I mean. I spotted this issue in my application when I was trying to have collapsible panels, but the TabControl exposes the issue easily.


theonlylawislove wrote Jul 21, 2013 at 9:39 AM

Resolved by changing the OnUnloaded event to Manual, preventing the graph from being free'd up.