Embedding YouTube video.
See original GitHub issueI have difficulties playing an embedded video, the error I get is An error occurred, please try again later.
. This error is shown after clicking the “play” button on the video. One more thing is that the video background (the preview image) is completely black too.
Here’s the console log:
[28334:0903/093637:INFO:CONSOLE(0)] "XMLHttpRequest cannot load chrome-extension://boadgeojelhgndaghljhdicfkmllpafd/cast_sender.js. Cross origin requests are only supported for HTTP.", source: https://www.youtube.com/embed/undefined?html5=0 (0)
[28334:0903/093637:INFO:CONSOLE(0)] "XMLHttpRequest cannot load chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm/cast_sender.js. Cross origin requests are only supported for HTTP.", source: https://www.youtube.com/embed/undefined?html5=0 (0)
[28334:0903/093637:INFO:CONSOLE(0)] "XMLHttpRequest cannot load chrome-extension://hfaagokkkhdbgiakmmlclaapfelnkoah/cast_sender.js. Cross origin requests are only supported for HTTP.", source: https://www.youtube.com/embed/undefined?html5=0 (0)
[28334:0903/093637:INFO:CONSOLE(0)] "XMLHttpRequest cannot load chrome-extension://fmfcbgogabcbclcofgocippekhfcmgfj/cast_sender.js. Cross origin requests are only supported for HTTP.", source: https://www.youtube.com/embed/undefined?html5=0 (0)
[28334:0903/093637:INFO:CONSOLE(0)] "XMLHttpRequest cannot load chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/cast_sender.js. Cross origin requests are only supported for HTTP.", source: https://www.youtube.com/embed/undefined?html5=0 (0)
[28334:0903/093637:INFO:CONSOLE(184)] "Uncaught ReferenceError: chrome is not defined", source: https://s.ytimg.com/yts/jsbin/www-embed-player-vflhH34Cp/www-embed-player.js (184)
[28334:0903/093637:INFO:CONSOLE(140)] "Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/cast_sender.js'.", source: https://s.ytimg.com/yts/jsbin/www-embed-player-vflhH34Cp/www-embed-player.js (140)
What is this chrome-extension://.../cast_sender.js
? Is it the root of the problem?
Related question on SO: http://stackoverflow.com/questions/25622310/node-webkit-and-youtube-chrome-is-not-defined.
<bountysource-plugin>
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>
Issue Analytics
- State:
- Created 9 years ago
- Comments:31 (9 by maintainers)
Top Results From Across the Web
How to Embed Youtube Videos: A Step-by-Step Guide
Go to the YouTube page, select a video, and click on the 'Share' option that is displayed below. Here you'll find the; 'Embed'...
Read more >How to Embed a YouTube Video: A Quick Tutorial - wikiHow
1. Go to https://www.youtube.com on a computer. You'll need to be using YouTube on a computer to get the embed code for your...
Read more >HTML YouTube Videos - W3Schools
Playing a YouTube Video in HTML · Upload the video to YouTube · Take a note of the video id · Define an...
Read more >Embed YouTube Video || 100% Free, No Signup | Add Videos
In your browser, go to the YouTube video that you want to embed. · Under the video, click Share . · Click the...
Read more >YouTube Embedded Players and Player Parameters
Follow the IFrame Player API instructions to insert a video player in your web page or application after the Player API's JavaScript code...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@adam-lynch The builtin ffmpeg only contains royalty free codecs. See http://docs.nwjs.io/en/latest/For Developers/Enable Proprietary Codecs/ for the list of supported codecs in builtin ffmpeg. We couldn’t ship ffmpeg with proprietary codecs due to legal issues. So you have to get ffmpeg libraries from community or build yourself if you are eligible to use them in your app.
Forgot to say thanks @ghostoy 👍