Demo player doesn't work on Chrome OS
See original GitHub issueI get a JS error caused by accessing platform[0]
in Chrome OS cause ua.match
doesnt’ check for cros
. See
function getBrowserInfo () {
var ua = navigator.userAgent;
// Check the mobile platform first.
var platform = ua.match(/android|ipad|iphone/i);
if (!platform)
platform = ua.match(/linux|mac os x|win64/i);
// Check Edge first. If fails, check the other major browsers.
var client = ua.match(/(edge)\/(\d+)/i);
if (!client)
client = ua.match(/(chrome|safari|firefox|opera)\/(\d+)/i);
return {
brand: client[1],
version: client[2],
platform: platform[0]
};
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
I put my chrome book into demo mode. i cant remove it please ...
After a quick search, it seems it's pretty easy to put your Chromebook into Demo mode. After a Powerwash(factory reset) you just press...
Read more >How To Enable Demo Mode On Chromebooks - YouTube
How To Enable Demo Mode On Chromebooks. Watch later. Share. Copy link. Info. Shopping. Tap to unmute. If playback doesn't begin shortly, ...
Read more >Demo player does not work (Win 10, Chrome) · Issue #6 ... - GitHub
I have the same problem It comes from platform = ua.match(); it fails to match on my system. I'll get more detail when...
Read more >Videos Not Playing on Chrome: Fix It with 10 Methods
Videos are not playing or even loading on Google Chrome? Don't worry. This article will provide 10 methods you need to fix video...
Read more >The most common Chromebook problems and how to fix them
From issues with updates to internet connectivity, troubleshooting common Chromebook problems doesn't have to ruin your day. Read on to discover easy fixes ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks!
That is the different issue - #5. I am working on it at the moment.