video-js custom font not working in Firefox

前端 未结 2 1313
无人共我
无人共我 2021-01-16 06:32

Have a look here with Firefox (I\'ve got 22.0):

http://www.jamhouse.com.au/

You\'ll see that the video-js custom font isn\'t working. Works fine in Chrome.<

2条回答
  •  佛祖请我去吃肉
    2021-01-16 07:23

    I've spent the last 2 hours resolving your issue haha. Ok I've managed to get it working. The problem is in your http://jamhouse.com.au/templates/gk_fest/js/html5/video-js.css

    You link to the fonts via the full path url, but there must be some sort of security thing in place where only Chrome allows it. If you use the relative url to the fonts they will appear. I've just tried this now by saving your page locally and altering the font links in the css and now it works. Give that a try.

提交回复
热议问题