Skip to content

Commit

Permalink
fix: support iOS chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
fbaiodias committed Nov 27, 2018
1 parent d101187 commit 2949e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video-recorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const isIOSSafari = () => {
const ua = window.navigator.userAgent
const iOS = !!ua.match(/iPad/i) || !!ua.match(/iPhone/i)
const webkit = !!ua.match(/WebKit/i)
return iOS && webkit && !ua.match(/CriOS/i)
return iOS && webkit
}

const captureThumb = videoTag =>
Expand Down

0 comments on commit 2949e43

Please sign in to comment.