1. Open the registry;
2. Open HKEY_CLASSES-ROOT / CLSID ;
3. Select CLSID and right-click;
4. Select Search, check the option: Data, enter the control name, for example Searchmedia;
5. Click Search;
You will see the search results as: {00022601-0000 -0000-C000-000000000046}, the string in the brackets is the clsssid.
Write the object tag in Html, as follows:
<OBJECT classid="clsid:00022601-0000-0000-C000-000000000046" id="media_id" name="media_name" width="0" height="0" > </OBJECT>
This completes the object tag's method of calling the control.
Then use
document.getElementById("media_id")
to get the control object,
Then you can call the control's methods and properties .
##
The above is the detailed content of The html Object tag calls the control registry to find the control classid method. For more information, please follow other related articles on the PHP Chinese website!