Skip to content

Commit 0810db8

Browse files
author
Matt Fawcett
committed
Update the android_phone fullscreen support useragent detection regex so
that it allows fullscreen on android phones using the Chrome browser. Chrome on android has supported full screen since it's release: http://www.brighthand.com/default.asp?newsID=20141
1 parent aca237f commit 0810db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.jplayer/jquery.jplayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@
546546
iphone: /iphone/,
547547
ipod: /ipod/,
548548
android_pad: /android [0-3]\.(?!.*?mobile)/,
549-
android_phone: /android.*?mobile/,
549+
android_phone: /(?=.*android)(?!.*chrome)(?=.*mobile)/,
550550
blackberry: /blackberry/,
551551
windows_ce: /windows ce/,
552552
iemobile: /iemobile/,

0 commit comments

Comments
 (0)