Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
LonelyCpp committed Apr 7, 2020
1 parent a902c66 commit e7f462c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions doc/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ the video from the youtube player UI

> **note on autoPlay**: The HTML5 `<video>` element, in certain mobile browsers (such as Chrome and Safari), only allows playback to take place if it's initiated by a user interaction (such as tapping on the player).
A work around to get the video to autoplay is to add these parameters to alter the user agent of the webview.

use the [forceAndroidAutoplay](#forceAndroidAutoplay) prop if auto play is not working. (usually is affected by older android devices)
However, the webview provides APIs to overcome this and will allow auto play in most cases. Use the [forceAndroidAutoplay](#forceAndroidAutoplay) prop if auto play still doesn't work. (usually is affected by older android devices)

## onChangeState

Expand Down

0 comments on commit e7f462c

Please sign in to comment.