Actual Video Height

Oct 3, 2011 at 8:04 PM

How can I obtain the actual video size from a progressive download stream (Windows Phone)

I tried:

var item = TvPlayer.CurrentPlaylistItem;                        
var videoHeight = item.VideoHeight;             
var videoWidth = item.VideoWidth;

As well as

var videoHeight = TvPlayer.VideoHeight;             
var videoWidth = TvPlayer.VideoWidth;

 Both return NaN. Any clue?