Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28221] iOS: Default value of property Ti.Media.VideoPlayer.pictureInPictureEnabled should be true

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2020-11-19T16:16:12.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.3.0
ComponentsiOS
Labelsvideoplayer
ReporterVijay Singh
AssigneeVijay Singh
Created2020-11-03T18:30:40.000+0000
Updated2020-11-19T16:16:12.000+0000

Description

Default value of property Ti.Media.VideoPlayer.pictureInPictureEnabled is false. It should be true. Test Case -
var win = Ti.UI.createWindow({
    backgroundColor: '#fff'
});

var btn = Ti.UI.createButton({
    title: 'Log property value'
});

btn.addEventListener('click', function() {
	const player = Ti.Media.createVideoPlayer();
	Ti.API.info(player.pictureInPictureEnabled); // should be true
});

win.add(btn);
win.open();

Comments

  1. Vijay Singh 2020-11-03

    PR - https://github.com/appcelerator/titanium_mobile/pull/12239
  2. Christopher Williams 2020-11-03

    merged to master for 9.3.0 target
  3. Samir Mohammed 2020-11-19

    *Closing ticket*. Fix verified in SDK version ``. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/12239

JSON Source