[TIMOB-27184] Android: Add VideoPlayer "scalingMode" constants VIDEO_SCALING_RESIZE_*
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2019-10-03T15:59:22.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 8.3.0 |
| Components | Android |
| Labels | VideoPlayer, android, parity, scaling, video |
| Reporter | Joshua Quick |
| Assignee | Yordan Banev |
| Created | 2019-06-26T03:38:53.000+0000 |
| Updated | 2019-10-03T15:59:22.000+0000 |
Description
*Summary:*
As of Titanium 7.0.0, we've added the following iOS-only
Ti.Media.ViewPlayer constants. We need to add them to Android as well for parity.
* [Ti.Media.VIDEO_SCALING_RESIZE](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Media-property-VIDEO_SCALING_RESIZE)
* [Ti.Media.VIDEO_SCALING_RESIZE_ASPECT](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Media-property-VIDEO_SCALING_RESIZE_ASPECT)
* [Ti.Media.VIDEO_SCALING_RESIZE_ASPECT_FILL](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Media-property-VIDEO_SCALING_RESIZE_ASPECT_FILL)
*Note:*
The above constants were added to iOS via [TIMOB-19040].
PR: https://github.com/appcelerator/titanium_mobile/pull/11148
FR passed.Waiting on Jenkins
PR Merged
Verified working on 8.3.0.v20191002165629. Ticket closed.