Forum Sitebox @font-face fails to load

Discussion and help relating to the PlayerIO webpage and Facebook app hosting solution, Sitebox.

@font-face fails to load

Postby JaWapa » January 31st, 2015, 3:32 pm

When using @font-face in CSS it fails to load the font. When I looked at the console I got this error:

Font from origin 'http://playerio-a.akamaihd.net' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://test1-tssp1bzja0gbk3ygcmsnfq-yahoo.siteboxhost.com' is therefore not allowed access.
JaWapa
 
Posts: 5
Joined: November 3rd, 2013, 4:21 am

Re: @font-face fails to load

Postby JaWapa » February 5th, 2015, 5:07 pm

.
JaWapa
 
Posts: 5
Joined: November 3rd, 2013, 4:21 am

Re: @font-face fails to load

Postby lrussell887 » February 6th, 2015, 2:40 am

An exception for .eot, .woff, .woff2, and .ttf files would fix this.
Or, the Access-Control-Allow-Origin header would ideally need to be set.
lrussell887
 
Posts: 5
Joined: September 27th, 2012, 1:31 am

Re: @font-face fails to load

Postby passban » March 18th, 2015, 11:48 am

Since my other post in the Pauvault forum, is this statement still true ?
It's very important to me, since my game will be used on iOS/Android and Facebook.

____________________________________
Pass your spanish programs and in first try by using our guaranteed and best quality spanishprograms - spanish classes boston If you are looking for fast success in German.about then join today to find complete testking and pass passguide on first try. A person can pick surfacelanguages
passban
 
Posts: 1
Joined: March 18th, 2015, 9:11 am


Return to Sitebox