- Version locked to 6.0+ because that is the version that introduced setPlaybackParams
- Ignores rate prop as before on android versions lower than 6.0
Some props are missing in the documentation, the propTypes provides a full list of those. I think it would help a lot of developers to add a link here.
* issue 310 - Added a new property, ignoreSilentSwitch. When true, audio will play even when the silent switch on an iOS device is set to silent. When false, the audio will toggle with the silent switch. Sets the AVAudioSession to either playback or ambient.
* Added ignoreSilentSwitch usage to example app and to readme
* Changed ignoreSilentSwitch to accept two string values, ignore and obey.
This accounts for the case where the user does not want to modify the audio session from a particular video instance. The user would not use the ignoreSilentSwitch property at all in that case.
Also, the audio session will only be updated when the video is unpaused, instead of whenever the video component has updated props. This allows for multiple videos to be on the screen, with the most recent video unpaused (aka played) being the video that has control over the audio session.
* initial support for WPF
* update readme with WPF specific instructions
* remove autogenerated .gitattributes file
* reference RNW NPM package instead of hard-coded local reference
* Stop video autoplay when paused prop is 'true' on initial showing of video component
* Fix IOException - java.io.FileNotFoundException: No content provider: thrown in android.MediaPlayer, due to expected uri resource with content provider instead of only a URL
Before, when you resumed the app the player would **always** start playing again.
After this changed the `paused` prop of the `Video` component (which is the `isPaused` variable internally)
is consulted on resume for whether or not the playback should resume as well.
* added listener for timedMetadata event.
* added callback in RCTVideo for the timed metadata
* exposing onTimedMetadata to JS
* added forgotten method declaration
* returning array of string values
* added metadata type to the array
* added onMetadata method
* overridden onMetadata method on exoplayer2
* added format of return value from onMetadata
* added function reference in README file
* Fix require(...) file resource on Android production
* Update example (use require for ./broadchurch.mp4)
* Fix MainApplication.java of example
* Add default source type
- Use NSNull object in NSDictionary when type (or URI) missing from supplied
src object.
- In addition, defensively supply valid strings for URI and type from JS.