[TIMOB-4327] Android: add videoPlayer to a window
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Medium |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2011-09-21T16:27:08.000+0000 |
| Affected Version/s | Release 1.6.2 |
| Fix Version/s | n/a |
| Components | Android |
| Labels | n/a |
| Reporter | Jon Alter |
| Assignee | Don Thorp |
| Created | 2011-06-06T11:59:26.000+0000 |
| Updated | 2011-09-21T16:27:08.000+0000 |
Description
Would like to be able to add the video player to a window, rather than it opening its own window.
var win = Titanium.UI.createWindow();
var activeMovie = Titanium.Media.createVideoPlayer({
contentURL: 'http://theatercrew.com/sample.mp4',
autoplay: true
});
win.add(activeMovie);
win.open();
Duplicates TIMOB-2565