Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 415
  • Last Modified:

do i need to convert my object tags?

I've inserted a video into my website via a youtube embed code. It looks like this:

           <object width="350" height="283">
             <param name="movie" value="http://www.youtube.com/v/ypE3P4kNUvM&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ypE3P4kNUvM&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="350" height="283"></embed></object>
           

When I open the file in dreamweaver I get a message telling me that object tags don't work in new versions of IE. Then it asks if I want to convert them. When I click yes the code changes to this:

           <script type="text/javascript">
AC_AX_RunContent( 'width','350','height','283','src','http://www.youtube.com/v/ypE3P4kNUvM&hl=en&fs=1','type','application/x-shockwave-flash','allowscriptaccess','always','allowfullscreen','true','movie','http://www.youtube.com/v/ypE3P4kNUvM&hl=en&fs=1' ); //end AC code
</script><noscript><object width="350" height="283">
             <param name="movie" value="http://www.youtube.com/v/ypE3P4kNUvM&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ypE3P4kNUvM&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="350" height="283"></embed></object></noscript>

but then the video doesn't work.

Here's a link to the page. The video is supposed to be in the greyish box under the news list.

http://www.glowfishtw.com/flagfootball/index.asp

Could someone briefly explain to me what is going on here? Is is necessary to update these object tags or can I use the old embed code?

Thanks
0
elliottbenzle
Asked:
elliottbenzle
1 Solution
 
RouchieCommented:
Hi

The problem is that AC_AX_RunContent is the function name of some javascript that contains the logic to make Flash run.

DW creates a reference to this file in your page, but I don't think you have uploaded it so the browser doesn't know how to handle the code.

The missing file is http://www.glowfishtw.com/flagfootball/Scripts/AC_ActiveX.js
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now