Hello,
I'm trying to manage the YouTube player from GWT and experiencing some
problems.  My player class contains JSNI references like:

        public native final void seekTo (int seconds) /*-{
                this.seekTo(seconds, true);
        }-*/;

which work fine, so I know I'm actually talking to the player.  Getting
information like duration, however, fails.  That call looks like:

        public native final int getDuration () /*-{
                this.getDuration();
        }-*/;

and when invoked not only fails, but also causes lots of other stuff to stop
functioning.  Trying the same declaration with type String instead of int
will return a null but allow things to keep working.

Anyone know how to successfully make this call to the player?

Thanks,
Joe

--~--~---------~--~----~------------~-------~--~----~
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