Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7153] MobileWeb: VideoPlayer errors with property mediaControlStyle:Ti.Media.VIDEO_CONTROL_HIDDEN

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-01-13T18:23:49.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sSprint 2012-01, Release 2.0.0, Release 1.8.1
ComponentsMobileWeb
Labelsstage2
ReporterPatrick Seda
AssigneeChris Barber
Created2012-01-12T17:10:13.000+0000
Updated2017-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}

Comments

  1. Chris Barber 2012-01-12

    This has already been fixed with TIMOB-7046 and is pending review and pull request (https://github.com/appcelerator/titanium_mobile/pull/1147).
  2. Neeraj Gupta 2012-01-12

    We need to make sure that a PR is reviewed and merged before an issue is marked resolved.
  3. Chris Barber 2012-01-13

    This was fixed and merged as apart of TIMOB-7046.
  4. Lee Morris 2017-03-03

    Closing ticket as MobileWeb is no longer supported.

JSON Source