public MeTLLib.DataTypes.Video forceEvaluation()
 {
     var video = new MediaElement
     {
         Tag = this.tag,
         LoadedBehavior = MediaState.Manual,
         Source = source
     };
     MeTLLib.DataTypes.Video srVideo = new MeTLLib.DataTypes.Video
     {
         MediaElement = video,
         Tag = this.tag,
         VideoSource = video.Source,
         VideoHeight = video.NaturalVideoHeight,
         VideoWidth = video.NaturalVideoWidth
     };
     return srVideo;
 }
Esempio n. 2
0
 private MeTLLib.DataTypes.Video newVideo(System.Uri Source)
 {
     var MeTLVideo = new MeTLLib.DataTypes.Video()
         {
             VideoSource = Source,
         };
     return MeTLVideo;
 }