• Resolved robdw84

    (@robdw84)


    The plugin doesn’t work because the plugin won’t allow CORS.

    I am working in a localhost environment however no matter what I do I cannot stop getting the error…

    No ‘Access-Control-Allow-Origin’ header is present

    In addition no fiddling with header settings in php or apache seems to resolve the issue.

    https://wordpress.org/plugins/yourchannel/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author plugin.builders

    (@pluginbuilders)

    Hi, I’ve never seen such error, nor has any user reported it till now. The plugin does allow CORS – in fact, it cannot work without CORS, since it uses YouTube API.

    What browser are you using? Is it below IE8?

    Thread Starter robdw84

    (@robdw84)

    It’s Chrome on a Mac OS X.

    It’s possible it could be a local server set up issue. However I’d appreciate it if you took a look.

    I’ve seen this error occur before on similar applications and the solution has been to use jsonp or edit the headers.

    Plugin Author plugin.builders

    (@pluginbuilders)

    Does this demo page work in your browser? Just to make sure it’s not a conflict with some other script on your website.

    Thread Starter robdw84

    (@robdw84)

    Yep that works fine. I pretty much installed the plugin in a vanilla WordPress set up. Just so I could test it.

    Have I missed a dependency or something?

    Plugin Author plugin.builders

    (@pluginbuilders)

    It only needs jQuery, which your theme most probably has. Do you have a live webpage, when are you going live? I’d like to see it.

    Thread Starter robdw84

    (@robdw84)

    Maybe there is something I’ve missed.

    It’s not a major problem. I’ll let you know if I find a solution.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘No 'Access-Control-Allow-Origin' header is present’ is closed to new replies.