Commit 864da19d authored by Hampton Maxwell's avatar Hampton Maxwell
Browse files

Document id prop

parent 4c229433
Loading
Loading
Loading
Loading
+11 −0
Changes for README.md: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -254,6 +254,7 @@ var styles = StyleSheet.create({
* [bufferConfig](#bufferconfig)
* [controls](#controls)
* [headers](#headers)
* [id](#id)
* [ignoreSilentSwitch](#ignoresilentswitch)
* [muted](#muted)
* [paused](#paused)
@@ -357,6 +358,16 @@ headers = {{

Platforms: Android ExoPlayer

#### id
Set the DOM id element so you can use document.getElementById on web platforms. Accepts string values.

Example:
```
id="video"
```

Platforms: DOM

#### ignoreSilentSwitch
Controls the iOS silent switch behavior
* **"inherit" (default)** - Use the default AVPlayer behavior