aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/controls.js
diff options
context:
space:
mode:
authorSuman Bhattarai <sumanbh7@gmail.com>2019-12-03 10:34:27 -0700
committerSuman Bhattarai <sumanbh7@gmail.com>2019-12-03 10:34:27 -0700
commit42d72c530335b553319e114b675be337d326e0f3 (patch)
tree6e78db6e8fe2f027a1d11ef224f6498ba201826a /src/js/controls.js
parent74e3990604698b1f2af3ed51e65b0ca820c1d624 (diff)
downloadplyr-42d72c530335b553319e114b675be337d326e0f3.tar.lz
plyr-42d72c530335b553319e114b675be337d326e0f3.tar.xz
plyr-42d72c530335b553319e114b675be337d326e0f3.zip
fix being unable to unmute autoplayed video on IOS
Diffstat (limited to 'src/js/controls.js')
-rw-r--r--src/js/controls.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/controls.js b/src/js/controls.js
index 7afcd2c0..76b15dda 100644
--- a/src/js/controls.js
+++ b/src/js/controls.js
@@ -1380,7 +1380,7 @@ const controls = {
}
// Volume range control
- if (control === 'volume') {
+ if (control === 'volume' && !browser.isIos) {
// Set the attributes
const attributes = {
max: 1,