Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2565] Android: Video Player can't be added to a parent view (incompatible with iOS)

GitHub Issuen/a
Resolution Date2011-12-06T15:19:54.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sSprint 2011-46, Release
Labelsparity, release-note-1.8.0, stage
ReporterMarshall Culpepper
AssigneeBill Dawson


It may not be possible to implement this the way iOS did, but we should at least expose open() as a synonym for play(). The VideoPlayer API in general may need to be reigned in when we work out the layout/view system for 1.5.1. Thoughts?


  1. Natalie Huynh 2011-07-26

    Steps to Reproduce: 1. Run test 1077 from http://wiki.appcelerator.org/display/tp/UI+Composite+Layout+Behavior+Test+Case Actual step: Run-time error Note: Adding the video player to parent causes a runtime error
  2. Bill Dawson 2011-11-15

    Pull request ready https://github.com/appcelerator/titanium_mobile/pull/701
  3. Bill Dawson 2011-12-04

    *For release notes* -- Previous default behavior, since we couldn't add the player to a parent view, was that fullscreen would be true. That's not the case for iOS, and for parity's sake it's no longer the case for Android now that we can put the player on a view. So if fullscreen is desired now in Android, you must specifically set fullscreen to true.
  4. Natalie Huynh 2011-12-06

    Tested with v8/rhino on Galaxy 10.1 (3.1) Droid 1 (2.2.2) Nexus S (2.3.6)

JSON Source