Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/02/2016 07:59:24 PM (9 years ago)
Author:
imath
Message:

Make sure the Avatar UI behaves the right way in Microsoft Edge & Chrome

  • Use, if needed, MS Edge specific attribute for the video stream (srcObject).
  • Make sure Plupload Uploader is also ready for MS Edge within the wp-admin/profile screen.
  • Make sure the "Browse" button works the right way in MS Edge.
  • About the Chrome Browser: only load the webcam script if the website is using ssl.

Fixes #6846 (trunk)

props r-a-y, hnla

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-avatars.php

    r10487 r10496  
    19371937 */
    19381938function bp_avatar_use_webcam() {
    1939     global $is_safari, $is_IE;
     1939    global $is_safari, $is_IE, $is_chrome;
    19401940
    19411941    /**
     
    19521952     * @see  http://caniuse.com/#feat=stream
    19531953     */
    1954     if ( $is_safari || $is_IE ) {
     1954    if ( $is_safari || $is_IE || ( $is_chrome && ! is_ssl() ) ) {
    19551955        return false;
    19561956    }
Note: See TracChangeset for help on using the changeset viewer.