Hello,

I'm working on a system which Integrates an embedded object in a GWT
application.

Part of the HTML page I have the following content:
      <object style="position: absolute; left: 296px; top: 140px"
width="400" height="300" classid="clsid:02BF25D5-8C17-4B23-BC80-
D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab";

                id="qtmovie_object"  style="behavior:url
(#qt_event_source);" >
       <param name="src" value="http://www.ics.uci.edu/~ronen/rak_demo/
Welcome.mov">
       <param name="autoplay" value="false">
       <param name="postdomevents" value="true">
    </object>

Then from GWT I call the different methods of this object for example:

 public static native int getSmilDuration() /*-{
        var obj = $doc.getElementById('qtmovie_object');
        if (obj!=null)
            return parseInt(obj.GetDuration()/obj.GetTimeScale());
        else
            return 1; // added to avoid cases where null is access or
division by zero.

    }-*/;

This works well in IE. However, it will not work on Firefox or
Safari.
I get the following error on Firefox (there is another native function
which calls obj.Stop():
Error: edu_uci_ics_client_StreamViewer_SMILStop___obj_0.Stop is not a
function
Source File: 
http://128.195.185.30:7777/edu.uci.ics.StreamViewer/537510C75B4C3BD5CE0E2BC9A9E96FA9.cache.html
Line: 6954
And some cryptic error on Safari:
undefined
http://128.195.185.30:7777/edu.uci.ics.StreamViewer/2647FE5FEBC5958D96D8CF4F49CF5E2D.cache.html
(line 7474

Any ideas???

Thanks for your time,
Ronen.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to