Embedded WMP control - how to get resolution of current playing file?

209 Views Asked by At

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

1

There are 1 best solutions below

0
On

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.