diff options
author | Sam Potts <sam@selz.com> | 2018-01-03 11:45:33 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-03 11:45:33 +1100 |
commit | 888c6773d0df2e59d2fa6b3db15327d17c1c7006 (patch) | |
tree | aad2c9a6d2335a13bdde9831f6ab4b1176e10135 | |
parent | 9c4b53d761929ab7305f6bfdbd7fc541ed902d43 (diff) | |
parent | cfd653f02a000d1fc93daffe24f2ab82960c036b (diff) | |
download | plyr-888c6773d0df2e59d2fa6b3db15327d17c1c7006.tar.lz plyr-888c6773d0df2e59d2fa6b3db15327d17c1c7006.tar.xz plyr-888c6773d0df2e59d2fa6b3db15327d17c1c7006.zip |
Merge pull request #743 from jwpage/patch-1
Fix `enabled` smartphone example in README
-rw-r--r-- | readme.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1024,7 +1024,7 @@ Fullscreen in Plyr is supported by all browsers that [currently support it](http The `enabled` option can be used to disable certain User Agents. For example, if you don't want to use Plyr for smartphones, you could use: ```javascript -enabled: /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) +enabled: !/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ``` If a User Agent is disabled but supports `<video>` and `<audio>` natively, it will use the native player. |