1) Script Title: Dynamic Ajax Content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...jaxcontent.htm
3) Describe problem: I am having a problem loading the following external page into the dynamic content area. If I load a simple page, for example one of the external.htm files that come in the zip package, it works perfectly. But there must be something in the following code that is causing an error. The page is called vtour_mancs1.html and it is trying to load a quicktime movie:
If anyone can help or tell me if what I am trying to do is or is not possible, I'd really appreciate it!HTML Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Manchester Apartment V-Tour</title> <script src="Scripts/AC_ActiveX.js" type="text/javascript"></script> <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script> </head> <body> <script type="text/javascript"> AC_AX_RunContent( 'classid','clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B','width','640','height','495','codebase','http://www.apple.com/qtactivex/qtplugin.cab','src','http://www.my-site.com/flat1.mov','qtsrc','http://www.my-site.com/flat1.mov','autostart','True','loop','false','controller','true','pluginspage','http://www.apple.com/quicktime/','autoplay','true' ); //end AC code </script> <noscript> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="640" height="495" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> <param name="src" value="http://www.my-site.com/flat1.mov" /> <param name="qtsrc" value="http://www.my-site.com/flat1.mov" /> <param name="autoplay" value="true" /> <param name="loop" value="false" /> <param name="controller" value="true" /> <embed src="http://www.my-site.com/flat1.mov" qtsrc="http://www.my-site.com/flat1.mov" width="640" height="495" autostart="True" loop="False" controller="true" pluginspage="http://www.apple.com/quicktime/"> </embed> </object> </noscript> </body> </html>
Kind regards
Jonathan
EDIT: I have found that using just the following code in the external page works ok......is it OK to just use the <object> tag these days in our newer browsers?
HTML Code:<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="640" height="495" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> <param name="src" value="http://www.my-site.com/flat1.mov" /> <param name="qtsrc" value="http://www.my-site.com/flat1.mov" /> <param name="autoplay" value="true" /> <param name="loop" value="false" /> <param name="controller" value="true" /> <embed src="http://www.my-site.com/flat1.mov" qtsrc="http://www.my-site.com/flat1.mov" width="640" height="495" autostart="True" loop="False" controller="true" pluginspage="http://www.apple.com/quicktime/"> </embed> </object>



Reply With Quote


Bookmarks