Skip to:
Content

BuddyPress.org

Opened 13 months ago

Last modified 13 months ago

#7939 new defect (bug)

Support "Take Photo" webcam functionality in mobile browsers

Reported by: PranaliPatel Owned by:
Milestone: Awaiting Contributions Priority: normal
Severity: normal Version:
Component: Core Keywords:
Cc:

Description

Hi Team,

I have a query related to the Change Profile Photo feature of BuddyPress.

I am seeing different options for uploading a photo with different browsers.

1) With Chrome and Safari [ Ref- Image-1 ]

I am getting two options with the Chrome browser [ Upload and Delete ]

2) With Firefox [ Ref- Image-2 ]

I am getting three options with the FireFox browser [ Upload, Take Photo and Delete ]

Doubt: Why the Take Photo option is available only with Firefox browser?


Attachments (2)

Image-1.png (51.0 KB) - added by PranaliPatel 13 months ago.
Attaching screenshot for Chrome -Safari Change Profile Photo screen.
Image-2.png (40.6 KB) - added by PranaliPatel 13 months ago.
Attaching screenshot for Safari Change Profile Photo Screen

Download all attachments as: .zip

Change History (6)

@PranaliPatel
13 months ago

Attaching screenshot for Chrome -Safari Change Profile Photo screen.

@PranaliPatel
13 months ago

Attaching screenshot for Safari Change Profile Photo Screen

#1 @PranaliPatel
13 months ago

Sorry for the wrong image description.
Please refer Image-2 for Firefox browser.

Browser version details:

FireFox - 62.0
Chrome - 62.0
Safari - 11.1.2

Thanks.

#2 @DJPaul
13 months ago

It's to do with the web browser support for certain media APIs to access a webcam.

#3 @r-a-y
13 months ago

  • Milestone changed from Awaiting Review to Awaiting Contributions
  • Summary changed from Change Profile Photo Nav Items differs with different browsers to Support "Take Photo" webcam functionality in mobile browsers

See https://buddypress.trac.wordpress.org/ticket/7676#comment:3 and on.

I'll quote the particulars from that thread:

Patch confirmed working in Firefox, Chrome and Opera. Chrome and Opera requires testing over HTTPS for the "Take Photo" tab to show up.

Your site needs to run over HTTPS for the "Take Photo" functionality to work on Chrome and Opera (and probably Safari as well, but needs verification). Firefox doesn't require HTTPS. This is probably worth noting in the wiki somewhere.

we disable the webcam feature entirely for mobile devices

We don't currently support mobile browsers, but we should look to add this functionality in a future release.

Moving to Awaiting Contributions for now. Devs, feel free to move to 4.0 or Up Next.

Last edited 13 months ago by r-a-y (previous) (diff)

#4 @PranaliPatel
13 months ago

Thank you very much for the details @DJPaul and @r-a-y .

Is there any document available which mentions this behavior?

Regards,
Pranali

Note: See TracTickets for help on using tickets.