Beispiel #1
0
 public override void GetWebPlayer(XmlWriter xmlWriter, ItemManager manager, Dictionary <string, string> urlParams)
 {
     if (this.Audio)
     {
         ItemAudio.WriteHTMLPlayer(xmlWriter, this.Id.ToString(), GetDuration(), urlParams);
     }
     else
     {
         ItemVideo.WriteHTMLPlayer(xmlWriter, manager, this.Id.ToString(), GetDuration(), urlParams, null);
     }
 }
Beispiel #2
0
 public override void BrowseWebMetadata(XmlWriter xmlWriter, MediaSettings settings, string idParams)
 {
     if (this.Audio)
     {
         ItemAudio.WriteHTML(xmlWriter, this.Id.ToString(), this.Title, "0:00:00", string.Empty, string.Empty, string.Empty, false, null);
     }
     else
     {
         ItemVideo.WriteHTML(xmlWriter, this.Id.ToString(), this.Title, "0:00:00", this.Resolution, false, null);
     }
 }