Skip to content

Add allowsExternalPlayback Property for ios#1057

Merged
cobarx merged 6 commits intoTheWidlarzGroup:masterfrom
genglei01:master
Jun 10, 2018
Merged

Add allowsExternalPlayback Property for ios#1057
cobarx merged 6 commits intoTheWidlarzGroup:masterfrom
genglei01:master

Conversation

@genglei01
Copy link
Contributor

Make the video control can disable allowsExternalPlayback for ios

Copy link
Contributor

@cobarx cobarx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Can you add an entry in the README for this prop.

ios/RCTVideo.m Outdated
_controls = NO;
_playerBufferEmpty = YES;
_playInBackground = false;
_allowsExternalPlayback = YES;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation is off here.

@genglei01
Copy link
Contributor Author

I have updated the README.

@cobarx
Copy link
Contributor

cobarx commented Jun 10, 2018

Thanks for updating this!

@cobarx cobarx merged commit bd30454 into TheWidlarzGroup:master Jun 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants