When plugin snapshotting is enabled, a snapshot of the plugin is displayed until the user clicks on the plugin. However, on some sites such as cnn.com, use an image element as a placeholder for a video and replace the image with the video when the user clicks on it. In such instances, plugin snapshotting results in the user having to click twice to watch the video. This is undesirable. Hence, plugins should start automatically when created within a user gesture, even if snapshotting is enabled.
Created attachment 169512 [details] Patch
<rdar://problem/12482210>
Have you been able to test this? I am not a reviewer, but I give it an unofficial r+.
(In reply to comment #3) > Have you been able to test this? > > I am not a reviewer, but I give it an unofficial r+. Yes, I tested using cnn.com, which tends to have a "Click to Play" image element in the center, like you showed before. The video started playing right after I clicked the image, without the interim plugin snapshot.
Comment on attachment 169512 [details] Patch Clearing flags on attachment: 169512 Committed r131857: <http://trac.webkit.org/changeset/131857>
All reviewed patches have been landed. Closing bug.