-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Youtube/iFrame API Issue #1
Comments
It looks like YouTube has some problem with some embeded videos. I had a video of Lindsey Stirling all month and since this morning, it throws the same error. Can you try with this one and tell me if it works or not for you? For me this one work: I suspect it is a problem from YouTube servers |
Are you still experiencing the problem? |
Yeah it's working fine now. But I'm experiencing another issue. Will post it as a separate topic. |
* Check for videojs.getComponent to ensure the tech can run Trigger the 'loadstart' event in states -1 and YT.PlayerState.ENDED to show the poster Removed extraneous play() in src (since it's called in setSrc anyway) Added cueing/loading of videos when the source is set Allow non-native controls on non-stock Android browsers and stock Android 5+ browsers * Added vjs-tech class to the tech-created div Removed loadstart trigger when video is ended Return the url as a string from currentSrc() * Added missing required tech functions (#1) * Added the seeking() function to the YouTube tech * Added more missing tech functions * Use IS_IOS instead of IS_IPHONE for determining if the device is mobile * Use the YT.ready event instead of window.onYouTubeIframeAPIReady since certain videojs plugins (such as IMA) conflict with this * Removed check for old version of videojs, added setLoop function
I've been getting this error on the console. I tried to google it and it seemed to have something to do with either Youtube or iFrame API:
Unable to post message to http://www.youtube.com. Recipient has origin http://localhost:3000.
www-widgetapi-vflEwv9hv.js:21
Xa www-widgetapi-vflEwv9hv.js:21
W www-widgetapi-vflEwv9hv.js:20
m.addEventListener www-widgetapi-vflEwv9hv.js:20
T www-widgetapi-vflEwv9hv.js:18
Y www-widgetapi-vflEwv9hv.js:22
videojs.Youtube.loadYoutube vjs.youtube.js:33
window.onYouTubeIframeAPIReady vjs.youtube.js:34
(anonymous function) www-widgetapi-vflEwv9hv.js:30
(anonymous function) www-widgetapi-vflEwv9hv.js:31
XMLHttpRequest cannot load http://r3---sn-gjo-2iae.c.youtube.com/videoplayback?burst=40&algorithm=thro…y8DuulTcwc7ci4zPWrKiw&ptchn=joblomovienetwork&pltype=content&range=0-65535. Origin http://www.youtube.com is not allowed by Access-Control-Allow-Origin. cdnoqCViqUo:1
["Video Error", Object]
video.js:19
XMLHttpRequest cannot load http://r3---sn-gjo-2iae.c.youtube.com/videoplayback?burst=40&algorithm=thro…y8DuulTcwc7ci4zPWrKiw&ptchn=joblomovienetwork&pltype=content&range=0-65535. Origin http://www.youtube.com is not allowed by Access-Control-Allow-Origin. cdnoqCViqUo:1
The text was updated successfully, but these errors were encountered: