linking an embeded ActiveX with dynamic text
by Richard Williams
on
Oct 2, 2008 at 9:34:57 pm
Hi Guys, sorry, its me again.
if you check out this site, there is a link in the HTML code to link the embeded ActiveX to a youtube video.
http://www.kentshowground.co.uk/ I can recreate this in dreamweaver with relative ease, but what i am wondering is can i write a dynamic code to link to an embeded activeX? (am i explaining this clearly enough)???
In other words, could i have an XML document stating a variance where to look for the address of a video clip, rather than hard coding the youtube address into the webpage, so it can be altered by a client with greater ease? For exapmle, on the above website, they might like to change the video to another on you tube, so they open up an XML or even a text file and overwrite the address to link to?
Re: linking an embeded ActiveX with dynamic text by Richard Williams on Oct 4, 2008 at 6:38:37 pm
ok, i think i've sussed it... i used SSI again and that seemed to work ok. Been away from dreamweaver for FAR too long now, i'm practically a novice again! Abraham, is there any useful books or documentation you can recomend on Spry please? I'm very confused! Am i right in assuming that you can't use dreamweaver to help write a XML structure so therfore you need to have some javascripting knowledge to build it up?
Re: linking an embeded ActiveX with dynamic text by Abraham Chaffin on Oct 6, 2008 at 4:04:59 pm
Dreamweaver doesn't really have XML creation features right now. It does allow you to write XML files if you want to do it by hand. Javascript wouldn't really help you write XML files. XML files are just text files formatted in XML format sometimes with a .xml extension.
What sort of xml structure are you looking to create?
Re: linking an embeded ActiveX with dynamic text by Abraham Chaffin on Oct 6, 2008 at 3:44:47 pm
There's a couple different ways to do this. Generally if you are looking to have one piece of text or HTML code update dynamically based on the content of another file you would use a Server Side Include (SSI). Where ever you insert the SSI the server will drop in the content of another file. The content could be a URL of a YouTube video if you like and the SSI could be located in a line of code for embedding a YouTube video.