Gaia/Video: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (Add a Security Review section)
 
(21 intermediate revisions by 7 users not shown)
Line 1: Line 1:
The Video app offers content playback support and the ability to manage all video files on your device. Gaia will support popular file/compression formats - H.264/VP8 for video and MP3/AAC/Vorbis for audio.
==Design Spec==
For the latest UX specifications, please visit:
https://mozilla.box.com/applications


== Team ==
== Use Cases ==
 
*Loading videos onto phone. Jim wants to put a video file onto the phone:  
* UX: Patryk
**He plugs the phone into this computer
* Dev: Fabien
**A phone shows up as a drive on his computer
 
**Jim open the drive (phone), proceeds to drag and drop video files into a folder called "videos"
== Status ==
**Jim has the ability to store video (and other data content) on the phone's internal flash memory or an SD card
* Feature Name: Gaia Video App
*Browsing & Playing Videos. Jim wants play a video:
* Stage: Development
**Jim launches the video app
* Release Target: M3 Alpha
**All his videos are listed alphabetically
**He clicks on a video he's interested in, it launches the player (landscape orientation since the video is formatted for landscape orientation)


== Use Cases ==
1. Loading videos onto phone. Jim wants to put a video file onto the phone:
*He plugs the phone into this computer
*A phone shows up as a drive on his computer
*Jim open the drive (phone), proceeds to drag and drop video files into a folder called "videos"
2. Browsing & Playing Videos. Jim wants play a video:
*Jim launches the video app
*All his videos are listed alphabetically
*He clicks on a video he's interested in, it launches the player (landscape orientation since the video is formatted for landscape orientation)


== Requirements ==  
== Requirements ==  
Line 30: Line 24:
**Shows time left (if video has been stopped part way)
**Shows time left (if video has been stopped part way)
**Shows artist info meta data
**Shows artist info meta data
*Playback
*Playback
**Rotates the player according to video aspect when captured
**Rotates the player according to video aspect when captured
Line 46: Line 39:
*Playback of video from local storage or SD card
*Playback of video from local storage or SD card
*Video directory needs to be available on local storage and SD card (/Videos)
*Video directory needs to be available on local storage and SD card (/Videos)
*Codecs supported:
**Video: H.264, VP8
**Audio: AAC, MP3, Vorbis


;Gaia v2
;Gaia v2
Line 56: Line 52:
** 1:1 (play video at original size which may be smaller or bigger than the screen)
** 1:1 (play video at original size which may be smaller or bigger than the screen)
** Crop (to fill the entire window, likely cropping some of the content)
** Crop (to fill the entire window, likely cropping some of the content)
*Jog Dial on Media Player
*Show last played keyframe on thumbnails
== Development ==
[https://github.com/mozilla-b2g/gaia/tree/master/apps/video Source code on Github]


== Design Specs ==
== Security Review ==
The security review of this app can be found [https://wiki.mozilla.org/Security/Reviews/Gaia/Video here].

Latest revision as of 14:52, 28 October 2013

Design Spec

For the latest UX specifications, please visit: https://mozilla.box.com/applications

Use Cases

  • Loading videos onto phone. Jim wants to put a video file onto the phone:
    • He plugs the phone into this computer
    • A phone shows up as a drive on his computer
    • Jim open the drive (phone), proceeds to drag and drop video files into a folder called "videos"
    • Jim has the ability to store video (and other data content) on the phone's internal flash memory or an SD card
  • Browsing & Playing Videos. Jim wants play a video:
    • Jim launches the video app
    • All his videos are listed alphabetically
    • He clicks on a video he's interested in, it launches the player (landscape orientation since the video is formatted for landscape orientation)


Requirements

Gaia v1
  • File Browser
    • Lists videos alphabetically
    • Shows video thumbnail (taken a few seconds into the video)
    • Shows video file name
    • Shows duration
    • Shows time left (if video has been stopped part way)
    • Shows artist info meta data
  • Playback
    • Rotates the player according to video aspect when captured
      • Portrait videos play in portrait mode
      • Landscape videos play in landscape mode
  • Playback Controls:
    • Play
    • Pause
    • Seek Forward (5x, or in 5min intervals depending on video performance)
    • Seek Backward (5x, or in 5min intervals depending on video performance)
    • Scrubber (video playback location)
      • Time elapsed
      • Time remaining
  • Back Button
  • Playback of video from local storage or SD card
  • Video directory needs to be available on local storage and SD card (/Videos)
  • Codecs supported:
    • Video: H.264, VP8
    • Audio: AAC, MP3, Vorbis
Gaia v2
  • Zoom toggle button
    • Scale (scale the video to fit the screen perfectly and not crop any content, black bars will likely appear horizontally or vertically)
  • Share Videos via various sources:
    • Email
    • MMS
    • Social Networks
    • 1:1 (play video at original size which may be smaller or bigger than the screen)
    • Crop (to fill the entire window, likely cropping some of the content)
  • Jog Dial on Media Player
  • Show last played keyframe on thumbnails


Development

Source code on Github

Security Review

The security review of this app can be found here.