-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=105224 Patch by Wei Jia <wjia@chromium.org> on 2013-01-23 Reviewed by Eric Carlson. Source/WebCore: Enable autoplay when <video>'s src is from media stream. This would avoid requesting multiple gestures when <video> is used for WebRTC. The test is done by modifying platform/chromium/media/video-capture-preview.html. * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::loadResource): LayoutTests: Always turns on mediaPlaybackRequiresUserGesture at the beginning. HTMLMediaElement is supposed to turn it off when <video>'s src is from media stream. * platform/chromium/media/video-capture-preview.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a223a262