views:

23

answers:

1

Hi All.

I have a Windows Media Player control embedded inside my webpage, I feed it some URL to stream from (ASF file). How can I get from the WMP control the resolution in pixels of the file being played?

Thanks

Roey

A: 

I had a look on MSDN and looks like the WMP object model has some properties which might give you the height and width.

You need to embed the control in a page and use JavaScript to access these properties.

BrianLy