Results 1 to 2 of 2

Thread: object element's classid attribute ???

  1. #1
    Join Date
    Dec 2008
    Posts
    21

    object element's classid attribute ???

    I have done a fair amount of research (though maybe not enough). I still have no understanding of the benefits of using this attribute. What do I gain by using it? What do I lose by dropping it?

    The last few times I have attempted to use embed code provided by some site, it never really works. I always have to remove that attribute to make it work right.

    So, in simple terms: what is classid? And why do I need it?

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    The usual method of coding a video a few years ago was to use the object tag with a classid for IE and a nested embed tag for Firefox. The classid varied according to the file type, like .mp4 .mpg .swf and a plugin is downloaded.

    You can code for Flash without a classid but the viewer needs Adobe Flash Player already, or he gets a message to install it, which wastes time. This method validates because it doesn't use a nested embed tag (the embed tag doesn't validate) . See item 2 below which uses
    <object type="application/x-shockwave-flash"
    style="width: 500px; height: 450px; margin: auto;"
    id="VideoPlayer" data="yourvideo.swf">
    instead of a classid. Most new computers now have Flash Player installed so the classid method is less necessary especially if you think your viewers will have new computers.

    See http://www.wickham43.net/flashvideo.php

    I'm not an expert in coding video, it's still complicated.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. Object instance doesnt point to object?
    By Slippy in forum General Questions
    Replies: 0
    Last Post: 31 May 2008, 06:32 PM

Posting Permissions

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