Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Immobile Web

The Immobile Web

Presented at AEA DC, August 5, 2013

TVs are the last screens in our lives that haven’t been taken over by computers, but that is about to change. The last year has seen an explosion of SmartTVs many with surprisingly capable browsers. Microsoft recently added Internet Explorer to Xbox 360. Nintendo’s Wii U features a WebKit-based browser. And if the rumors that Apple will release a TV soon are true, web developers everywhere will start to tackle the glass screen hanging on our walls.

But even if you don’t have a TV project today, the lessons from TVs help inform the way we’re developing building web pages for the wide range of devices and inputs we face. TVs are a convenient and easy-to-understand framework to look at a series of challenges that all web developers are about to face in earnest.

Jason Grigsby

August 05, 2013
Tweet

More Decks by Jason Grigsby

Other Decks in Technology

Transcript

  1. Th Dream Experience - … Uploaded 2 years ago More

    Of The Dream Exp… Uploaded 2 years ago The Dream Experience -… Uploaded 2 years ago The Dream Experience … Uploaded 2 years ago The Love King Breaks It… Uploaded 2 years ago War Paint for Trees From Lincoln Motor Company Join Log In Create Watch Upload Search s [ ] – VIDEOS Woah… it’s a web page?
  2. Couch Mode + See all Centric TV’s videos / Recently

    viewed / Related videos Th Dream Experience - … Uploaded 2 years ago More Of The Dream Exp… Uploaded 2 years ago The Dream Experience -… Uploaded 2 years ago The Dream Experience … Uploaded 2 years ago The Love King Breaks It… Uploaded 2 years ago PROMOTED War Paint for Trees From Lincoln Motor Company Join Log In Create Watch Upload Search s [ ] – VIDEOS
  3. Couch Mode + See all Centric TV’s videos / Recently

    viewed / Related videos Th Dream Experience - … Uploaded 2 years ago More Of The Dream Exp… Uploaded 2 years ago The Dream Experience -… Uploaded 2 years ago The Dream Experience … Uploaded 2 years ago The Love King Breaks It… Uploaded 2 years ago PROMOTED War Paint for Trees From Lincoln Motor Company Join Log In Create Watch Upload Search s [ ] – VIDEOS Couch Mode + See all Centric TV’s videos / Recently viewed / Related videos Th Dream Experience - … Uploaded 2 years ago More Of The Dream Exp… Uploaded 2 years ago The Dream Experience -… Uploaded 2 years ago The Dream Experience … Uploaded 2 years ago The Love King Breaks It… Uploaded 2 years ago PROMOTED War Paint for Trees From Lincoln Motor Company Join Log In Create Watch Upload Search s [ ] – VIDEOS
  4. 88 % of tablet 86 % of smartphone owners use

    their device while watching TV. http://blog.nielsen.com/nielsenwire/online_mobile/double-vision-global-trends-in-tablet-and-smartphone-use-while-watching-tv/
  5. Microsoft's Xbox 360 video game console is now used more

    for watching movies and TV shows and listening to music online than playing video games online. —LA Times, March 2012 http://latimesblogs.latimes.com/entertainmentnewsbuzz/2012/03/xbox-more-entertainment-gaming-hbo-go-comcast-xfinity-mlb.html
  6. “To make SmartGlass available to the devices that people already

    own (but best on Microsoft devices), they settled on a client cross-platform HTML5, JavaScript and JSON powered solution for Windows, Windows Phone, iOS and Android devices.” http://www.istartedsomething.com/20121104/build-2012-xbox-smartglass-powerful-developer-platform-held-back-by-limited-availability/
  7. “By the summer of 2012, the majority of the televisions

    you see in stores will have Google TV embedded in it” Photo by JD Lasica/Socialmedia.biz http://www.flickr.com/photos/jdlasica/5181380514/
  8. =

  9. We think the answer can be web standards. The world

    doesn’t need more proprietary platforms fragmenting the innovative efforts of developers everywhere. —Tom Conrad, Pandora CTO http://blog.pandora.com/2013/06/05/introducing-tv-pandora-com/
  10. Apps = If that is true, don’t you think Apple

    will ship Safari on TV? http://www.flickr.com/photos/34818713@N00/1314251273/ Embedded Web Views = 3rd Party Browsers
  11. Considering TVs helps inform how we build for the web.

    http://www.flickr.com/photos/revdancatt/3789612273/
  12. Brand Model Score Bonus Points Samsung UN55F80BN3 406 12 Toshiba

    58L7300 386 16 LG 60A7400 429 8 Panasonic TCP55VT60 317 6 Sharp LC70LE857 412 8 Microsoft Xbox 360 120 5 Sony NSZ-GT1 (Google TV) 330 8 iPhone 4S running iOS 6.0 386 9 Google Chrome on Mac (v27) 463 13 html5test.com of 2013 TVs Total possible points: 500
  13. Brand Model Score Samsung UN55F80BN3 55% Toshiba 58L7300 65% LG

    60A7400 62% Panasonic TCP55VT60 63% Sharp LC70LE857 56% Microsoft Xbox 360 32% Sony NSZ-GT1 (Google TV) 48% iPhone 4S running iOS 6.0 56% Google Chrome on Mac (v27) 65% css3test.com of 2013 TVs 218 features tested
  14. Game console browsers Game console browsers Wii U Browser is

    a WebKit version of NetFront More details HTML5 Test 258/500 As of December 2012. Source: html5test.com CSS3 Test 48% As of December 2012. Source: css3test.com Acid 3 Test 100% As of December 2012. Source: acid3.acidtests.org Xbox 360 HTML5 Test 120/500 As of February 2013. Source: html5test.com CSS3 Test 33% As of February 2013. Source: css3test.com Acid3 Test 100% As of February 2013. Source: acid3.acidtests.org TV consoles Devices Devices Resources Resources Anna Debenham Anna Debenham http://console.maban.co.uk/
  15. /* CSS */ #copyright { nav-down: #logo; } CSS3 Basic

    User Interface specification for directional focus navigation http://dev.opera.com/articles/view/tweaking-spatial-navigation-for-tv-browsing/
  16. CSS3 Basic User Interface specification for directional focus navigation http://www.w3.org/TR/css3-ui/#nav-dir

    button#b1 { nav-index:1; nav-right:#b2; nav-left:#b4; nav-down:#b2; nav-up:#b4; } button#b2 { nav-index:2; nav-right:#b3; nav-left:#b1; nav-down:#b3; nav-up:#b1; } button#b3 { nav-index:3; nav-right:#b4; nav-left:#b2; nav-down:#b4; nav-up:#b2; } button#b4 { nav-index:4; nav-right:#b1; nav-left:#b3; nav-down:#b1; nav-up:#b3; }
  17. Unfortunately, only TVs using Opera—two 2012 models—supported spatial navigation. Late

    breaking news: Opera is going to add spatial navigation support to Blink.
  18. While the 2013 TVs did much better with the Google

    TV code, it didn’t work on many capable TV browsers.
  19. Component Button Link Container Grid Lightbox Tab Container Menu AJAX

    tv.ui.Link Browser link (<a> element) has serveral downsides: when it's focused by browser, layout can be damaged by page scrolling to the link, browser displays link destination on the bottom of the screen which distracts user, browsers by default renders its outline which might not match the UI of app. CSS class used for decoration: tv-link HTML structure: <div class="tv-link" href="http://link to external site">Link content</div> Click or press space or enter to go to url. Google TV features (goes to http://google.com/tv)
  20. Component Button Link Container Grid Lightbox Tab Container Menu AJAX

    tv.ui.Link Browser link (<a> element) has serveral downsides: when it's focused by browser, layout can be damaged by page scrolling to the link, browser displays link destination on the bottom of the screen which distracts user, browsers by default renders its outline which might not match the UI of app. CSS class used for decoration: tv-link HTML structure: <div class="tv-link" href="http://link to external site">Link content</div> Click or press space or enter to go to url. Google TV features (goes to http://google.com/tv)
  21. tv.ui.Link Browser link (<a> element) has serveral downsides: when it's

    focused by browser, layout can be damaged by page scrolling to the link, browser displays link destination on the bottom of the screen which distracts user, browsers by default renders its outline which might not match the UI of app. CSS class used for decoration: tv-link HTML structure: <div class="tv-link" href="http://link to external site">Link content</div> Click or press space or enter to go to url. Google TV features (goes to http://google.com/tv)
  22. tv.ui.Link Browser link (<a> element) has serveral downsides: when it's

    focused by browser, layout can be damaged by page scrolling to the link, browser displays link destination on the bottom of the screen which distracts user, browsers by default renders its outline which might not match the UI of app. CSS class used for decoration: tv-link HTML structure: <div class="tv-link" href="http://link to external site">Link content</div> Click or press space or enter to go to url. Google TV features (goes to http://google.com/tv)
  23. tv.ui.Link Browser link (<a> element) has serveral downsides: when it's

    focused by browser, layout can be damaged by page scrolling to the link, browser displays link destination on the bottom of the screen which distracts user, browsers by default renders its outline which might not match the UI of app. CSS class used for decoration: tv-link HTML structure: <div class="tv-link" href="http://link to external site">Link content</div> Click or press space or enter to go to url. Google TV features (goes to http://google.com/tv) tv.ui.Link Browser link (<a> element) has serveral downsides: when it's focused by browser, layout can be damaged by page scrolling to the link, browser displays link destination on the bottom of the screen which distracts user, browsers by default renders its outline which might not match the UI of app. CSS class used for decoration: tv-link HTML structure: <div class="tv-link" href="http://link to external site">Link content</div> Click or press space or enter to go to url. Google TV features (goes to http://google.com/tv) Wait… WTF?
  24. Both solutions require adding a layer of CSS or JS

    specifically to support TV interaction.
  25. Mozilla/5.0 (Linux; U) AppleWebKit/ 537.4 (KHTML, like Gecko) Chrome/ 22.0.1229.79

    Safari/537.4 User Agent String for a 2013 LG Smart TV
  26. Mozilla/5.0 (Linux; U) AppleWebKit/ 537.4 (KHTML, like Gecko) Chrome/ 22.0.1229.79

    Safari/537.4 User Agent String for a 2013 LG Smart TV Nothing that says TV in that string!
  27. What’s the solution? At the moment, device detection is best

    solution. We need to put pressure on TV browser makers to interoperate.
  28. “Testing on as many devices as possible is a great

    idea in theory, but in practice it is untenable. Even if we buy a few devices to try to cover more ground, they will be outdated in just a few months or a year at most. So are we supposed to buy multiple devices per year?” posted at 11:32 am on December 14, 2010 by klayon “If that’s the mobile landscape, I want no part of it.” posted at 07:22 am on December 15, 2010 by Polsonby http://www.alistapart.com/comments/smartphone-browser-landscape/
  29. About About What is an "Open Device Lab"? What is

    an "Open Device Lab"? Contribute Contribute Help the ODL Movement Help the ODL Movement Sponsor Sponsor Donate to Open Device Labs Donate to Open Device Labs Find Find Locate an Open Device Lab Locate an Open Device Lab OpenDeviceLab.com Access a variety of devices. Worldwide. For free. 66 Open Device Labs 66 Open Device Labs across 22 countries across 22 countries 1059 devices accessible 1059 devices accessible Find the right Open Device Lab for your mission and location: washington, dc Filter by manufacturers Acer Advent Ainol Alcatel Aluratek Amazon Apple Archos Asus Barnes & Noble BlackBerry Bookeen Creative Dell EasyPix Ericsson Fujitsu Geeksphone Google HP HTC Huawei Intel Kobo LG Lenovo Microsoft Motorola Nextbook Device Lab DC Washington DC, Columbia United States 0 devices available 1 found this ODL open 1 say it is closed » More details Greyscale Colored
  30. What are people actually expecting when they buy a smart

    tv? http://www.flickr.com/photos/presta/623444414/
  31. Are TVs the equivalent of phones before the iPhone? This

    gives me hope. http://www.flickr.com/photos/rhodes/6297487639/
  32. It may be multiple screens interacting together. Need to think

    about multiple screens. http://www.apple.com/ipad/features/
  33. It may be multiple screens interacting together. Need to think

    about multiple screens. http://www.apple.com/ipad/features/
  34. = =

  35. We can no longer make assumptions about input based on

    screen size or form factor. And we probably never should have.
  36. mobile desktop THE ART OF WEB DEVELOPMENT THE ART OF

    WEB DEVELOPMENT Web widgets THE ART OF WEB DEVELOPMENT THE ART OF WEB DEVELOPMENT Mobile widgets
  37. Higher precision with mouse means smaller targets possible Hover state

    Less precise than mouse and requires larger touch targets Typing easier for many No hover state Typing often more difficult
  38. Higher precision with mouse means smaller targets possible Hover state

    Less precise than mouse and requires larger touch targets Typing easier for many No hover state Typing often more difficult Right clicking and “power” tools Single and multi-touch gestures
  39. Whatever you may think, it currently isn't possible to reliably

    detect whether or not the current device has a touchscreen, from within the browser. —Stu Cox, You Can’t Reliably Detect a Touch Screen http://www.stucox.com/blog/you-cant-detect-a-touchscreen/
  40. Chrome would like to turn on touch events by default.

    https://code.google.com/p/chromium/issues/detail?id=159527 https://docs.google.com/a/cloudfour.com/presentation/d/1-n1qyzewpagREbzW2zm0wOalq33UhbtbSkWf9mEdly8/edit#slide=id.gc2d80e5b_171
  41. After poking at this problem for a few weeks, my

    conclusion is: every desktop UI should be designed for touch now. When any desktop machine could have a touch interface, we have to proceed as if they all do. —Josh Clark http://globalmoxie.com/blog/desktop-touch-design.shtml
  42. What about those who won’t let go of their “power”

    interfaces? http://www.flickr.com/photos/ecos/4092571213/
  43. Th Dream Experience - … Uploaded 2 years ago More

    Of The Dream Exp… Uploaded 2 years ago The Dream Experience -… Uploaded 2 years ago The Dream Experience … Uploaded 2 years ago The Love King Breaks It… Uploaded 2 years ago War Paint for Trees From Lincoln Motor Company Join Log In Create Watch Upload Search s [ ] – VIDEOS Vimeo Couch Mode
  44. Couch Mode + See all Centric TV’s videos / Recently

    viewed / Related videos Th Dream Experience - … Uploaded 2 years ago More Of The Dream Exp… Uploaded 2 years ago The Dream Experience -… Uploaded 2 years ago The Dream Experience … Uploaded 2 years ago The Love King Breaks It… Uploaded 2 years ago PROMOTED War Paint for Trees From Lincoln Motor Company Join Log In Create Watch Upload Search s [ ] – VIDEOS Vimeo Couch Mode
  45. Couch Mode + See all Centric TV’s videos / Recently

    viewed / Related videos Th Dream Experience - … Uploaded 2 years ago More Of The Dream Exp… Uploaded 2 years ago The Dream Experience -… Uploaded 2 years ago The Dream Experience … Uploaded 2 years ago The Love King Breaks It… Uploaded 2 years ago PROMOTED War Paint for Trees From Lincoln Motor Company Join Log In Create Watch Upload Search s [ ] – VIDEOS Couch Mode + See all Centric TV’s videos / Recently viewed / Related videos Th Dream Experience - … Uploaded 2 years ago More Of The Dream Exp… Uploaded 2 years ago The Dream Experience -… Uploaded 2 years ago The Dream Experience … Uploaded 2 years ago The Love King Breaks It… Uploaded 2 years ago PROMOTED War Paint for Trees From Lincoln Motor Company Join Log In Create Watch Upload Search s [ ] – VIDEOS Vimeo Couch Mode
  46. The key benefit of this approach: You’re designing for user

    need not for a specific form factor or input.
  47. Graph from Chapter 1 of Adaptive Web Design by Aaron

    Gustafson http://easy-readers.net/books/adaptive-web-design/
  48. Graph from Chapter 1 of Adaptive Web Design by Aaron

    Gustafson http://easy-readers.net/books/adaptive-web-design/ Progressive enhancement contains a value judgment
  49. Thank You! Special thanks to Luke Wroblewski, Patrick H. Lauke,

    Chewy Chong, Nishant Kothary, Paul Irish, Flickr users sharing under creative commons and the kind folks at Beaverton Video Only.