Not sure if this is even possible in the context of MOSS 2007. Here's what I have and would *like* to accomplish.
I have a list that contains links to videos stored in our external (but inside the firewall) video management system. I have a SharePoint list that has a column and the value of that column is the ID of the external video used by this video system. I then also have a computed column that builds the correct full URL using that ID column which allows the users to click on the video URL and launch it in the current window. All of that works. However, I would like to take it a step further and embed the actual video in the DispForm.aspx page. This video system, like YouTube, does allow you to embed videos in web pages. It does this via a short JavaScript function which references that same ID I have in a column. I have been able to add a CEWP to the bottom of the DispForm.aspx page and hard code the JavaScript that references a certain video and it works fine in the browser. Plays exactly as I would want it to. So, my question is if I can somehow make that embedded video dynamic by manipulating the JavaScript at runtime. I may be going down a harder path than necessary, but I was thinking that I could dynamically insert the ID token into the JavaScript that is in the CEWP at runtime. But when I try this is doesn't work. The CDATA element seems to override anything I try to do in JavaScript on the page. The dynamic JavaScript I need to insert is only a few lines. Any ideas?
Thanks and please let me know if I did not explain this adequately or if this is in the incorrect forum category.