RESOLVED FIXED 160178
[iPhone] Playing a video on tudou.com plays only sound, no video
https://bugs.webkit.org/show_bug.cgi?id=160178
Summary [iPhone] Playing a video on tudou.com plays only sound, no video
Myles C. Maxfield
Reported 2016-07-25 16:45:05 PDT
[iPhone] Playing a video on tudou.com plays only sound, no video
Attachments
Patch (48.60 KB, patch)
2016-07-25 16:54 PDT, Myles C. Maxfield
mitz: review+
Patch for committing (48.66 KB, patch)
2016-07-26 11:56 PDT, Myles C. Maxfield
no flags
Myles C. Maxfield
Comment 1 2016-07-25 16:45:31 PDT
*** Bug 160176 has been marked as a duplicate of this bug. ***
Myles C. Maxfield
Comment 2 2016-07-25 16:54:57 PDT
Myles C. Maxfield
Comment 3 2016-07-25 16:55:41 PDT
Eric Carlson
Comment 4 2016-07-26 07:29:41 PDT
Comment on attachment 284546 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=284546&action=review This looks generally fine to me, but you will need to get an official r+ from a WK2 reviewer. > LayoutTests/media/video-webkit-playsinline.html:22 > + run('internals.settings.setInlineMediaPlaybackRequiresPlaysInlineAttribute(' + requiresPlaysInline + ')'); Nit: I think this would be easier to use if you used a template literal, e.g.: run(`internals.settings.setInlineMediaPlaybackRequiresPlaysInlineAttribute(${requiresPlaysInline})`); > LayoutTests/media/video-webkit-playsinline.html:27 > + run('video.' + (hasWebkitPlaysInline ? 'set' : 'remove') + 'Attribute("webkit-playsinline", "")'); Ditto: run(`video.${hasWebkitPlaysInline ? 'set' : 'remove'}Attribute("webkit-playsinline", "")`);
Myles C. Maxfield
Comment 5 2016-07-26 11:56:11 PDT
Created attachment 284612 [details] Patch for committing
Myles C. Maxfield
Comment 6 2016-07-26 16:38:08 PDT
Note You need to log in before you can comment on or make changes to this bug.