New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 664949 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Dec 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Embedded Twitter videos don't play

Project Member Reported by jasonkliu@chromium.org, Nov 14 2016

Issue description

App Version (from "Chrome Settings > About Chrome"): M54, M56 canary
iOS Version: 10.2
Device: 6S

Steps to reproduce: 
1. Go to http://www.huffingtonpost.com/entry/mary-j-blige-serenaded-hillary-clinton_us_57ea90d4e4b024a52d2ab053
2. Scroll down to the embedded Twitter video (after the text
"But folks on Twitter thought otherwise after they saw a video of Mary J. Blige serenading Clinton with aforementioned cover when Apple Music shared it on Twitter on Monday.")

Observed behavior: 
There is no video shown on the screen.

Expected behavior: 
Video should show up.  Works in Safari, picture attached.

Frequency: 5/5
<number of times you were able to reproduce> 

Additional comments: 
This was mentioned in App Store reviews / TestFlight.
This seems to be a regression - used to work previously.
 
IMG_0167.png
114 KB View Download
IMG_0168.png
501 KB View Download
Cc: linds...@chromium.org
Firefox has the same issue, this is not specific to Chrome for iOS.

Comment 2 by pkl@chromium.org, Nov 14 2016

Cc: michaeldo@chromium.org eugene...@chromium.org
We should check WebView (test app available from app store).
Does it work in M54 in current app store release?
Broken in M54 App Store.
Works in UIWebView/WKWebView/SafariVC from WebView test app.
Cc: -michaeldo@chromium.org
Components: Mobile>WebView>Glue
Labels: -Pri-2 Pri-1
Owner: michaeldo@chromium.org
Status: Assigned (was: Untriaged)
This can be related to SDK version we link. Mike could you please check if this is reproducible with stock WKWebView app build with iOS 10 SDK.
Cc: pinkerton@chromium.org
Labels: -Type-Bug M-55 ReleaseBlock-Stable Type-Bug-Regression
This is a pretty serious regression. We shouldn't ship another version without fixing.
It appears that this is related to an injected script and not the SDK it is built with. It works in ios_web_shell target OK.
I believe this may be more related to the webpage rather than the scripts we are injecting. The video that doesn't appear is displayed in an iframe and there are errors emitted when the page is loaded about a sandbox violation. The error from our script can be found in |elementsFromCoordinates| in core.js at the final return statement. The error appears here when clicking on the missing video's iframe. A similar error is likely the cause of this video never loading in the first place.
Even if web page does something wrong we still should understand what causes this bug from Chrome side. What if we remove all chrome scripts (like autofill, translate, etc)? Or maybe try generic user agent?
I was unable to see a change after preventing the injection of all the scripts.

However, thank you for reminding me to test user agent.

Commenting out our customUserAgent FIXES the video and allows it to properly render.
Mike, is this bug reproducible with test WKWebView and Chrome UA?
Yes, I can cause the failure in WKWebView test app using Chrome's UA.

eugenebut@, Do you think this means that this is a failure of the video player code to detect what type of playback is supported?
It could be a workaround for video playback bug we had in M53 (caused by linking with iOS 9 SDK and fixed in M54). Mike, could you please attach your test WKWebView app to demonstrate the problem. We should let Twitter know about this bug.
Cc: cma...@chromium.org
Claude, should we block M55 release on this? This is Twitter's bug (which we going to escalate in a separate thread), but their website works fine with M54. 
Just to clarify, this is broken currently in M54. (It could be twitter or huffingtonpost website causing the problem.)
Labels: -ReleaseBlock-Stable
Thanks! Then there is no need to block M55 then.
Status: ExternalDependency (was: Assigned)
We let Twitter know about this bug.
I agree eugene.
I've attached a sample app which demonstrates this problem.
i664949.zip
30.5 KB Download
Cc: mard...@chromium.org
Status: Fixed (was: ExternalDependency)
Seems to be fixed on stable from the Twitter side.
Cc: jasonkliu@chromium.org
Status: Verified (was: Fixed)
Verified fixed on 57.0.2942.0dev on Iphone7Plus iOS10.2

Sign in to add a comment