Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MediaElement and using the pack syntax?

20 views
Skip to first unread message

Philippe Lavoie

unread,
Mar 31, 2006, 1:03:50 PM3/31/06
to
With the Source="pack://application:,,,/Images/movie.wmv"

I get the following

System.Runtime.InteropServices.COMException (0xC00D1329): Exception from
HRESULT: 0xC00D1329
at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32
errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
errorCode)
at MS.Internal.HRESULT.Check(Int32 hr)
at System.Windows.Media.MediaPlayer.OpenMedia(Uri source)
at System.Windows.Media.MediaPlayer.SetSource(Uri source)
at System.Windows.Media.MediaPlayer.set_Source(Uri value)


However, with Source="http://localhost/movie.wmv"

It's all good.

Any ideas why ?

Thanks

Phil

Thomas Olsen [ms]

unread,
Mar 31, 2006, 2:21:01 PM3/31/06
to
pack uri's are not currently supported due to a WMP limitation.
0 new messages