I am using WordPress 3.6.1 and jQuery fancyBox for display YouTube videos but I am getting this error:
XMLHttpRequest cannot load http://www.youtube.com/embed/L9szn1QQfas?autoplay=1. Origin http://localhost is not allowed by Access-Control-Allow-Origin
I have tried this tutorial How to Enable cors in WordPress but not helpful for me.
Can someone guide to solve this issue.