frankyghost / projekktor

The Free Web Video Player
194 stars 75 forks source link

m4a seems to fall back to flash when using setFile() #1

Closed sml-khamilton closed 11 years ago

sml-khamilton commented 11 years ago

I have an .m4a audio file which plays 'correctly' in chrome if I hard code it into the playlist in the projekktor config. If I use the setFile() function however, it seems to fall back to flash, and doesn't play at all (which is probably a separate issue)

here's a sample debug output:

when hardcoded: 0: "Update: 'state" 1: "http://myserver.local/Asha.m4a" 2: "AUDIO" 3: "PLAYING"

when using setFile() 0: "Update: 'state" 1: "http://myserver.local/Asha.m4a" 2: "AUDIOFLASH" 3: "PLAYING"

(I don't want to make this message painfully long, so if you need more info please let me know)

frankyghost commented 11 years ago

Thx for reporting this. Will try to reproduce it. Please stay tuned.

sml-khamilton commented 11 years ago

setting mp4 and m4a to video/mp4 seems to fix this issue.