Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder BatCountry's Avatar
    Join Date
    Jul 2007
    McMaynerberry, Texas
    Thanked 0 Times in 0 Posts

    Arrow JavaScript Embeds: Mess of Success?

    Ok I know all about embed and object tags, so I don't need to know how to do it but I was just wondering is it better to embed a quicktime video with javascript or to just do it directly with embed/object tags?

    I see that many sites (including apple) are using javascript to insert it, I don't get why exactly - they're not checking browsers or anything, they're just inserting it with javascript.

  • #2
    Regular Coder 2reikis's Avatar
    Join Date
    Nov 2005
    New Mexico, USA
    Thanked 13 Times in 13 Posts

    Cool IE has issues

    I think the issue is that the latest edition of Internet Explorer counts most anything that uses an Active-X control to display as a potential security risk. This includes Flash movies (.swf).A Flash movie now has a little line around it and a tool-tip that says something along the lines of "Click to use this control". This is true of objects and embeds that are part of the inline HTML, but javascript injected objects seem to be immune to this behaviour. I don't know why. I've had to start using a javascript loader for all my Flash movies and go back through past projects and convert everybody.

    There's a pretty good writeup about it here as well as a free javascript file that can be used for Flash movies.



  • Users who have thanked 2reikis for this post:

    lithriel (08-22-2007)


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts