clsid for quicktime

Koos Vriezen koos.vriezen at xs4all.nl
Sat Feb 12 12:41:42 GMT 2005


On Sat, Feb 12, 2005 at 12:17:38PM +0100, Daniel Molkentin wrote:
> On Saturday, 12. February 2005 03:17, Koos Vriezen wrote:
> > Hi,
> >
> > Attached fixed video on
> > http://www.apple.com/trailers/paramount/sahara/sahara_medium.html
> > with source of information.
> 
> I wonder if those kind of information should really be hardcoded. Any idea on 
> that?

A query for ktrader about "application/x-activex-handler" with clsid as
restriction would be nice ...

While at it, also add it for ms-video (attached) and Helge Deller
pointed at find instead of contains.

Koos
-------------- next part --------------
Index: rendering/render_frames.cpp
===================================================================
RCS file: /home/kde/kdelibs/khtml/rendering/render_frames.cpp,v
retrieving revision 1.193
diff -u -3 -p -r1.193 render_frames.cpp
--- rendering/render_frames.cpp	1 Feb 2005 18:51:16 -0000	1.193
+++ rendering/render_frames.cpp	12 Feb 2005 12:34:05 -0000
@@ -693,6 +693,13 @@ void RenderPartObject::updateWidget()
               else if(objbase->classId.contains(QString::fromLatin1("8AD9C840-044E-11D1-B3E9-00805F499D93")) ||
                       objbase->classId.contains(QString::fromLatin1("CAFEEFAC-0014-0000-0000-ABCDEFFEDCBA")))
                   serviceType = "application/x-java-applet";
+              // http://www.apple.com/quicktime/tools_tips/tutorials/activex.html
+              else if(objbase->classId.find("02BF25D5-8C17-4B23-BC80-D3488ABDDC6B") >= 0)
+                  serviceType = "video/quicktime";
+              // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/windows_media_player_advanced_scripting_for_cross_browser_functionality__jchc.asp
+              else if(objbase->classId.find("6BF52A52-394A-11d3-B153-00C04F79FAA6") >= 0 ||
+                      objbase->classId.find("22D6f312-B0F6-11D0-94AB-0080C74C7E95") >= 0)
+                  serviceType = "video/x-msvideo";
 
               else
                   kdDebug(6031) << "ActiveX classId " << objbase->classId << endl;


More information about the kfm-devel mailing list