[TIMOB-2725] Android: Remote Videos Do Not Play
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T03:27:57.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Backlog |
Components | Android |
Labels | android, defect, reported-1.6.0 |
Reporter | Dawson Toth |
Assignee | Don Thorp |
Created | 2011-04-15T03:27:56.000+0000 |
Updated | 2017-03-02T21:02:13.000+0000 |
Description
Problem
Remote videos do not play on Android.
Sample Code
The following code demonstrates the problem:
var win = Titanium.UI.createWindow();
var activeMovie = Titanium.Media.createVideoPlayer({
url: 'http://theatercrew.com/sample.mp4'
});
win.add(activeMovie);
win.open();
activeMovie.play();
Trace level log attached.
Expected Behavior
The above should play a sample video of a "Q" being painted, with a wooshing sound effect. It is a MPEG-4 encoded mp4, which is on Android's list of supported media formats ( http://developer.android.com/guide/appendix/media-formats.html">http://developer.android.com/guide/appendix/media-formats.html ).
Platforms Tested
All tests done on 1.6.0 build pulled from build.appcelerator.net
12/29/10.
WORKS on iPhone Simulator 4.2
BREAKS on Android Simulator 2.2, Android Simulator APIs 2.2,
Android Device (SAMSUNG Epic 4G) 2.1
Associated Helpdesk Ticket
Enterprise client is asking about this. They have a release on
Friday that this issue would prevent.
http://developer.appcelerator.com/helpdesk/view/63661">http://developer.appcelerator.com/helpdesk/view/63661
Attachments
File | Date | Size |
---|---|---|
trace.txt | 2011-04-15T03:27:57.000+0000 | 71900 |
The android player is it's own window and should not be added to the current window. The error references that.
Marking as invalid because the issue is not related to actual video playback just invalid use of the control.
(from [b8b7bad9bb64c7626d109223f3f9edb5219497c7]) support redirects that use absolute paths as well as URLs [#2302 state:fixed-in-qa] [#2725]
https://github.com/appcelerator/titanium_mobile/commit/b8b7bad9bb64c7626d109223f3f9edb5219497c7"> https://github.com/appcelerator/titanium_mobile/commit/b8b7bad9bb64...
Closed as invalid.