Multi-Device Web apps

Dominique Hazaël-Massieux, W3C

Copyright © 2015 W3C ® (MIT, ERCIM, Keio, Beihang)

Multi-Device Web apps

Dominique Hazaël-Massieux, W3C
@dontcallmedom / dom@w3.org

Outline

W3C & the Web

W3C

Tim Berners-Lee
HTML5
w3.org/mob The Web has turned into an application platform

Multi-device Web apps?

Users have more than one device


Seamless integration of users devices leads to a better UX

Challenges

Based on Web technologies


Web technologies are available on any device

Research on multi-device apps

Building blocks

Communication channels

HTTP (long) polling

WebSockets

WebRTC

Device Enrollment

Problem definition

Starting point
An app running on a first device wants to create a multi-device experience with a second device.
Final point
The two devices are able to exchange messages over some communication channel

Presentation

Presenter notes on one device, slides on the second screen

Source: "Enabling second display use cases on the web" — Dominik Röttsches, Anssi Kostiainen (Intel Corporation), Fourth W3C Web and TV Workshop

Media "flinging"

Browsing VoD catalog on a screen, watching video on the second screen

Source: "Enabling second display use cases on the web" — Dominik Röttsches, Anssi Kostiainen (Intel Corporation), Fourth W3C Web and TV Workshop

Gaming

Remote control on first sreen, or map in a First Person Shooter game, while the core of the game runs on the second screen

Source: "Enabling second display use cases on the web" — Dominik Röttsches, Anssi Kostiainen (Intel Corporation), Fourth W3C Web and TV Workshop

Network Service Discovery

The Network Service Discovery specification developed by the Devices API Working Group

From devices to screens

Attachment methods

HDMI screens Apple Airplay Miracast Intel WiDi Microsoft Wireless display adapter Google Chromecast Matchstick

The Presentation API

The Presentation API specification developed by the Second Screen Presentation Working Group

Other ways to bootstrap sessions

Cross-device app state

Shared state

Asynchronous state

Content adaptation and synchronization

Content adaptation
How to author multi-device Web apps that adapt themselves to the capabilities of devices that are available, best practices and possible enhancements to standards to ease the life of developers.
Content synchronization
How to synchronize content across heterogeneous devices, including animations, transitions, and media.

Thanks!

MediaScape EU project
This project has received funding from the European Union’s Seventh Framework Programme for research, technological development and demonstration under grant agreement 610404