ID

Uploaded

Status

Description

Work Items

Action

2406
by jakirsch
Jan 28, 2009
4:25 AM

Being evaluated

Changes regarding Position Property:

// MediaPlayer Project
Controls.cs

line 40 added private TimeSpan _position; line 81 81 added Property Position

line 271 Method: _media_MediaOpened
added : _media.Position = _position;

// VideoPlayerThemed Project
Page.xaml.cs
line 85: Page_Loaded , added parsing parameter: position

if (App.Current.Resources.Contains("position"))
{
TimeSpan span = TimeSpan.Zero;
if
(TimeSpan.TryParse(App.Current.Resources["position"].ToString(), out
span))
mediaControls.Position = span;
}

// VideoPlayerProject .
mediacontrol.xaml.cs
line 28 added private TimeSpan _position; line 61 added Property Position

line 185 media_MediaOpened
added _media.Position = _position;

Page.xaml.cs
line 85: Page_Loaded , added parsing parameter: position

if (App.Current.Resources.Contains("position"))
{
TimeSpan span = TimeSpan.Zero;
if
(TimeSpan.TryParse(App.Current.Resources["position"].ToString(), out
span))
mediaControls.Position = span;
}

//VideoPlayerWEB Project
added param to initParams of SilverlightObject as a sample.
line 72: last param is position: 00:00:10 Also I've changed here video link to demo you gave.

Download

1884
by kobush
Sep 29, 2008
7:56 AM

Applied

This patch fixes following breaking changes in Silverlight 2 RC0.

1. Updated object tag in default.html
2. Replaced reference to System.Windows.Controls.Extended
3. Replaced VisualTransition.Duration property with GeneratedDuration
4. Removed vsm:prefix on items not related to VisualState* (like Setters and Styles)


Applied Oct 14, 2008: Thank you so much for this kobush. These have now been added and the builds support Silverlight 2 release!

Download

View All
  • 1-2 of 2 Patches
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Patches