In my office, my superior officer asked me as which one is best for creating video applications. He gave only two choices namely flash and HTML5. I chose second one. I have learned little bit about that like its new attributes and elements. I have seen lot of flash sites, it takes too much time to load so i didn't choose first one. Finally, am i correct in my decision?
Depends, do you need any form of encryption or security? There's a REASON neither Hulu or Netflix will give HTML 5 video the time of day. NOT that those provide real security, but like doorlocks on a car it keeps the honest people honest. HTML 5 video is filled with problems -- like the need to support at least four different codec and container combinations for cross browser support, a lack of proper controls in browsers with javascript disabled/unavailable, and being at the mercy of browser makers on what may or may not be supported tomorrow. It is also fully open meaning anyone and their brother can easily download the movies for redistribution. The problems with Flash is that it requires 3rd party plugins/extensions to work, and that Apple are being total asshats about allowing it's users to use it, with their typical "our way, or the highway" in terms of the abusive vendor lock in... Where iOS users are basically told, pardon the vernacular, to go **** themselves if you want to do anything the mighty Apple doesn't approve of on something you actually bought -- though that goes hand in hand with the licensing terms that basically say you didn't buy it, you're renting the rights to use it. Because of course browers makers can't just support the tag (object) that allows whatever formats website makers and end users want to use properly anymore, and instead had to go and introduce two redundant tags (undoing all the progress of 4 Strict) to pimp their favorite pet codecs and containers... Net result is just a return to the worst of the RealPlayer vs. WMP vs. Quicktime idiocy of the late 90's browser wars. A laughable fight given that none of them actually won.
Here are some quick facts: 1. HTML5 is still a standard in development. It will become the standard of the future, but will take a while. 2. Flash is declining but is relatively more stable and more widely adopted as of now 3. Even with HTML5, you will still need some JavaScript if you want to do more than just simple video playing. 4. HTML5 exposes the video address to the wild while Flash can make it harder to get the video behind (note that I say harder, not impossible.) 5. HTML5 is supported in most modern browsers (IE is not one ) but right now browser support can be crappy and produces unexpected results (applauses to Microsoft for being the winner in this). Flash is supported in most modern browsers as well and produces an unified experience across browsers and devices but iOS and Android 4.1+ has no Flash support. I would suggest writing the Flash application first then make a HTML5 version, and when visitiors come, detect their browser and take them to the version that will work best for them.
HTML5 is way better though many features are still unsupported by browsers. It is definitely the future. Flash is fading away from the websites and was once very popular. It is not good from SEO perspective as well.