SlideShare a Scribd company logo
Replacing flash with HTML5 and CSS3
Why Should Flash be Replaced?
• If you think your work should be universally accessible , you
have to forget Flash and Come to HTML5.See in the Table
Flash based Multimedia HTML5 Media playback features
 In order to play flash-based
multimedia content ,users have to
install a Flash plugin on the
computer . For example ,some
products form Apple does not
allow flash to run.
 HTML5 is standard technology. So
all upcoming are forced to accept
it. Popular browser including
Mozilla Firefox , etc. already
support HTML5 very well.
 Even though free SWF editors are
available, professional level SWF
media can only be created using
Adobe Flash . This is proprietary
commercial works with Microsoft
Windows only.
 Interactive page area creation
with HTML5 , CSS3 and JavaScript
can be done using simple text
editors. Being open source
technology, it is reachable
universally.
 Flash has been widely deprecated
since the arrival of HTML5.
 HTML5 is just the latest version of
standard HTML, Maintained by
W3C.
Media Playback Using HTML5
Before the arrival of HTML5, a web designer had to
embed an external media player into the Web Page in
order to play an audio or video clip. Unfortunately,
HTML5 comes built-in <video> and <audio> tags
.Inserting media clip using these tags is very simple , just
like inserting image files using <img>.
 Table on the next page indicates the comparison
between the outdated playback techniques with the
HTML5 media playback features
Traditional Playback Techniques HTML5 media playback features
 Web designing will be a confusing
task if a media clip is to be included
,even though single-line techniques
are available finding a universal way
is difficult.
 Being a standard technique ,
HTML5 media will be universally
playable.
 Media players vary from website to
website ,which means there is no
standardization .This means there is
additional work of installing each of
them in the visitors device.
 The visitor has to install no
additional plug-ins. All the latest
Web Browsers come With built-in
HTML5 and media playback
support.
 Some websites take a lot of time to
load since the external service is
used.
 The time taken to load the external
service can be saved since it is not
required.
 More websites use propriety media
players to play media clips , which
means a free software fan can’t
browse the web with all its
attractions.
 If you use a free software Web
browser and if it depends on free
software media playback
technology , the process is truly
‘libre’.
<video> is one of the latest tags in HTML, defined in HTML5.
This elements makes it possible to include video files
regardless of the browser and plug-ins.
The syntax is as follows:-
<video ATTRIBUTES>
<source src =“SOURCE1” type=“TYPE1”>
<source src =“SOURCE2” type=“TYPE2”>
……..
ERROR MESSAGE
</video>
<audio> is similar to <video>.
A notable difference is that to give the width and height.
Here is an example:
<audio controls>
<source src=“file.ogg” type =“audio/ogg”>
<source src=“file.mp3” type=“audio/mpeg”>
Your browser doesn’t support HTML5 audio.
</audio>
Animation using CSS3
Creating animation using CSS3 is interesting.
The best part is that any HTML element can be animated –
paragraphs , images or buttons; basically, anything you would
like to can be animated.
Some Merits of CSS3 animation are;
=>Animations are rendered in the user’s device. The
downloading of large-sized animated files can be avoided.
=>Being rendered in the user’s device, animation will be
suitable for the resolution of that device.
Combining CSS3 with JavaScript
Combining CSS3 animations with JavaScript is very simple.
For example, we add a Reverse button to the HTML body as
we did in our video play back example:
<body>
<h1 class =“style_anim” id=“h1_hello”>Hello</h1>
<button onclick=“play_reverse()”>Reverse</button>
</body>
Interactive pages
A vast range of new elements is defined in HTML5, which
helps us to create in interactive forms, replacing Flash.
Some of the new input type form elements are
=>color
=>date
=>email
=>time
=>url
As a basic step towards web application developing, let us
create a small interactive page.
It simply plays a CSS3animation, but the user can enter some
parameters.
Just escape from Flash
In three parts , we have discussed ‘HTML5 media playback’,
‘CSS3 animations ’ and ‘interactive page designing’.
These are , of course , very basic but are a good introduction
to HTML5 and CSS3.
By running your own experiments and searching the web , you
will be able to master this sample but powerful and standard
technology
Replacing flash with HTML5 and CSS3

More Related Content

PPTX
Designing web pages html videos
PPT
Presentations4 Session9
PPTX
Html multimedia tag
PPTX
Html audio video
PDF
Web Design Guide
PPT
Deploying a website
PPTX
Evaluation 4
PDF
Webtools
Designing web pages html videos
Presentations4 Session9
Html multimedia tag
Html audio video
Web Design Guide
Deploying a website
Evaluation 4
Webtools

What's hot (20)

PPTX
Whathaveyoulearntabouttechnoly
PDF
HTML5 New Features and Resources
PPTX
Html5 and its Role in E Learning
PPT
Introduction to html55
PDF
eXoer on the grill: eXo Add-ons factory using Docker and Codenvy
ODP
Adding flash animation to a website
PPTX
Silent install Adobe Reader DC
PPTX
Teaching Word Press
PPT
Posting Narrated PowerPoint Slides to You Tube
PPTX
Google chrome silent install
PPTX
Jomc463 beginner wordpress(zeoli)
ZIP
WordcampNYC 2010 - Wordpress & Multimedia (Updated)
PPTX
Accessibility With WordPress: Accessing Higher Ground 2014
PDF
No gEEk? No Problem!
PPTX
Html 5 Features And Benefits
PPTX
Blurring the difference of Web & Native Apps with HTML 5 & IE 9
PPTX
Adding a voice narration to PPT
DOC
Template Admin
ODP
How To Use PowerPoint & SlideShare on Your Blog
PPTX
Powering Music Sites with WordPress
Whathaveyoulearntabouttechnoly
HTML5 New Features and Resources
Html5 and its Role in E Learning
Introduction to html55
eXoer on the grill: eXo Add-ons factory using Docker and Codenvy
Adding flash animation to a website
Silent install Adobe Reader DC
Teaching Word Press
Posting Narrated PowerPoint Slides to You Tube
Google chrome silent install
Jomc463 beginner wordpress(zeoli)
WordcampNYC 2010 - Wordpress & Multimedia (Updated)
Accessibility With WordPress: Accessing Higher Ground 2014
No gEEk? No Problem!
Html 5 Features And Benefits
Blurring the difference of Web & Native Apps with HTML 5 & IE 9
Adding a voice narration to PPT
Template Admin
How To Use PowerPoint & SlideShare on Your Blog
Powering Music Sites with WordPress
Ad

Similar to Replacing flash with HTML5 and CSS3 (20)

PDF
JS Days HTML5 Flash and the Battle for Faster Cat Videos
PDF
HTML5 and friends - JISC CETIS Conference 2010 Nottingham 15.11.2010
PDF
GDD HTML5, Flash, and the Battle for Faster Cat Videos
PDF
WordCamp Thessaloniki2011 The NextWeb
PPTX
PDF
Multimedia on the web - HTML5 video and audio
PDF
HTML5 Technical Executive Summary
PPTX
PPT
Html5 introduction
PDF
Why Undergraduates Should Learn Web Development and Design Foundatons with HTML5
PPT
Html5 tags
PPTX
Html5 shubelal
PDF
Word camp nextweb
PPT
Chapter11
PDF
Brave new world of HTML5 - WebTech 2010 Milano 09.11.2010
PDF
Web Directions @media 2010
KEY
Everything you need to know about HTML5 in 15 min
KEY
PDF
Html5 Media 1st Edition Kevin Martin Shelley Powers
JS Days HTML5 Flash and the Battle for Faster Cat Videos
HTML5 and friends - JISC CETIS Conference 2010 Nottingham 15.11.2010
GDD HTML5, Flash, and the Battle for Faster Cat Videos
WordCamp Thessaloniki2011 The NextWeb
Multimedia on the web - HTML5 video and audio
HTML5 Technical Executive Summary
Html5 introduction
Why Undergraduates Should Learn Web Development and Design Foundatons with HTML5
Html5 tags
Html5 shubelal
Word camp nextweb
Chapter11
Brave new world of HTML5 - WebTech 2010 Milano 09.11.2010
Web Directions @media 2010
Everything you need to know about HTML5 in 15 min
Html5 Media 1st Edition Kevin Martin Shelley Powers
Ad

More from Saurabh Kheni (6)

PPTX
E voting(online voting system)
PPTX
Online voting system
PPTX
TAXI-GO (Taxi Booking System)
PPTX
Developing for Firefox
PPTX
Cyber Security A Challenges For Mankind
PPTX
A Little Security For Big Data
E voting(online voting system)
Online voting system
TAXI-GO (Taxi Booking System)
Developing for Firefox
Cyber Security A Challenges For Mankind
A Little Security For Big Data

Recently uploaded (20)

DOCX
A PROPOSAL ON IoT climate sensor 2.docx
PPTX
Nanokeyer nano keyekr kano ketkker nano keyer
PPTX
Lecture-3-Computer-programming for BS InfoTech
PDF
Core Components of IoT, The elements need for IOT
PPT
FABRICATION OF MOS FET BJT DEVICES IN NANOMETER
PPTX
Operating System Processes_Scheduler OSS
PPTX
sdn_based_controller_for_mobile_network_traffic_management1.pptx
PPTX
Embeded System for Artificial intelligence 2.pptx
PPTX
Fundamentals of Computer.pptx Computer BSC
PPT
Hypersensitivity Namisha1111111111-WPS.ppt
PDF
Dynamic Checkweighers and Automatic Weighing Machine Solutions
PDF
YKS Chrome Plated Brass Safety Valve Product Catalogue
PPTX
ATL_Arduino_Complete_Presentation_AI_Visuals.pptx
PPTX
Embedded for Artificial Intelligence 1.pptx
PPTX
KVL KCL ppt electrical electronics eee tiet
PPTX
udi-benefits-ggggggggfor-healthcare.pptx
PPTX
STEEL- intro-1.pptxhejwjenwnwnenemwmwmwm
PPTX
executive branch_no record.pptxsvvsgsggs
PPTX
material for studying about lift elevators escalation
PDF
Smarter Security: How Door Access Control Works with Alarms & CCTV
A PROPOSAL ON IoT climate sensor 2.docx
Nanokeyer nano keyekr kano ketkker nano keyer
Lecture-3-Computer-programming for BS InfoTech
Core Components of IoT, The elements need for IOT
FABRICATION OF MOS FET BJT DEVICES IN NANOMETER
Operating System Processes_Scheduler OSS
sdn_based_controller_for_mobile_network_traffic_management1.pptx
Embeded System for Artificial intelligence 2.pptx
Fundamentals of Computer.pptx Computer BSC
Hypersensitivity Namisha1111111111-WPS.ppt
Dynamic Checkweighers and Automatic Weighing Machine Solutions
YKS Chrome Plated Brass Safety Valve Product Catalogue
ATL_Arduino_Complete_Presentation_AI_Visuals.pptx
Embedded for Artificial Intelligence 1.pptx
KVL KCL ppt electrical electronics eee tiet
udi-benefits-ggggggggfor-healthcare.pptx
STEEL- intro-1.pptxhejwjenwnwnenemwmwmwm
executive branch_no record.pptxsvvsgsggs
material for studying about lift elevators escalation
Smarter Security: How Door Access Control Works with Alarms & CCTV

Replacing flash with HTML5 and CSS3

  • 2. Why Should Flash be Replaced?
  • 3. • If you think your work should be universally accessible , you have to forget Flash and Come to HTML5.See in the Table Flash based Multimedia HTML5 Media playback features  In order to play flash-based multimedia content ,users have to install a Flash plugin on the computer . For example ,some products form Apple does not allow flash to run.  HTML5 is standard technology. So all upcoming are forced to accept it. Popular browser including Mozilla Firefox , etc. already support HTML5 very well.  Even though free SWF editors are available, professional level SWF media can only be created using Adobe Flash . This is proprietary commercial works with Microsoft Windows only.  Interactive page area creation with HTML5 , CSS3 and JavaScript can be done using simple text editors. Being open source technology, it is reachable universally.  Flash has been widely deprecated since the arrival of HTML5.  HTML5 is just the latest version of standard HTML, Maintained by W3C.
  • 5. Before the arrival of HTML5, a web designer had to embed an external media player into the Web Page in order to play an audio or video clip. Unfortunately, HTML5 comes built-in <video> and <audio> tags .Inserting media clip using these tags is very simple , just like inserting image files using <img>.  Table on the next page indicates the comparison between the outdated playback techniques with the HTML5 media playback features
  • 6. Traditional Playback Techniques HTML5 media playback features  Web designing will be a confusing task if a media clip is to be included ,even though single-line techniques are available finding a universal way is difficult.  Being a standard technique , HTML5 media will be universally playable.  Media players vary from website to website ,which means there is no standardization .This means there is additional work of installing each of them in the visitors device.  The visitor has to install no additional plug-ins. All the latest Web Browsers come With built-in HTML5 and media playback support.  Some websites take a lot of time to load since the external service is used.  The time taken to load the external service can be saved since it is not required.  More websites use propriety media players to play media clips , which means a free software fan can’t browse the web with all its attractions.  If you use a free software Web browser and if it depends on free software media playback technology , the process is truly ‘libre’.
  • 7. <video> is one of the latest tags in HTML, defined in HTML5. This elements makes it possible to include video files regardless of the browser and plug-ins. The syntax is as follows:- <video ATTRIBUTES> <source src =“SOURCE1” type=“TYPE1”> <source src =“SOURCE2” type=“TYPE2”> …….. ERROR MESSAGE </video>
  • 8. <audio> is similar to <video>. A notable difference is that to give the width and height. Here is an example: <audio controls> <source src=“file.ogg” type =“audio/ogg”> <source src=“file.mp3” type=“audio/mpeg”> Your browser doesn’t support HTML5 audio. </audio>
  • 10. Creating animation using CSS3 is interesting. The best part is that any HTML element can be animated – paragraphs , images or buttons; basically, anything you would like to can be animated. Some Merits of CSS3 animation are; =>Animations are rendered in the user’s device. The downloading of large-sized animated files can be avoided. =>Being rendered in the user’s device, animation will be suitable for the resolution of that device.
  • 11. Combining CSS3 with JavaScript
  • 12. Combining CSS3 animations with JavaScript is very simple. For example, we add a Reverse button to the HTML body as we did in our video play back example: <body> <h1 class =“style_anim” id=“h1_hello”>Hello</h1> <button onclick=“play_reverse()”>Reverse</button> </body>
  • 13. Interactive pages A vast range of new elements is defined in HTML5, which helps us to create in interactive forms, replacing Flash. Some of the new input type form elements are =>color =>date =>email =>time =>url As a basic step towards web application developing, let us create a small interactive page. It simply plays a CSS3animation, but the user can enter some parameters.
  • 14. Just escape from Flash In three parts , we have discussed ‘HTML5 media playback’, ‘CSS3 animations ’ and ‘interactive page designing’. These are , of course , very basic but are a good introduction to HTML5 and CSS3. By running your own experiments and searching the web , you will be able to master this sample but powerful and standard technology