- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Does HTML5 only replace the video aspects of Flash/Silverlight?
Flash provides amazing GUI and many visual features for animations. It allows the user build everything inside a particular platform without a full integration into the browser wrapped inside the browser with the main scopes that are multimedia and other kinds of animation.
The HTML5 element <canvas> gives you an easy and powerful way to draw graphics using JavaScript. It can be used to draw graphs, make photo compositions or do simple (and not so simple) animations.
Here is a simple <canvas> element that has only two specific attributes width and height plus all the core HTML5 attributes like id, name, and class etc.
<canvas id = "mycanvas" width = "100" height = "100"></canvas>
Canvas is mainly considered now and Flash is outdated. With Canvas, you can animate shapes, scale, transform, etc.
- Related Articles
- Commonly used Video formats while using HTML5 video
- Safari on iPad (iOS6) does not scale HTML5 video to fill 100% of page width
- Display video inside HTML5 canvas
- Any ideas on how to prepare for the future of Flash/ Flex/ HTML5 Development?
- Play local (hard-drive) video file with HTML5 video tag?
- HTML5 video not playing in Firefox
- HTML5 video full preload in JavaScript
- Facing Problem in retrieving HTML5 video duration
- Streaming a video file to an HTML5 video player with Node.js so that the video controls continue to work
- Creating content with HTML5 Canvas much more complicated than authoring with Flash
- HTML5 inline video on iPhone vs iPad/Browser
- Play infinitely looping video on-load in HTML5
- Converting video to HTML5 ogg / ogv and mpg4
- Using FFMPEG with HTML5 for online video hosting
- How to take a snapshot of HTML5-JavaScript based video player?

Advertisements