play() does not work when preload=none and not using the media player proxy.
Created attachment 222358 [details] Proposed patch
Comment on attachment 222358 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=222358&action=review r=me, with nit: > Source/WebCore/html/HTMLMediaElement.cpp:4257 > #if PLATFORM(IOS) > - if (shouldBePlaying && !m_requestingPlay && !m_player->readyForPlayback()) > - shouldBePlaying = false; > - else if (!shouldBePlaying && m_requestingPlay && m_player->readyForPlayback()) > - shouldBePlaying = true; > + if (shouldUseVideoPluginProxy()) { > + if (shouldBePlaying && !m_requestingPlay && !m_player->readyForPlayback()) > + shouldBePlaying = false; > + else if (!shouldBePlaying && m_requestingPlay && m_player->readyForPlayback()) > + shouldBePlaying = true; > + } > #endif Could this #if PLATFORM(IOS) be replaced by #if ENABLE(PLUGIN_PROXY_FOR_VIDEO)?
Committed r162870: https://trac.webkit.org/r162870