SlideShare a Scribd company logo
Sarah	
  Allen
@ultrasaurus
Sarah	
  Allen
@ultrasaurus
Mobile	
  Web
Video
<object	
  id="UNIQUEID"	
  height="520"	
  width="528"	
  codebase="http://	
  
download.macromedia.com/pub/shockwave/cabs/flash/	
  swflash.cab#version=9
classid="clsid:d27cdb6e-­‐	
  ae6d-­‐11cf-­‐96b8-­‐444553540000"	
  >	
  
	
   <param	
  value="../player/myVideoPlayer.swf"	
  name="movie"	
  />	
  
	
   <param	
  value="true"	
  name="allowFullScreen"	
  />	
  
	
   <param	
  value="all"	
  name="allowNetworking"	
  />	
  
	
   <param	
  value="always"	
  name="allowScriptAccess"	
  />	
  
	
   <param	
  value="opaque"	
  name="wmode"	
  />	
  
	
   <param	
  value="myVideoFile.flv"	
  name="FlashVars"	
  />	
  
	
   <embed	
  height="520"	
  width="528"	
  src="../player/mds_player.swf"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  id="UNIQUEID"	
  wmode="opaque"	
  allowscriptaccess="always"	
  	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  allownetworking="all"	
  allowfullscreen="true"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  swf="../player/myVideoPlayer.swf"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  flashvars="myVideoFile.flv"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  pluginspage="http://www.macromedia.com/go/	
  getflashplayer"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  type="application/x-­‐shockwave-­‐flash"	
  quality="high"	
  />	
  
</object>
<video	
  src="coolstuff.m4v">
</video>
Sarah
Allen
@ultrasaurus
Learn: what do we know?
(numbers are good)
Hypothesis: what do we believe?
(numbers are good)
Test: how can we check reality?
Analyze: does the data support
our hypothesis?
<video>
file	
  formats
the	
  dramatic	
  impact
of	
  mobile	
  web	
  video!
video.js
fun	
  new	
  stuff
<video>
<video	
  src="coolstuff.m4v">	
  
</video>
<video	
  src="coolstuff.m4v"	
  controls>	
  
</video>
<video	
  src="coolstuff.m4v"	
  controls	
  
	
   preload=	
  "metadata"	
  >	
  
</video>
metadata	
  =	
  default
only	
  really	
  works	
  if	
  metadata	
  is	
  at	
  start	
  of	
  file
<video	
  src="coolstuff.m4v"	
  controls	
  
	
   preload=	
  "none"	
  >	
  
</video>
<video	
  src="coolstuff.m4v"	
  controls	
  
	
   preload=	
  "auto"	
  >	
  
</video>
<video	
  src="coolstuff.m4v"	
  controls	
  
	
   autoplay>	
  
</video>
<video	
  src="coolstuff.m4v"	
  controls	
  
	
   autoplay	
  loop>	
  
</video>
<video	
  src="coolstuff.m4v"	
  controls	
  
	
   autoplay	
  loop	
  muted>	
  
</video>
<video	
  src="coolstuff.m4v"	
  controls	
  	
  
	
   poster=	
  "coolstuff.jpg"	
  >	
  
</video>
Web	
  Video	
  Timeline
Web	
  Video	
  Timeline
needs server
content-type
http://bit.ly/web-video-formats
ffmpeg -i pool.mov
-codec:v libtheora -qscale:v 3
-codec:a libvorbis -qscale:a 3 pool.ogv
ffmpeg -i pool.mov
-vcodec libvpx -acodec libvorbis
pool.webm
ffmpeg
OSX: brew install ffmpeg won’t work
Compile Instructions: http://bit.ly/ffmpeg-ogg-webm
http://www.squared5.com/svideo/mpeg-streamclip-mac.html
<video>
	
   <source	
  src="coolstuff.mp4"	
  type=	
  "video/mp4">
	
   <source	
  src="coolstuff.ogg"	
  type=	
  "video/ogg">
	
   <source	
  src="coolstuff.webm"	
  type=	
  "video/webm">
	
  	
  	
  	
  	
  	
  	
  Your	
  browser	
  does	
  not	
  support	
  this	
  video.
</video>
<video>
	
   <source	
  src="coolstuff-­‐small.mp4"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  type=	
  "video/mp4"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  media="all	
  and	
  (max-­‐width:480px)">
	
   <source	
  src="coolstuff-­‐large.mp4"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  type=	
  "video/mp4">
</video>
dramatic	
  impact
real	
  world	
  stories
2010
2012
2010
Web	
  Video	
  Timeline
2010
iPhone,	
  Android,	
  BlackBerry,	
  Windows	
  Mobile
2012
Learn: what do we know?
(numbers are good)
Hypothesis: what do we believe?
(numbers are good)
Test: how can we check reality?
Analyze: does the data support
our hypothesis?
Mobile Web Video
hypothesis	
  
people	
  want
	
  language	
  resources	
  
on	
  mobile
Mobile	
  Traffic
Android (78) 18.4%
Blackberry (10) 2.5%
Nokia (2) 0.2%
Opera (1) 0.1%
Unknown 6.2%
73% iOS
iPhone 53.2%
iPad 16%
iPod 2.8%
iPod Touch 0.7%
Web	
  Video	
  Timeline
Web	
  Video	
  Timeline
2012
30% of desktop traffic
from browsers that don’t support
<video> with mp4
99% of our traffic from
desktop browsers that support
<video> with mp4 or Flash
Firefox
IE <9
Opera
}these browsers
support Flash
Flash	
  to	
  <video>
for	
  iOS
video.js
http://www.videojs.com/
<link	
  href="http://vjs.zencdn.net/c/video-­‐js.css"	
  rel="stylesheet">
<script	
  src="http://vjs.zencdn.net/c/video.js"></script>
<video	
  id="video_player"	
  class="video-­‐js	
  vjs-­‐default-­‐skin"	
  controls
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  preload="auto"	
  width="440"	
  height="380"	
  style="overflow:hidden;"
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  data-­‐setup="{}">
	
  	
  	
  	
  	
  	
  	
  	
  	
  <source	
  src="http://www..../79096138-­‐4b35-­‐470f-­‐92bc.mp4'	
  type='video/mp4'>
</video>
same	
  code	
  for	
  Flash
http://www.videojs.com/
<link	
  href="http://vjs.zencdn.net/c/video-­‐js.css"	
  rel="stylesheet">
<script	
  src="http://vjs.zencdn.net/c/video.js"></script>
<video	
  id="video_player"	
  class="video-­‐js	
  vjs-­‐default-­‐skin"	
  controls
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  preload="auto"	
  width="440"	
  height="380"	
  style="overflow:hidden;"
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  data-­‐setup="{}">
	
  	
  	
  	
  	
  	
  	
  	
  	
  <source	
  src="http://www..../79096138-­‐4b35-­‐470f-­‐92bc.mp4'	
  type='video/mp4'>
</video>
Returning	
  Visits	
  on	
  Mobile	
  increased	
  by	
  34%
Mobile	
  video	
  increased	
  search	
  traffic	
  >	
  2x
fun	
  stuff
Web	
  RTC
http://webrtc-examples.herokuapp.com/
Web	
  RTC
http://webrtc-examples.herokuapp.com/
webrtc.org
including Android!
including Android!
Firefox OS coming...
follow bug 750011
<input	
  type=	
  "file"	
  >
mobile	
  Safari	
  -­‐-­‐	
  iOS	
  6
dank	
  je	
  wel
Sarah	
  Allen
@ultrasaurus

More Related Content

Mobile Web Video