ashishj's avatar

Laracasts videos not playing! (Laravel from Scratch)

Hello. I'm new to laracasts, just subscribed today. However when I try to play videos (Laravel from Scratch series), they just seem to load and then stop. No audio or video. Disabled adblock plus and https everywhere plugins, but videos are still not loading!

0 likes
12 replies
ashishj's avatar

Yes, it does. The video screen appears black and then the loading bar just keeps spinning now. Tried pausing and playing again too. But still not working!

1 like
Ajvanho's avatar

I have the same problems. Laracast videos for me only working in Chrome.

ashishj's avatar

Update: The problem seems to be with only some videos. For 'Laravel from Scratch' series, videos from section 12 (and later videos) do play for me. I browsed a few other series as well and they seem to be playing just fine. The problem is with 'Laravel from Scratch' series, Section 1 to 11. I'm using firefox by the way.

dkortvelyessy's avatar

Hello, they stopped streaming for me on Firefox & Brave a week ago. In Chrome it does show the Payme-Bot if I am not logged in, but it disappears completely as I log in.

So, Chrome does not work either :(

Sinnbeck's avatar

Hit f12 and select the console tab and check for errors.

dkortvelyessy's avatar

Thank you for the hint. It says among other issues:

Access to XMLHttpRequest at 'https://vimeo.com/api/oembed.json?url=https%3A%2F%2Fvimeo.com%2F425602354&id=425602354&speed=true&autoplay=true&width=997&height=623&responsive=true&color=00b1b3' from origin 'https://laracasts.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

player.js:2 GET https://vimeo.com/api/oembed.json?url=https%3A%2F%2Fvimeo.com%2F425602354&id=425602354&speed=true&autoplay=true&width=997&height=623&responsive=true&color=00b1b3 net::ERR_FAILED

player.js:2 Uncaught (in promise) Error: There was an error fetching the embed code from Vimeo. at XMLHttpRequest.o.onerror (player.js:2)

I wonder where the issue might comes from, as I was able to view all videos just fine just about a few days ago. brave is currently my go-to browser and I tried it with a newly installed Firefox and Chorme. Same result.

Cheers, Daniel

dkortvelyessy's avatar

ok. it ssems that my router was not up to date and for some reason that interfered with the vimeo conection. Update installed and now it's all day laracast again :D

Cheers, Daniel

awiibowo's avatar

I also have the same problem. I've opened laracast on both firefox and chrome. But no video appears

1 like
basilpjoy's avatar

I am also facing the same problem now. When I inspect the page on the console, it shows an error saying that "There was an error fetching the embed code from Vimeo." It was working 2 days before.

ujwal's avatar

Same problem for me. Youtube videos run in 1080p with no problem. But laracasts videos are not playing.

Please or to participate in this conversation.