{ "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}
Remote videos do not play on Android.
\nThe 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
\nTrace level log attached.
\nThe 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).
\nAll 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
Enterprise client is asking about this. They have a release on\nFriday that this issue would prevent.
\nhttp://developer.appcelerator.com/helpdesk/view/63661
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
\nMarking as invalid because the issue is not related to actual\nvideo playback just invalid use of the control.
(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...