{ "id": "150467", "key": "TIMOB-19360", "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": [], "resolution": null, "resolutiondate": null, "created": "2015-08-17T20:49:18.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engTriage", "qe-5.0.0" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [ { "id": "48697", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "147582", "key": "TIMOB-18913", "fields": { "summary": "Android: VideoPlayer is not playing mp4 videos anymore on Android L/Lollipop/5", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2019-12-09T19:18:35.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*This issue is seen with SDK 4.1.0.GA as well.*\r\n\r\nh5.Steps To Reproduce:\r\n1. Run the code below on 4.X android & genymotion emulator's.\r\n{code}\r\nvar vidWin = Titanium.UI.createWindow({\r\n title : 'Video View Demo',\r\n backgroundColor : '#fff'\r\n});\r\n \r\nvar videoPlayer = Titanium.Media.createVideoPlayer({\r\n top : 2,\r\n autoplay : true,\r\n backgroundColor : 'blue',\r\n height : 300,\r\n width : 300,\r\n mediaControlStyle : Titanium.Media.VIDEO_CONTROL_DEFAULT,\r\n scalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT,\r\n url : 'http://player.vimeo.com/external/121659103.sd.mp4?s=b04ddefe800446e09bd2cdf7e6193aa9'\r\n //url : 'http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4'\r\n //url : 'http://108.59.9.98/big_buck_bunny.mp4'\r\n //url : 'http://dts.podtrac.com/redirect.mp4/twit.cachefly.net/video/aaa/aaa0033/aaa0033_h264b_640x368_256.mp4'\r\n //url: 'https://s3.amazonaws.com/playbackacp.com/865/challenge/865-01-03.mp4'\r\n //url: 'http://www.html5videoplayer.net/videos/toystory.mp4'\r\n});\r\n \r\n \r\nvidWin.add(videoPlayer);\r\nvidWin.open();\r\n{code}\r\n\r\nh5. Actual Result:\r\n1. The video player fails to play the video with error:\r\n{code}\r\n[ERROR] : MediaPlayer: Should have subtitle controller already set\r\n[ERROR] : MediaPlayer: error (1, -2147483648)\r\n[ERROR] : MediaPlayer: start called in state 0\r\n[ERROR] : MediaPlayer: error (-38, 0)\r\n[ERROR] : MediaPlayer: Attempt to call getDuration without a valid mediaplayer\r\n[ERROR] : MediaPlayer: error (-38, 0)\r\n[ERROR] : MediaPlayer: Error (1,-2147483648)\r\n[DEBUG] : TiVideoView8: (main) [3832,3832] Error: 1,-2147483648\r\n[ERROR] : MediaPlayer: Error (-38,0)\r\n[DEBUG] : TiVideoView8: (main) [22,3854] Error: -38,0\r\n[ERROR] : MediaPlayer: Error (-38,0)\r\n[DEBUG] : TiVideoView8: (main) [2,3856] Error: -38,0\r\n{code}\r\n2. Ran the code on the following android 4.X devices & the video plays successfully with *no* errors:\r\n* Samsung Galaxy S4 - Android 4.4.2\r\n* Samsung Galaxy S3 - Android 4.0.4\r\n* Galaxy Nexus - Android 4.2.2\r\n* Samsung Note - Android 4.3\r\n\r\nh5.Expected Results:\r\n1.Video player should play Mp4 videos with no errors on 4.X android & genymotion emulator's \r\n", "attachment": [], "flagged": false, "summary": "Android: Video player is not playing mp4 files on 4.X android & genymotion emulators", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 4.2.0.201508062204\r\nTi SDK : 4.2.0.v20150817002027\r\nTi CLI : 4.1.4\r\nAlloy : 1.6.2\r\nMAC Yosemite : 10.10.4\r\nAppc NPM : 4.1.0\r\nAppc CLI : 4.2.0-54\r\nNode: v0.10.37\r\nAndroid Emulator : 4.4.2, 4.2.2\r\nGenymotion Emulator: 4.4.4, 4.2.2", "comment": { "comments": [ { "id": "380124", "author": { "name": "trevor_chong", "key": "trevor_chong", "displayName": "Trevor Chong", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Seems some of users are running into issues with this too ever since we upgraded to 5.0.2.\r\n\r\nThey seem to be usually users with 4.0.x devices.", "updateAuthor": { "name": "trevor_chong", "key": "trevor_chong", "displayName": "Trevor Chong", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-18T18:03:23.000+0000", "updated": "2016-03-18T18:03:23.000+0000" }, { "id": "381428", "author": { "name": "Superpink", "key": "superpink", "displayName": "Anthony De Sousa", "active": true, "timeZone": "Europe/Brussels" }, "body": "This issue still exists, \r\n\r\nwe have an application where users can send videos from iOS and android. MP4 generated (from iOs) video are not visible for some android device.\r\n\r\nHere is a list of some devices where video fail : \r\n\r\n\r\n\r\n{noformat}\r\nSamsung GT S7390 - Android 4.1.2\r\nLG G3 mini - Android 5.0.3\r\nHTC one M8 - Android 6.0 \r\nGalaxy mini s2 - Android 4.4.2\r\n...\r\n{noformat}\r\n\r\n\r\n\r\nIs it an Appcelerator bug ? Could you fix it ?\r\n", "updateAuthor": { "name": "Superpink", "key": "superpink", "displayName": "Anthony De Sousa", "active": true, "timeZone": "Europe/Brussels" }, "created": "2016-04-04T09:10:29.000+0000", "updated": "2016-04-04T09:11:29.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }