public void Parse(XmlNodeEx node, string baseURL = "", string idPrefix = "") { profile = node.GetAttributeStr("profile"); id = idPrefix + node.GetAttributeStr("id", F4MUtils.GLOBAL_ELEMENT_ID); url = node.GetAttributeStr("url"); if (!string.IsNullOrEmpty(url)) { // We may make this load on demand in the future. url = URL.getAbsoluteUrl(baseURL, url); } else { data = node.GetOwnData(); } fragmentDuration = node.GetAttributeFloat("fragmentDuration"); segmentDuration = node.GetAttributeFloat("segmentDuration"); }