Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Explorando as APIs do HTML5
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Raphael Amorim
May 07, 2014
Programming
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Explorando as APIs do HTML5
Raphael Amorim
May 07, 2014
More Decks by Raphael Amorim
See All by Raphael Amorim
Rust 101 for Web
raphamorim
0
270
Writing Your Own React Renderer
raphamorim
4
400
the new react
raphamorim
1
160
Composition on High-Order Components
raphamorim
0
180
Understanding React
raphamorim
1
370
Making for Web with WebAssembly
raphamorim
4
930
Scratching React Fiber
raphamorim
3
790
Understanding Memory Behavior on NodeJS
raphamorim
1
440
Using Canvas Components
raphamorim
0
350
Other Decks in Programming
See All in Programming
APNsからLive Activityを開始する話
yumnumm
0
170
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
220
Jetpack Compose Mechanisms
skydoves
3
820
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
480
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
Event is what happens
moro
2
780
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
380
dotNET_vulnclicker_intro.pdf
deka_morita
0
140
AmebaブログはKMPから卒業します
kmars0605
0
190
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
460
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
Featured
See All Featured
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
480
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Un-Boring Meetings
codingconduct
0
460
Odyssey Design
rkendrick25
PRO
2
870
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
940
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Six Lessons from altMBA
skipperchong
29
4.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
Prompt Engineering for Job Search
mfonobong
0
520
Transcript
Explorando as APIs do HTML5
None
! Write Code Every ! Single Day
API's do HTML5 ?
None
Web Speech API
Comportamento
Comportamento
Exemplos + raphamorim.com/sound-hunter/ + google.com/intl/pt/chrome/demos/ speech.html
Vibration API
Comportamento navigator.vibrate(time) if (navigator.vibrate) navigator.vibrate(500) ! ! navigator.vibrate([500, 1000, 2000])
! Fullscreen API
Comportamento ! document.querySelector(‘html’).requestFullscreen() document.exitFullscreen()
Comportamento Mas como saber o status da API? var fullscreenElement
= document.fullscreenElement var fullscreenEnabled = document.fullscreenEnabled
Comportamento Awesome!! Mas e quanto os eventos da API? fullscreenchange
fullscreenerror
Comportamento ::fullscreen & ::backdrop
Exemplos + demo.hongkiat.com/html5- fullscreen-api/index.html
None
None
None
Geolocation
Comportamento if (navigator.geolocation) navigator.geolocation.getCurrentPosition(showPosition) function showPosition(position) ! var latitude =
position.coords.latitude; ! var longitude = position.coords.longitude;
Comportamento position.coords.latitude position.coords.longitude altitude speed altitudeAccuracy timestamp accuracy heading
Suporte
Exemplos + html5demos.com/geo
…E isso é tudo pessoal :) raphamorim