{ "id": "63357", "key": "TIMOB-2725", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:27:57.000+0000", "created": "2011-04-15T03:27:56.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "defect", "reported-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T21:02:13.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Problem

\n

Remote videos do not play on Android.

\n

Sample Code

\n

The following code demonstrates the problem:

\n
\nvar win = Titanium.UI.createWindow();\nvar activeMovie = Titanium.Media.createVideoPlayer({\n    url: 'http://theatercrew.com/sample.mp4'\n});\nwin.add(activeMovie);\nwin.open();\nactiveMovie.play();\n
\n

Trace level log attached.

\n

Expected Behavior

\n

The above should play a sample video of a \"Q\" being painted,\nwith a wooshing sound effect. It is a MPEG-4 encoded mp4, which is\non Android's list of supported media formats ( http://developer.android.com/guide/appendix/media-formats.html\n).

\n

Platforms Tested

\n

All tests done on 1.6.0 build pulled from build.appcelerator.net\n12/29/10.
\nWORKS on iPhone Simulator 4.2
\nBREAKS on Android Simulator 2.2, Android Simulator APIs 2.2,\nAndroid Device (SAMSUNG Epic 4G) 2.1

\n

Associated Helpdesk Ticket

\n

Enterprise client is asking about this. They have a release on\nFriday that this issue would prevent.
\nhttp://developer.appcelerator.com/helpdesk/view/63661

{html}", "attachment": [ { "id": "18199", "filename": "trace.txt", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-04-15T03:27:57.000+0000", "size": 71900, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Remote Videos Do Not Play", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "129278", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

The android player is it's own window and should not be added to\nthe current window. The error references that.

\n
\n(kroll$1) [16,950] Exception calling kroll method add, invocation: null ]\n[TRACE] E/KrollMethod( 268): java.lang.ClassCastException: ti.modules.titanium.media.VideoPlayerProxy\n
\n

Marking as invalid because the issue is not related to actual\nvideo playback just invalid use of the control.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:27:57.000+0000", "updated": "2011-04-15T03:27:57.000+0000" }, { "id": "129279", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [b8b7bad9bb64c7626d109223f3f9edb5219497c7])\nsupport redirects that use absolute paths as well as URLs [#2302\nstate:fixed-in-qa] [#2725]
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/b8b7bad9bb64...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:27:57.000+0000", "updated": "2011-04-15T03:27:57.000+0000" }, { "id": "408497", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T21:02:13.000+0000", "updated": "2017-03-02T21:02:13.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }