Playing video with Gwt

903 views
Skip to first unread message

Ahmet Dakoglu

unread,
Mar 15, 2012, 12:40:00 PM3/15/12
to google-we...@googlegroups.com
Hi All,

   I am trying to play video files and i decided to use bst player, it is ok with YouTubePlayer with given url but i can not play such as, .avi , .mpeg ,mpg files which are on my local drive. I serve them in a servlet to VLCPlayer and FlashMediaPlayer of bst player but it does not work too.

What am missing here and what can else be used for playing video files in gwt ?


--
Ahmet DAKOĞLU

Sebastian Gurin

unread,
Mar 15, 2012, 3:12:38 PM3/15/12
to google-we...@googlegroups.com
tipically flash based video players will only support the flv and mp3 (audio) formats, regards

> *Ahmet DAKOĞLU*
>
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-we...@googlegroups.com.
> To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>


--
Sebastian Gurin <sgu...@softpoint.org>

Ahmet Dakoglu

unread,
Mar 16, 2012, 5:39:41 AM3/16/12
to google-we...@googlegroups.com
Anyone can give a suggestion on how to play video files within  Gwt beside Flash ?, So far i ' ve tried bst player and http://code.google.com/p/gwt-html5-video/
Ahmet DAKOĞLU

dodo dard

unread,
Mar 16, 2012, 9:52:35 AM3/16/12
to google-we...@googlegroups.com
You can create a wrapper that call javascript API of HTML5 Video.
Look how you can do it in www.html5bydemo.com video section.


Le vendredi 16 mars 2012 10:39:41 UTC+1, Ahmet Dakoglu a écrit :
Anyone can give a suggestion on how to play video files within  Gwt beside Flash ?, So far i ' ve tried bst player and http://code.google.com/p/gwt-html5-video/

On Thu, Mar 15, 2012 at 9:12 PM, Sebastian Gurin <sgu...@softpoint.org> wrote:
tipically flash based video players will only support the flv and mp3 (audio) formats, regards

On Thu, 15 Mar 2012 18:40:00 +0200
Ahmet Dakoglu <ahmetd...@gmail.com> wrote:

> Hi All,
>
>    I am trying to play video files and i decided to use bst player, it is
> ok with YouTubePlayer with given url but i can not play such as, .avi ,
> .mpeg ,mpg files which are on my local drive. I serve them in a servlet to
> VLCPlayer and FlashMediaPlayer of bst player but it does not work too.
>
> What am missing here and what can else be used for playing video files in
> gwt ?
>
>
> --
> *Ahmet DAKOĞLU*
>
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsub...@googlegroups.com.

> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>


--
Sebastian Gurin <sgu...@softpoint.org>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsub...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




--
Ahmet DAKOĞLU

Frank

unread,
Mar 19, 2012, 3:02:31 AM3/19/12
to google-we...@googlegroups.com
Such a wrapper is allready part of GWT for a pretty long time :  http://google-web-toolkit.googlecode.com/svn/javadoc/latest/index.html?overview-summary.html

Or a pretty popular 3rd party wrapper :  http://code.google.com/p/gwt-html5-video/ 

But for HTML5 you will still need to encode your videos. You cannot just play any avi, mpg, mpeg video using HTML5.

The only other option besides BST that I know of is the VLC plugin (http://wiki.videolan.org/GWT). But this is allready a part of BST. BST should work to play almost any video you can find. You did install the needed plugins for your browser (like the VLC plugin ?).



Op vrijdag 16 maart 2012 14:52:35 UTC+1 schreef dodo dard het volgende:
Reply all
Reply to author
Forward
0 new messages