Security/Reviews/Gaia/Video: Difference between revisions

Jump to navigation Jump to search
Line 72: Line 72:
The application makes the following activities available to other apps:
The application makes the following activities available to other apps:


* view - To let third party applications play video files and YouTube links in a standard UI
* view - To let third party applications play video files and YouTube links in a standard UI.
 
The code handling <code>view</code> is in <code>js/view.js</code>. It only knows how to play movies that you reference by type and URL. The following types are supported:
 
* video/mp4, video/ogg, video/3gpp: the url is loaded in a <video> tag and played
* video/youtube: the url is a special vnd.youtube:///MOVIEID?blah=foo url
 
In case of YouTube, the app will make a call to http://www.youtube.com/get_video_info?video_id= to find out the stream URLs first.


====Web Activity Usage ====
====Web Activity Usage ====
Confirmed users
971

edits

Navigation menu