[TIMOB-7153] MobileWeb: VideoPlayer errors with property mediaControlStyle:Ti.Media.VIDEO_CONTROL_HIDDEN
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-13T18:23:49.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Sprint 2012-01, Release 2.0.0, Release 1.8.1 |
Components | MobileWeb |
Labels | stage2 |
Reporter | Patrick Seda |
Assignee | Chris Barber |
Created | 2012-01-12T17:10:13.000+0000 |
Updated | 2017-03-03T23:21:45.000+0000 |
Description
Implementing this Titanium code:
{noformat}
var moviePlayer = Ti.Media.createVideoPlayer({
backgroundColor:'#121212',
mediaControlStyle: Ti.Media.VIDEO_CONTROL_HIDDEN, // **** CAUSE OF ERROR
scalingMode:Ti.Media.VIDEO_SCALING_ASPECT_FIT,
autoplay:true,
bottom:0,
top:0,
left:0,
right:0
});
{noformat}
Creates this error: {noformat}TypeError: 'undefined' is not an object (evaluating 'this._video.controls = value === Media.VIDEO_CONTROL_DEFAULT'){noformat}
This has already been fixed with TIMOB-7046 and is pending review and pull request (https://github.com/appcelerator/titanium_mobile/pull/1147).
We need to make sure that a PR is reviewed and merged before an issue is marked resolved.
This was fixed and merged as apart of TIMOB-7046.
Closing ticket as MobileWeb is no longer supported.