Web on TV: Strategies for Success

Daniel Davis、 Opera Software

Web on TV:
Strategies for Success

bit.ly/webtvstrategy

image/svg+xml

Contents

  1. Interacting with TVs
  2. Problems & how to fix them
  3. Easy ways to test without a TV
  4. Ideal content for TV

Interacting with TVs

A long, long time ago...

Wiimote

Still a good user experience

Wii menu

Some newer alternatives

Logitech remote Alternative remote

Most common

Common remote controls

Problems & how to fix them

Problem 1: Text is too small

Problem 1: Text is too small

Solution: font-size: 2.5em;

Caution:

  • transform: scale(2.5); is slow
  • TV's built-in zoom is too limited

Problem 2: Large text makes the page look cramped

Problem 2: Large text makes the page look cramped

Solution: Remove non-essential elements

Caution:

  • Consider hiding rather than removing some elements

Problem 3: Navigation is difficult

Problem 3: Navigation is difficult

Solution: <div tabindex="0">Click</div>
daniemon.com/tech/utils/spatial.html

Caution:

  • Many links on a page can make it awkward to scroll
  • Don't forget focus: a:hover, a:focus { ... }

Problem 3: Navigation is difficult (2)

Problem 3: Navigation is difficult (2)

Solution: nav-left:#item9; nav-right:#item1;
daniemon.com/tech/css3/navdir

Caution:

  • Remember to change CSS when you edit IDs

Problem 4: Inputting text is frustrating

Problem 4: Inputting text is frustrating

Solution: If possible, make it unnecessary

Caution:

  • Only the [0-9], [OK] & [Back] keys are available

Problem 5: How can I detect TVs?

Problem 5: How can I detect TVs?

Solution 1: CSS Media Queries (daniemon.com/tech/utils/webtv.html)

Solution 2: Ask the user

Caution:

  • TVs can lie sometimes
  • The "tv" Media Type is no longer used

Problem 6: TVs can be very slow

Problem 6: TVs can be very slow

Solution: Use CSS, not JavaScript, and keep it minimal

Caution:

  • Animating top/left is better than animating size
  • Your PC can fool you. Test on a TV

Easy ways to test without a TV

Move back from the PC

Using your hand to visualise a TV screen

Use the keyboard/keypad

Opera: [Shift] + [↑ ↓ ← →]

Use the TV emulator

  1. Install VirtualBox (virtualbox.org)
  2. Add Opera TV emulator (opera.com/tv/emulator)
  3. Install video codecs
  4. Create a shared local folder

Ideal content for TV

TV's strong points

  • Has a prime place in most family's living rooms
  • Large, bright screen with good speakers
  • Everyone, young & old, knows how to use it
  • Many people can watch at the same time

Idea 1: Video/audio player

Vimeo TV app

Idea 2: Slideshow/photo viewer

Flickr TV app

Idea 3: No action required

Fireplace screensaver

Idea 4: Interactive lessons

Person doing yoga

Idea 5: Games without fast action

Solitaire TV game

Idea 6: Multi-screen apps

Simple multiscreen game

Bonus idea - use our free templates!

TV app templates

dev.opera.com/tv
for more...

bit.ly/webtvstrategy

image/svg+xml