Bugzilla – Bug 566789
Video Player zooms in and out for no reason
Last modified: 2011-08-22 08:57:45 UTC
Description of Problem: Steps to reproduce the problem: 1. Go here: http://www.microsoft.com/SILVERLIGHT/overview/default.aspx 2. Click on "Smooth Streaming" Actual Results: The video starts playing but its contents start zooming in and out for no reason. Also the video doesn't cover the whole player's area Expected Results: The video shouldn't zoom in nor out but stays where it is and it should cover the whole player's area. How often does this happen? Always Additional Information:
This seems to be a problem with stretching, looking at the xaml hierarchy the mediaelement is contained in a ExpressionMediaPlayer.StretchBox class.
Just tried this with current moonlight and I get the following error: Moonlight: URL = http://www.microsoft.com/silverlight/case-studies/media/ Moonlight: URL = http://www.microsoft.com/silverlight/ClientBin/SilverlightCaseStudyBrowser.xap Storyboard::StopWithError: Throb SetKeepAlive (false) Using native xaml parser. trying to load: /SuperDeepZoom;component/themes/generic.xaml (firefox:10064): Moonlight-WARNING **: inherited value for property FontResource should not be NULL (firefox:10064): Moonlight-WARNING **: inherited value for property FontResource should not be NULL ManagedXamlLoader::SetProperty (-1078624512, clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data, -1563742144, RowGroupHeaderStyles, -1078626324) threw an exception: Set Method not found for 'RowGroupHeaderStyles'. System.ArgumentException: Set Method not found for 'RowGroupHeaderStyles' at System.Reflection.MonoProperty.SetValue (System.Object obj, System.Object value, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000] in <filename unknown>:0 at Mono.Xaml.ManagedXamlLoader.SetValue (Mono.Xaml.XamlCallbackData* data, IntPtr target_data, System.Reflection.PropertyInfo pi, System.Object target, System.Object value) [0x00000] in <filename unknown>:0 at Mono.Xaml.ManagedXamlLoader.TrySetExpression (Mono.Xaml.XamlCallbackData* data, System.String xmlns, System.Object target, IntPtr target_data, Mono.Value* target_parent_ptr, System.String type_name, System.String prop_xmlns, System.String name, System.String full_name, Mono.Value* value_ptr, IntPtr value_data) [0x00000] in <filename unknown>:0 at Mono.Xaml.ManagedXamlLoader.SetProperty (Mono.Xaml.XamlCallbackData* data, System.String xmlns, Mono.Value* target_ptr, IntPtr target_data, Mono.Value* target_parent_ptr, System.String prop_xmlns, System.String name, Mono.Value* value_ptr, IntPtr value_data) [0x00000] in <filename unknown>:0 at Mono.Xaml.ManagedXamlLoader.cb_set_property (Mono.Xaml.XamlCallbackData* data, System.String xmlns, Mono.Value* target, IntPtr target_data, Mono.Value* target_parent, System.String prop_xmlns, System.String name, Mono.Value* value_ptr, IntPtr value_data, Mono.MoonError& error) [0x00000] in <filename unknown>:0 Moonlight: ErrorEventArgs created with message: 'Set Method not found for 'RowGroupHeaderStyles'' Could not parse element DataGrid, attribute (null), error: Set Method not found for 'RowGroupHeaderStyles'