derpicated / dynamic_network_of_speakers

Dynamic Network of Speakers with MQTT
http://derpicated.github.io/dynamic_network_of_speakers/website/
MIT License
7 stars 1 forks source link

font not loading on other browsers #16

Closed idelsink closed 8 years ago

idelsink commented 8 years ago

Originally reported by: Ingmar Delsink (Bitbucket: IDelsink, GitHub: Unknown)


website fonts not loading on other websites than Chrome


idelsink commented 8 years ago

Original comment by Ingmar Delsink (Bitbucket: IDelsink, GitHub: Unknown):


The location of the font is 'ok' for the project to function. That Firefox won't load from the local filesystem is understandable, but sad.

Other browsers can handle this correctly.

idelsink commented 8 years ago

Original comment by Ingmar Delsink (Bitbucket: IDelsink, GitHub: Unknown):


The font didn't load on FireFox. The issue here is that for a page loaded from a file:// URI, only files in (or below) the same directory of the filesystem are considered to be "same origin", and so putting the font in a different subtree (../font/) means it will be blocked by security policy restrictions.

Notes:

Bug repport: https://bugzilla.mozilla.org/show_bug.cgi?id=760436