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); } }