YouTube Embedded Player GWT How to stop videos?

advertisements

I am trying to use the youtube video gwt api.

The youtube-player works but how can I stop videos? I didnt find a command for that...

I created my player following:

protected YouTubeEmbeddedPlayer _youTubeEmbeddedPlayer;
_youTubeEmbeddedPlayer = new YouTubeEmbeddedPlayer(youTubeVideoID);

That´s the YouTube Player: https://code.google.com/p/gwt-youtube-api/wiki/EmbededPlayer


By using YouTubePlayerWrapper.

You can stop video by calling the method

youTubePlayerWrapper.stopVideo();