Thanks
]]>Can anyone help please?
David
]]>Can you provide the full code of the webpart. And also your webpart is able to play all the video files such as wmv,mpv and mov. please let me know .thanks in advance
Thanks,
Shashi
I created a webpart which will loop through each audio file in the SharePoint library. Instead of drop down I created anchor tags dynamically and added to a table.
Below is the code which will come in the foreach loop.
HtmlAnchor an = new HtmlAnchor();
an.HRef = web.Url.Substring(0, web.Url.IndexOf(”/sites”)) + “/sites/MuzikIdol/Muzik%20Idol%20Custom%20Pages/Audios.aspx#”;
string str = web.Url.Substring(0, web.Url.IndexOf(”/sites”)) + Convert.ToString(item["ows_ServerUrl"]);
an.InnerText = Convert.ToString(item["Name"]).Substring(0, Convert.ToString(item["Name"]).LastIndexOf(”.”));
an.Attributes.Add(”onclick”,”document.all.music1.filename=”+ “‘” + str + “‘” );
Thanks
shahsi
This doesn’t work in Crome and mozilla. can you help me with this issue. forget about multi file and all. Even simple embed statement for direct file does not work except IE. Any thoughts or solutions for this?
Thanks in advacne.
]]>