tunapanda / funzo-app

Cordova app running ember and h5p
2 stars 3 forks source link

Videos aren't handled properly in Chrome and Safari (works in Firefox) #6

Open usernamenumber opened 8 years ago

usernamenumber commented 8 years ago

If you create a .h5p with embedded video and load it in funzo, the video player just says "video format not supported". If you wget the file's url, the video downloads and is playable, including in the browser, so it's not actually a format problem.

If you load the video's URL by its self in a new tab, the following error is displayed:

Resource interpreted as Document but transferred with MIME type video/mp4: "http://localhost:4200/assets/workspace/content/videos/sources-569e2548c2897.mp4".

Interestingly, this does not occur in Firefox, but does occur in Chrome and Safari.

Jakeii commented 8 years ago

I think this is to do with the very basic http server ember-cli uses, and chrome just doesn't like what its sending, I'll check if it's actually happening in the app (shouldn't be), but this still be useful to fix.