[wp-trac] [WordPress Trac] #37354: cast-sender.js bug workaround for Youtube embed in Chrome
WordPress Trac
noreply at wordpress.org
Wed Jul 13 13:24:00 UTC 2016
#37354: cast-sender.js bug workaround for Youtube embed in Chrome
-----------------------------+-----------------------------
Reporter: brgweb | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 4.5
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
There is an open issue marked as "wontfix" by Google with youtube embed:
https://code.google.com/p/google-cast-sdk/issues/detail?id=309
When you load it in Chrome it tries to find Chromecast extension. If you
don't have it active, it will trigger a js error that breaks all js codes
after it.
Some people say that the fix in our side would be loading Youtube JS as
the last script in row. But I think that the best answer that I found was
to change the url (http://stackoverflow.com/a/32657793/3851035) when it's
Chrome.
I could not find where is it in the core to test these. If anyone can
point me the right direction I can work in a diff.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37354>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list