Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    May 2013
    Posts
    23
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Alternate to OBJECT tag

    Hi,

    We have an activex which is showing video from webcam. We are loading it on HTML page as below,

    Code:
    <object id="CamControl" classid="clsid:45AE5CEE-C995-4C79-A71B-E6ABCD41ERER"
                                    width="640" height="480" style="margin-top: 0px; margin-left: 0px; margin-right: 0px"
                                    codebase="CamControl.cab#version=1,0,0,0">
                                </object>
    As you can see it requires classid. Whenever we have any change in activex we change GUID. This requires us to make changes in our HTML file too.

    Is there anyway which loads the activex without requiring classid attribute? Any alternate via which I can load video which doesn't require change in HTML event if we change the GUID of activex?

    I appreciate your inputs.

    Thanks,
    Jdp

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,462
    Thanks
    0
    Thanked 633 Times in 623 Posts
    Only IE6 used a classid for video - all more modern browsers - such as the now nearly dead IE7 - do not use activex or classid for video.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    New Coder
    Join Date
    May 2013
    Posts
    23
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Thanks felgall for your inputs,

    I do not understand, classid is the GUID by which it picks up the right component from registry thats what I found by searching. Without classid it seems impossible.

    Any other idea? So I can add object tag dynamically so I can concat the correct clsid when page loads.

    Thanks,
    Jdp


  •  

    Posting Permissions

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