SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Downloaden Sie, um offline zu lesen
© 2009 SPR Companies. All rights reserved.
MPS Partners
An SPR Company
Feb 15th 2011 - Brown Bag Lunch Series:
Introduction To <HTML Version=“5”>
-Mayank Srivastava
http://www.mayanksrivastava.com/
<html> 5 </html>
Logo from www.w3.org
Hot-shot new features
1. Canvas
2. Canvas text
3. Local storage
4. Web Workers
5. Offline Web Applications
6. Input Types
i. search
ii. number
iii. range
iv. color
v. tel
vi. url
vii. email
viii. date
ix. month
x. week
xi. time
xii. datetime
xiii. datetime-local
7. Placeholder text
8. Form Autofocus
9. Video
10. Geo-Locations
11. MicroData
HTML5 detection library
Modernizr – is an open source, MIT-licensed
JavaScript library that detects support for
many HTML5 & CSS3 features.
Without Modernizr –
function supports_canvas() {
return !!document.createElement('canvas').getContext;
}
With Modernizr –
if (Modernizr.canvas) {
alert(“Canvas supported!”);
}
else {
alert(“ no native canvas support available :( “)
}
Framework support
ASP.NET MVC
• ASP.net MVC HTML5 Helpers Toolkit – open source MVC
extensions.
ASP.NET WebForms
• No predefined server controls yet.
• Option of developing custom Web controls.
Demo application
The Canvas element
“a resolution-dependent bitmap canvas which can be used for rendering graphs,
game graphics, or other visual images on the fly.”
<canvas width="300" height="225"></canvas>
Canvas coordinates diagram 
Vertical line
for (var x = 0.5; x < 500; x += 10) {
context.moveTo(x, 0);
context.lineTo(x, 375);
}
Horizontal line
for (var y = 0.5; y < 375; y += 10) {
context.moveTo(0, y);
context.lineTo(500, y);
}
Local storage (persistent)
It’s a way for web pages to store named key/value pairs locally, within the client
web browser. Like cookies, this data persists even after you navigate away from
the web site, close your browser tab, exit your browser. Unlike cookies, this data
is never transmitted to the remote web server (unless you go out of your way to
send it manually).
localStorage[“key"] = value;
getItem(“key”);
setItem(“key”, value);
removeItem(“key”);
clear();
HTML5 STORAGE SUPPORT
IE
FIREFO
X
SAFARI
CHROM
E
OPERA IPHONE
ANDROI
D
8.0+ 3.5+ 4.0+ 4.0+ 10.5+ 2.0+ 2.0+
Offline content
• The smart cache manifest.
 Network and fallback selections.
• Best suited for static pages or pages that depend
on client side processing as opposed to server
based real-time applications.
Form access
Place holder
<form>
<input name="q" type="text" placeholder="Search by Last Name"><br />
<input type="submit" value="Search">
</form>
Auto Focus
<form>
<input name="q" autofocus>
<input type="submit" value="Search">
</form>
New Input types
<input type="email" />
<input type="url" />
<input type="number" min="0" max="10" step="2" value="6" />
<input type="range" min="0" max="10" step="2" value="6" />
<input type="date" />
<input type="month" />
<input type="week" />
<input type="time" />
<input type="datetime" />
<input type="datetime-local" /> //Oprea 9.0+ Only
<input name="q" type="search"> //Visual changes in some browsers
New Input types
<input type="color"> //opera 11 only
<form novalidate>
<input type="email" id="addr">
<input type="submit" value="Subscribe">
</form>
<form>
<input id="q" required>
<input type="submit" value="Search">
</form>
Video
<video src="pr6.webm"></video>
<video src="pr6.webm" width="320" height="240"></video>
* Internet Explorer 9 will only support WebM “when the user has installed a VP8 codec,” which implies that Microsoft will not be shipping the codec themselves.
† Safari will play anything that QuickTime can play, but QuickTime only comes with H.264/AAC/MP4 support pre-installed.
‡ Although Android 2.3 supports WebM, there are no hardware decoders yet, so battery life is a concern.
• Supported video content types – video/ogg & video/mp4
• IIS setting for Request filtering & MIME Types to render Video.
ENCODING OGG VIDEO WITH FIREFOGG
VIDEO CODEC SUPPORT IN UPCOMING BROWSERS
CODECS/CONTAINER IE FIREFOX SAFARI CHROME OPERA IPHONE ANDROID
Theora+Vorbis+Ogg · 3.5+ † 5.0+ 10.5+ · ·
H.264+AAC+MP4 9.0+ · 3.0+ · · 3.0+ 2.0+
WebM 9.0+*
4.0+ † 6.0+ 10.6+ · 2.3‡
Geo-Location
IE FIREFOX SAFARI CHROME OPERA IPHONE ANDROID
9.0+ 3.5+ 5.0+ 5.0+ 10.6+ 3.0+ 2.0+
GEOLOCATION API SUPPORT
function get_location() {
navigator.geolocation.getCurrentPosition(show_map);
}
function show_map(position) {
var latitude = position.coords.latitude;
var longitude = position.coords.longitude;
}
Web form and Server control
DEMO - Web control for HTML 5 Video
Reference material
• http://diveintohtml5.org/
• HTML5: Up and Running
Page 17
Questions

Weitere ähnliche Inhalte

Was ist angesagt?

Canopy view of single-page applications (SPAs)
Canopy view of single-page applications (SPAs)Canopy view of single-page applications (SPAs)
Canopy view of single-page applications (SPAs)
Benjamin Howarth
 
Java script202
Java script202Java script202
Java script202
Wasiq Zia
 
Single Page WebApp Architecture
Single Page WebApp ArchitectureSingle Page WebApp Architecture
Single Page WebApp Architecture
Morgan Cheng
 

Was ist angesagt? (20)

Canopy view of single-page applications (SPAs)
Canopy view of single-page applications (SPAs)Canopy view of single-page applications (SPAs)
Canopy view of single-page applications (SPAs)
 
Ajax
AjaxAjax
Ajax
 
Mobile web apps in pure Java
Mobile web apps in pure JavaMobile web apps in pure Java
Mobile web apps in pure Java
 
Advantages and disadvantages of an ajax based client application
Advantages and disadvantages of an ajax based client applicationAdvantages and disadvantages of an ajax based client application
Advantages and disadvantages of an ajax based client application
 
Web performance optimization for modern web applications
Web performance optimization for modern web applicationsWeb performance optimization for modern web applications
Web performance optimization for modern web applications
 
Java script202
Java script202Java script202
Java script202
 
Dictionary by phoneGap
Dictionary by phoneGapDictionary by phoneGap
Dictionary by phoneGap
 
Marketing Automation with dotCMS
Marketing Automation with dotCMSMarketing Automation with dotCMS
Marketing Automation with dotCMS
 
Visual resume
Visual resumeVisual resume
Visual resume
 
Forget the Web Backend: Static Serverless + Client-Side Code for the Win!
Forget the Web Backend: Static Serverless + Client-Side Code for the Win!Forget the Web Backend: Static Serverless + Client-Side Code for the Win!
Forget the Web Backend: Static Serverless + Client-Side Code for the Win!
 
Ajax
AjaxAjax
Ajax
 
HTML5
HTML5HTML5
HTML5
 
Real life cross-platform application development using Xamarin Forms - Frank ...
Real life cross-platform application development using Xamarin Forms - Frank ...Real life cross-platform application development using Xamarin Forms - Frank ...
Real life cross-platform application development using Xamarin Forms - Frank ...
 
Single Page WebApp Architecture
Single Page WebApp ArchitectureSingle Page WebApp Architecture
Single Page WebApp Architecture
 
The RAW stack
The RAW stackThe RAW stack
The RAW stack
 
Togu CMS
Togu CMSTogu CMS
Togu CMS
 
Ajax
AjaxAjax
Ajax
 
CC 2015 Single Page Applications for the ASPNET Developer
CC 2015   Single Page Applications for the ASPNET DeveloperCC 2015   Single Page Applications for the ASPNET Developer
CC 2015 Single Page Applications for the ASPNET Developer
 
Building mobile applications with Vaadin TouchKit
Building mobile applications with Vaadin TouchKitBuilding mobile applications with Vaadin TouchKit
Building mobile applications with Vaadin TouchKit
 
AtlasCamp 2014: Writing Connect Add-ons for Confluence
AtlasCamp 2014: Writing Connect Add-ons for ConfluenceAtlasCamp 2014: Writing Connect Add-ons for Confluence
AtlasCamp 2014: Writing Connect Add-ons for Confluence
 

Andere mochten auch (7)

Targeting Mobile Platform with MVC 4.0
Targeting Mobile Platform with MVC 4.0Targeting Mobile Platform with MVC 4.0
Targeting Mobile Platform with MVC 4.0
 
CNUG - Effective Data Visualization
CNUG - Effective Data VisualizationCNUG - Effective Data Visualization
CNUG - Effective Data Visualization
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVC
 
CNUG TDD June 2014
CNUG TDD June 2014CNUG TDD June 2014
CNUG TDD June 2014
 
CNUG ASP.NET MVC 4 – New Features
CNUG ASP.NET MVC 4 – New FeaturesCNUG ASP.NET MVC 4 – New Features
CNUG ASP.NET MVC 4 – New Features
 
Why do you need REST
Why do you need RESTWhy do you need REST
Why do you need REST
 
CNUG - Getting started on IoT Devices & Solutions using Windows 10 & Microsof...
CNUG - Getting started on IoT Devices & Solutions using Windows 10 & Microsof...CNUG - Getting started on IoT Devices & Solutions using Windows 10 & Microsof...
CNUG - Getting started on IoT Devices & Solutions using Windows 10 & Microsof...
 

Ähnlich wie Introduction to HTML5

Building windows8 modern app for sp2013
Building windows8 modern app for sp2013Building windows8 modern app for sp2013
Building windows8 modern app for sp2013
Vinh Nguyen
 
HTML5 - The 2012 of the Web
HTML5 - The 2012 of the WebHTML5 - The 2012 of the Web
HTML5 - The 2012 of the Web
Robert Nyman
 
Hdv309 - Real World Sandboxed Solutions
Hdv309 - Real World Sandboxed SolutionsHdv309 - Real World Sandboxed Solutions
Hdv309 - Real World Sandboxed Solutions
woutervugt
 
HTML5 - The 2012 of the Web - Adobe MAX
HTML5 - The 2012 of the Web - Adobe MAXHTML5 - The 2012 of the Web - Adobe MAX
HTML5 - The 2012 of the Web - Adobe MAX
Robert Nyman
 
Spca2014 hillier 3rd party_javascript_libraries
Spca2014 hillier 3rd party_javascript_librariesSpca2014 hillier 3rd party_javascript_libraries
Spca2014 hillier 3rd party_javascript_libraries
NCCOMMS
 
ASP.NET Overview - Alvin Lau
ASP.NET Overview - Alvin LauASP.NET Overview - Alvin Lau
ASP.NET Overview - Alvin Lau
Spiffy
 
Real time Communication with Signalr (Android Client)
Real time Communication with Signalr (Android Client)Real time Communication with Signalr (Android Client)
Real time Communication with Signalr (Android Client)
Deepak Gupta
 

Ähnlich wie Introduction to HTML5 (20)

Building windows8 modern app for sp2013
Building windows8 modern app for sp2013Building windows8 modern app for sp2013
Building windows8 modern app for sp2013
 
HTML5 - The 2012 of the Web
HTML5 - The 2012 of the WebHTML5 - The 2012 of the Web
HTML5 - The 2012 of the Web
 
Enough with the JavaScript already!
Enough with the JavaScript already!Enough with the JavaScript already!
Enough with the JavaScript already!
 
Enough with the javas cript already! de Nicholas Zakas
Enough with the javas cript already! de Nicholas ZakasEnough with the javas cript already! de Nicholas Zakas
Enough with the javas cript already! de Nicholas Zakas
 
uMobile Preconference Seminar
uMobile Preconference SeminaruMobile Preconference Seminar
uMobile Preconference Seminar
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5
 
Hdv309 - Real World Sandboxed Solutions
Hdv309 - Real World Sandboxed SolutionsHdv309 - Real World Sandboxed Solutions
Hdv309 - Real World Sandboxed Solutions
 
Workshop KrakYourNet2016 - Web applications hacking Ruby on Rails example
Workshop KrakYourNet2016 - Web applications hacking Ruby on Rails example Workshop KrakYourNet2016 - Web applications hacking Ruby on Rails example
Workshop KrakYourNet2016 - Web applications hacking Ruby on Rails example
 
HTML5 - The 2012 of the Web - Adobe MAX
HTML5 - The 2012 of the Web - Adobe MAXHTML5 - The 2012 of the Web - Adobe MAX
HTML5 - The 2012 of the Web - Adobe MAX
 
Spca2014 hillier 3rd party_javascript_libraries
Spca2014 hillier 3rd party_javascript_librariesSpca2014 hillier 3rd party_javascript_libraries
Spca2014 hillier 3rd party_javascript_libraries
 
IBM Connect 2016 - Break out of the Box
IBM Connect 2016 - Break out of the BoxIBM Connect 2016 - Break out of the Box
IBM Connect 2016 - Break out of the Box
 
HTML 5 - Overview
HTML 5 - OverviewHTML 5 - Overview
HTML 5 - Overview
 
RESS – Responsive Webdesign and Server Side Components
RESS – Responsive Webdesign and Server Side ComponentsRESS – Responsive Webdesign and Server Side Components
RESS – Responsive Webdesign and Server Side Components
 
RoR Workshop - Web applications hacking - Ruby on Rails example
RoR Workshop - Web applications hacking - Ruby on Rails exampleRoR Workshop - Web applications hacking - Ruby on Rails example
RoR Workshop - Web applications hacking - Ruby on Rails example
 
ASP.NET Overview - Alvin Lau
ASP.NET Overview - Alvin LauASP.NET Overview - Alvin Lau
ASP.NET Overview - Alvin Lau
 
HTML5 e Css3 - 7 | WebMaster & WebDesigner
HTML5 e Css3 - 7 | WebMaster & WebDesignerHTML5 e Css3 - 7 | WebMaster & WebDesigner
HTML5 e Css3 - 7 | WebMaster & WebDesigner
 
Sencha Roadshow 2017: Build Progressive Web Apps with Ext JS and Cmd
Sencha Roadshow 2017: Build Progressive Web Apps with Ext JS and Cmd Sencha Roadshow 2017: Build Progressive Web Apps with Ext JS and Cmd
Sencha Roadshow 2017: Build Progressive Web Apps with Ext JS and Cmd
 
HTML5 New and Improved
HTML5   New and ImprovedHTML5   New and Improved
HTML5 New and Improved
 
Always on! Or not?
Always on! Or not?Always on! Or not?
Always on! Or not?
 
Real time Communication with Signalr (Android Client)
Real time Communication with Signalr (Android Client)Real time Communication with Signalr (Android Client)
Real time Communication with Signalr (Android Client)
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Introduction to HTML5

  • 1. © 2009 SPR Companies. All rights reserved. MPS Partners An SPR Company Feb 15th 2011 - Brown Bag Lunch Series: Introduction To <HTML Version=“5”> -Mayank Srivastava http://www.mayanksrivastava.com/
  • 2. <html> 5 </html> Logo from www.w3.org
  • 3. Hot-shot new features 1. Canvas 2. Canvas text 3. Local storage 4. Web Workers 5. Offline Web Applications 6. Input Types i. search ii. number iii. range iv. color v. tel vi. url vii. email viii. date ix. month x. week xi. time xii. datetime xiii. datetime-local 7. Placeholder text 8. Form Autofocus 9. Video 10. Geo-Locations 11. MicroData
  • 4. HTML5 detection library Modernizr – is an open source, MIT-licensed JavaScript library that detects support for many HTML5 & CSS3 features. Without Modernizr – function supports_canvas() { return !!document.createElement('canvas').getContext; } With Modernizr – if (Modernizr.canvas) { alert(“Canvas supported!”); } else { alert(“ no native canvas support available :( “) }
  • 5. Framework support ASP.NET MVC • ASP.net MVC HTML5 Helpers Toolkit – open source MVC extensions. ASP.NET WebForms • No predefined server controls yet. • Option of developing custom Web controls.
  • 7. The Canvas element “a resolution-dependent bitmap canvas which can be used for rendering graphs, game graphics, or other visual images on the fly.” <canvas width="300" height="225"></canvas> Canvas coordinates diagram  Vertical line for (var x = 0.5; x < 500; x += 10) { context.moveTo(x, 0); context.lineTo(x, 375); } Horizontal line for (var y = 0.5; y < 375; y += 10) { context.moveTo(0, y); context.lineTo(500, y); }
  • 8. Local storage (persistent) It’s a way for web pages to store named key/value pairs locally, within the client web browser. Like cookies, this data persists even after you navigate away from the web site, close your browser tab, exit your browser. Unlike cookies, this data is never transmitted to the remote web server (unless you go out of your way to send it manually). localStorage[“key"] = value; getItem(“key”); setItem(“key”, value); removeItem(“key”); clear(); HTML5 STORAGE SUPPORT IE FIREFO X SAFARI CHROM E OPERA IPHONE ANDROI D 8.0+ 3.5+ 4.0+ 4.0+ 10.5+ 2.0+ 2.0+
  • 9. Offline content • The smart cache manifest.  Network and fallback selections. • Best suited for static pages or pages that depend on client side processing as opposed to server based real-time applications.
  • 10. Form access Place holder <form> <input name="q" type="text" placeholder="Search by Last Name"><br /> <input type="submit" value="Search"> </form> Auto Focus <form> <input name="q" autofocus> <input type="submit" value="Search"> </form>
  • 11. New Input types <input type="email" /> <input type="url" /> <input type="number" min="0" max="10" step="2" value="6" /> <input type="range" min="0" max="10" step="2" value="6" /> <input type="date" /> <input type="month" /> <input type="week" /> <input type="time" /> <input type="datetime" /> <input type="datetime-local" /> //Oprea 9.0+ Only <input name="q" type="search"> //Visual changes in some browsers
  • 12. New Input types <input type="color"> //opera 11 only <form novalidate> <input type="email" id="addr"> <input type="submit" value="Subscribe"> </form> <form> <input id="q" required> <input type="submit" value="Search"> </form>
  • 13. Video <video src="pr6.webm"></video> <video src="pr6.webm" width="320" height="240"></video> * Internet Explorer 9 will only support WebM “when the user has installed a VP8 codec,” which implies that Microsoft will not be shipping the codec themselves. † Safari will play anything that QuickTime can play, but QuickTime only comes with H.264/AAC/MP4 support pre-installed. ‡ Although Android 2.3 supports WebM, there are no hardware decoders yet, so battery life is a concern. • Supported video content types – video/ogg & video/mp4 • IIS setting for Request filtering & MIME Types to render Video. ENCODING OGG VIDEO WITH FIREFOGG VIDEO CODEC SUPPORT IN UPCOMING BROWSERS CODECS/CONTAINER IE FIREFOX SAFARI CHROME OPERA IPHONE ANDROID Theora+Vorbis+Ogg · 3.5+ † 5.0+ 10.5+ · · H.264+AAC+MP4 9.0+ · 3.0+ · · 3.0+ 2.0+ WebM 9.0+* 4.0+ † 6.0+ 10.6+ · 2.3‡
  • 14. Geo-Location IE FIREFOX SAFARI CHROME OPERA IPHONE ANDROID 9.0+ 3.5+ 5.0+ 5.0+ 10.6+ 3.0+ 2.0+ GEOLOCATION API SUPPORT function get_location() { navigator.geolocation.getCurrentPosition(show_map); } function show_map(position) { var latitude = position.coords.latitude; var longitude = position.coords.longitude; }
  • 15. Web form and Server control DEMO - Web control for HTML 5 Video