Then there is only one real solution, Adobe Flash... Pretty much everyone and their mother has a Flash Player installed (for those that do not use HTML5 (Apple iStuff is the main group there without Flash)). If you set the system to prefer HTML5 and then switch back to Flash if this is not available you are future proof and able to deal with what ever way that coin will flip.
For the widget simply use two and load which ever one the users browser will support. If the users browser is capable to deal with HTML5 like Chrome or Firefox you simply load the HTML5 widget, if you are being visited by an older IE version simply push the Flash version over. Using MVP you would simply have to views and a few lines of code to decide which one to show the user not unlike deciding to show the user the mobile version of the view instead of the full fledged desktop version. Regards, Rob On Thu, Jul 14, 2011 at 10:12 AM, shahid <[email protected]> wrote: > The trouble is HTML 5 is not supported on majority of the user's > browser. Also what do you do for backward compatibility? > > On Jul 13, 5:45 pm, David Chandler <[email protected]> wrote: > > HTML5 to the rescue... > > > > http://www.slideshare.net/turbomanage/gwt-plus-html-5 > > > > http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g... > > > > http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g... > > > > The APIs are changing slightly in GWT 2.4 to enable you to more easily > > specify multiple formats. > > > > /dmc > > > > > > > > > > > > > > > > > > > > On Wed, Jul 13, 2011 at 12:10 PM, shahid <[email protected]> wrote: > > > What is the best way to support playing MP3(audio) and AVI (video) > > > files in a GWT application. We have gone a long way into developing > > > our application on top of GWT and now we have a requirement to support > > > playing mp3 and avi files. However I can't find a widget or player > > > that I can use with GWT to support both of these formats. Has anyone > > > used this functionality in your application and how? What is the best > > > practice ? > > > > > -- > > > 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. > > > > -- > > David Chandler > > Developer Programs Engineer, GWT+GAE > > w:http://code.google.com/ > > b:http://turbomanage.wordpress.com/ > > b:http://googlewebtoolkit.blogspot.com/ > > t: @googledevtools > > -- > 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. > > -- 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.
