I am using object tag to run the playlist. I am adding video in a playlist Test.wpl file which is already running in the player. After adding video to playlist it is not playing in the player without refreshing the player. If i refresh the page it works. I want to play the updated playlist without refreshing and starting from first video-
string filepath;
FileInfo file = new FileInfo(Test.wpl); XmlDocument xml = new XmlDocument(); xml.Load(file.FullName);
XmlNode smil = xml.SelectSingleNode("smil/body/seq"); XmlNode media = xml.CreateNode(XmlNodeType.Element, "media", null); XmlAttribute src = xml.CreateAttribute("src");
filepath = strFileName;
src.Value = filepath; media.Attributes.Append(src); smil.AppendChild(media);
xml.Save(path);

Thanks in advance. Any help would be appreciated.

Go to the complete details ...