[TIMOB-11580] Android: VideoPlayer.playbackstate.playbackstate should be playbackState
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-11-14T19:28:06.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.0, Release 3.1.0, 2012 Sprint 23 API, 2012 Sprint 23 |
Components | Android |
Labels | api, parity, regression, triage |
Reporter | Arthur Evans |
Assignee | Ping Wang |
Created | 2012-10-26T18:30:51.000+0000 |
Updated | 2012-12-04T00:24:15.000+0000 |
Description
The playbackstate event has a property named playbackState. However, on Android, when the event was renamed from playbackState to playbackstate, the event *property* was renamed as well.
The property name should stay the same, as it is documented, as it worked on Android in 2.1.3, and as it works in iOS in 3.0.
This is a regression as well, since the property was renamed in both the legacy playbackState and the new playbackstate events.
PR https://github.com/appcelerator/titanium_mobile/pull/3346 For FR, please run KS->Phone->Play Movie->Local and check the log in the console. Should see something like:
Without the fix, the log is:
3_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/3347
Tested with 3.0.0.v201211300200208 with Galaxy s3 4.0.4 and iphone 4 5.1.1