Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (settings && settings->needsSiteSpecificQuirks() && m_dispatchingCanPlayEvent && !m_loadInitiatedByUserGesture) {
- // It should be impossible to be processing the canplay event while handling a user gesture
- // since it is dispatched asynchronously.
- ASSERT(!isUserGesture);
- String host = doc->baseURL().host();
- if (host.endsWith(".npr.org", false) || equalIgnoringCase(host, "npr.org"))
- return;
- }
- playInternal();
Add Comment
Please, Sign In to add comment