question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Camera's video not showing on iPhones, IPads and Chrome's Iphone/iPad simulator

See original GitHub issue

When watched from an iPhone (tested with iPhone X, iOs 14.2), IPad (Pro 9.7inch, iOs 13.7) and Chrome’s Iphone/iPad screen simulator (no problem on Surface, Samsung,… simulators), the <canvas> appears empty, no video is showing. Here is a screenshot of the problem with the AR raccoon Jeeliz demo: image image

It looks like it’s a navigator object problem. I though of quick-fixing the bug by editing JeeelizFaceTransfer.js this way:

Before

var a=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);

After

var a=navigator.appVersion.match(/OS X (\d+)_(\d+)_?(\d+)?/);

But it didn’t work out (showing a GoPro WebCam screen instead). Still investigating…

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
xavierjscommented, Dec 11, 2020

BREAKING NEWS: Camera access is enabled on IOS14.3 which is released this Monday ( December 14th ). So FaceFilter will work on Chrome, Firefox, Opera for IOS, and into WKWebviews embedded in native apps.

0reactions
xavierjscommented, Nov 24, 2020

Hi @yannklein ,

It is great that it works now on Iphone + Safari (I fixed a major bug during the solving of issue #126 ). I regularly test the boilerplate on Iphone11 + latest IOS and Ipad pro + latest IOS in the beta channel. But there are often bad surprises with IOS updates.

I close this issue, feel free to re-open it if the problem occurs again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does the playback not work when using the Chrome ...
The simple answer is that this occurs because the video player gets confused between the user agent (set as iOS during the simulation)...
Read more >
Fix videos & games that won't play - Google Chrome Help
If a YouTube video, Facebook game, or other media isn't working, try the steps below to fix it. ... On your iPhone or...
Read more >
If the camera or flash on your iPhone, iPad, or iPod touch isn't ...
If your photos are blurry or the camera screen is black, here's what to do.
Read more >
iPhone/iPad browser simulator? [closed] - ios - Stack Overflow
The Chrome emulator seems to have a lot of options, but I've never had luck with it even coming close to emulating an...
Read more >
Top 12 Fixes for Safari Not Loading Pages on iPhone and iPad
Are you unable to open websites on Safari browser? Check out 12 ways to fix Safari not loading webpages on iOS and iPadOS....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found