字体

  抱歉,这篇文章有英文版

With PRO you can use any custom fonts for text interface elements. Just specify the name of the font that is used on your page. You can also specify a global font for all labels in the player in the Fonts plugin settings.

The system fonts (Arial, Helvetica, Times, etc.) are already in the browser, others need to be enabled. Non-standard fonts can be connected in two ways:

Google Fonts is a large library of free fonts. There you can select the desired fonts, weight, style and specify their names separated by commas in the Plugin / Fonts / Google Fonts

You can look an examples of using custom fonts in these video and audio templates.

  

Font weight

Fonts has different weight. If you want to use Open Sans 700, specify the font name in the plugin settings as follows:

Open Sans:wght@700

Specify the name of the font without weight in the element settings Open Sans

Weight is indicated separately.

How to use any other fonts

You can use other font - just connect it manually on your website using CSS. You can convert a regular font file to a web format (woff, eot, etc.) using various online services that are easy to find on the web on request web font converter

You can also get ready-made CSS code there, for example

@font-face {
   font-family: "Myfont";
   src: url("font.woff2") format("woff2"),
        url("font.woff") format("woff");
   font-weight: normal;
   font-style: normal;
}

This font in your styles will have the name Myfont - it should be specified in the player settings.


20.0.6
2024 © PlayerJS

登录

登录

免费注册

注册
注册即表示您同意服务条款
登录(如果您有帐户)

恢复密码

恢复
忘记电子邮件?联系我们