Clean up booleans

Show options as either true or false and include note about default values.
This commit is contained in:
Hampton Maxwell 2018-05-28 22:50:42 -07:00 committed by GitHub
parent d63c690899
commit 025770eb13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,12 +187,12 @@ using System.Collections.Generic;
}} // Store reference }} // Store reference
rate={1.0} // 0 is paused, 1 is normal. rate={1.0} // 0 is paused, 1 is normal.
volume={1.0} // 0 is muted, 1 is normal. volume={1.0} // 0 is muted, 1 is normal.
muted={false} // Mutes the audio entirely. muted={true|false} // Mutes the audio entirely. Default false
paused={false} // Pauses playback entirely. paused={true|false} // Pauses playback entirely. Default false
resizeMode="cover" // Fill the whole screen at aspect ratio.* resizeMode="cover" // Fill the whole screen at aspect ratio.*
repeat={true} // Repeat forever. repeat={true|false} // Repeat forever. Default false
playInBackground={false} // Audio continues to play when app entering background. playInBackground={true|false} // Audio continues to play when app entering background. Default false
playWhenInactive={false} // [iOS] Video continues to play when control or notification center are shown. playWhenInactive={true|false} // [iOS] Video continues to play when control or notification center are shown. Default false
ignoreSilentSwitch={"ignore"} // [iOS] ignore | obey - When 'ignore', audio will still play with the iOS hard silent switch set to silent. When 'obey', audio will toggle with the switch. When not specified, will inherit audio settings as usual. ignoreSilentSwitch={"ignore"} // [iOS] ignore | obey - When 'ignore', audio will still play with the iOS hard silent switch set to silent. When 'obey', audio will toggle with the switch. When not specified, will inherit audio settings as usual.
progressUpdateInterval={250.0} // [iOS] Interval to fire onProgress (default to ~250ms) progressUpdateInterval={250.0} // [iOS] Interval to fire onProgress (default to ~250ms)
onBuffer={this.onBuffer} // Callback when remote video is buffering onBuffer={this.onBuffer} // Callback when remote video is buffering