Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


HTML5 Video, with Javascript to change source, not loading on Safari, fine on Chrome.

Good Afternoon,

I am currently working on a site that has a full page video background that changes video using javascript at the end of each video. It works perfectly on chrome or Firefox, however it just won't load the videos on Safari, it stays blank. When I look at resources in inspector, all I see is "An error occurred trying to load the resource".

Site - http://www.kingsarmspentyrch.co.uk

Any help would be extremely appreciated as it is driving me nuts!



1 Answer

Jason Anders
Jason Anders
Treehouse Moderator 145,858 Points

Hey Dave,

I do remember reading somewhere that in order for HTML5 Video to work in Safari, you need to have QuickTime installed.

This could be the problem as I tried your site in Firefox, Chrome and Safari and the video played fine in all 3. (I have QuickTime installed and am using a Mac).

Hope that helps. :)