I use the Smf.CodePlex.com framework. 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?
I found it. You have to get a reference to the progressive download plugin (via the event handler)
And on the plugin the NaturalVideoSize is found…..