Friday, 15 April 2011

Vimeo embedding in gwt -



Vimeo embedding in gwt -

i tried embed video using gwt realized gwt doesn't allow iframe. vimeo suggests utilize kind of code embedding. there alternative way this?

supplement

after getting answers realized wanted add together <frame> code html element , not work frame works said below.

the gwt frame class wraps iframe , can find illustration utilize in javadoc link below.

gwt in 2.5 version , not 1.5. link latest frame documentation - http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/frame.html

public class frameexample implements entrypoint { public void onmoduleload() { // create new frame, , point @ google. frame frame = new frame("http://player.vimeo.com/video/"+video_id); // add together root panel. rootpanel.get().add(frame); } }

if need go 3rd party library can bst player. create utilize of vimeo gwt wrappers bst player - http://code.google.com/p/bst-player/source/browse/#svn%2ftrunk%2fvimeo-player-provider

i rather suggest stick gwt frame api , not utilize 3rd party unless need other feature provided bst player.

gwt vimeo

No comments:

Post a Comment