Confirmed users
971
edits
Line 13: | Line 13: | ||
The app presents a list view of available videos. Long tapping on a video opens a dialog asking if you want to delete the video. Short apping the video opens a player that immediately starts playing the video. The player also has a delete button and player controls (pause and a scrubber). | The app presents a list view of available videos. Long tapping on a video opens a dialog asking if you want to delete the video. Short apping the video opens a player that immediately starts playing the video. The player also has a delete button and player controls (pause and a scrubber). | ||
The app exposes a "view" activity that third party apps can use to play videos. This activity accepts | The app exposes a "view" activity that third party apps can use to play videos. This activity accepts links to content of type video/webm, video/mp4 and video/3gpp. | ||
The "view" activity also accepts a type of video/youtube. In that case the data is a (special "vnd.youtube:///") link to a YouTube page. The app will call a YouTube API using XHR to request links to the available streams for the video and then pick and play the most appropriate one. | The "view" activity also accepts a type of video/youtube. In that case the data is a (special "vnd.youtube:///") link to a YouTube page. The app will call a YouTube API using XHR to request links to the available streams for the video and then pick and play the most appropriate one. |