[
https://issues.apache.org/jira/browse/CB-11025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Busch updated CB-11025:
------------------------------
Description:
When I inject a YouTube {{<iframe>}} and absorb it with a YT.Player object, the
YouTube video does not load and I get the following message in the browser
JavaScript console:
{{Unable to post message to https://www.youtube.com. Recipient has origin
file://.}}
I've tried the exact same code with Cordova 5.4.1 and it works, but fails for
both 6.0.0 and 6.1.1. Issue is restricted to iOS.
was:
When I inject a YouTube {{<iframe>}} and absorb it with a YT.Player object, the
YouTube video does not load and I get the following message in the browser
JavaScript console:
{{https://www.google.com.au/search?client=safari&rls=en&q=Unable+to+post+message+to+https://www.youtube.com.+Recipient+has+origin+file://.&ie=UTF-8&oe=UTF-8&gfe_rd=cr&ei=DU8EV_f6Fqnu8wfVhIHYDg}}
I've tried the exact same process with 5.4.1 and it works, but fails for both
6.0.0 and 6.1.1. Issue is restricted to iOS.
> YouTube API failing on iOS
> --------------------------
>
> Key: CB-11025
> URL: https://issues.apache.org/jira/browse/CB-11025
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaCommon, iOS
> Affects Versions: 6.0.0
> Reporter: Andrew Busch
>
> When I inject a YouTube {{<iframe>}} and absorb it with a YT.Player object,
> the YouTube video does not load and I get the following message in the
> browser JavaScript console:
> {{Unable to post message to https://www.youtube.com. Recipient has origin
> file://.}}
> I've tried the exact same code with Cordova 5.4.1 and it works, but fails for
> both 6.0.0 and 6.1.1. Issue is restricted to iOS.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]