有机玻璃是什么| 乐话提醒业务是什么意思| 儿童节吃什么| 随波逐流是什么意思| 彩礼什么时候给女方| 河东狮吼什么意思| 点心是什么意思| vogue是什么牌子| 黑卡是什么意思| 阿胶烊化是什么意思| acl是什么意思| 2002年五行属什么命| 吃了安宫牛黄丸要禁忌什么不能吃| 胆汁反流性胃炎吃什么药| prl是什么意思| 舌苔厚发白是什么原因| 打嗝是什么毛病| 鸡心为什么不建议吃| 司马懿字什么| 红褐色是什么颜色| 内分泌失调是什么症状| 副脾对身体有什么影响| 6月24什么星座| 三点水一个高念什么| 唐氏综合征是什么原因造成的| 阑尾炎可以吃什么水果| 去三亚需要什么证件| 同舟共济是什么意思| 肚子疼拉稀是什么原因| 一什么阳光填量词| 经常便秘吃什么| 简历照片用什么底色| 榻榻米床垫什么材质的好| 药占比什么意思| 河童是什么| qp是什么牌子| 什么是全脂牛奶| 淋巴滤泡增生用什么药能彻底治愈| 预警是什么意思| 蟠桃为什么是扁的| 吃亚麻籽有什么好处| 什么样的充电宝能带上飞机| 2026年是什么命| 肠胃感冒吃什么食物| 胃窦是什么| 9月份什么星座| 同舟共济什么意思| 舌头紫色是什么原因| au999是什么意思| 股票融是什么意思| 罗勒是什么| 红馆是什么地方| 哕是什么意思| 不丹为什么不跟中国建交| 怀孕了挂什么科| 手心出汗是什么原因| 爱出者爱返福往者福来是什么意思| 脚上有水泡是什么原因| 梦见儿子拉屎是什么意思| 相位是什么意思| 潮吹是什么感觉| 同房出血是什么原因| 腹泻吃什么药最有效| 虬角为什么要染成绿色| 毛宁和毛阿敏是什么关系| 两岁宝宝坐飞机需要什么证件| 其实不然是什么意思| 什么是平舌音什么是翘舌音| 休克是什么| 真露酒属于什么酒| 清茶是什么茶| 脸黑的人适合穿什么颜色的衣服| 为什么会莫名其妙的哭| 头上长痘痘是什么原因| 促销是什么意思| 白带什么味道| 为什么合欢树又叫鬼树| dsa检查是什么| 什么减肥药效果最好而且不反弹| 大圣归来2什么时候上映| 甘油三酯高是什么原因| 芋圆是什么做的| 周杰伦有什么病| 子宫下垂吃什么药| 安瓶是什么| 血竭是什么东西| pfs是什么意思| 孙尚香字什么| 生殖器疱疹吃什么药| 初级会计考什么科目| 症候群什么意思| 医院查怀孕做什么检查| 张五行属什么| 结节有什么症状| 浛是什么意思| 这个季节种什么菜合适| 三净肉指什么| 来月经喝什么好| 为什么孩子要跟爸爸姓| 跑团什么意思| 胎盘后壁是什么意思| 女性肠痉挛有什么症状| 木是什么意思| 12月26日是什么星座| 心房纤颤是什么意思| 母公司是什么意思| 什么是免疫组化| pc什么意思| 高尿酸血症是什么病| 总梦到一个人说明什么| 人参果长什么样| 脚肿是什么原因| 家里出现蜈蚣是什么预兆| 蛋白尿是什么意思| dha是补什么的| 公知是什么意思| 导管是什么| 老年人缺钾吃什么好| 鹿米念什么| 孕妇便秘吃什么| 轻生什么意思| 高贵的什么| 蜈蚣咬了用什么药| tct是什么意思| panadol是什么药| 记吃不记打的下一句是什么| 无性恋什么意思| 人肉搜索是什么意思| 血色素低吃什么补得快| 当归有什么功效| 8月15是什么星座| 红领巾的含义是什么| 副处长是什么级别| 新生儿血糖低是什么原因| 图灵测试是什么| 花中隐士是什么花| 副师级是什么军衔| 肝郁症是什么病| 调岗是什么意思| 奶昔是什么| 脑炎是什么原因引起的| 脂肪最怕什么| 什么人会得免疫性脑炎| 乌龟吃什么食物| 四点水的字与什么有关| 为什么六月腊月不搬家| 多吃海带有什么好处和坏处| 解酒喝什么饮料| babycare是什么牌子| 后背发凉是什么原因| 搬家下雨是什么兆头| 血糖高喝什么豆浆好| 11是什么意思| 膀胱炎是什么症状| 为什么总是耳鸣| 眉目的比喻义是什么| 梦见蛇缠身是什么预兆| 催乳素过高是什么原因| 521代表什么含义| 09年的牛是什么命| 车震什么意思| 1月30号是什么星座| 咖啡有什么作用| 吃什么增加血小板| 喉咙痛吃什么消炎药| 包皮开裂用什么药| 18岁属什么生肖| 做梦梦见考试是什么意思| 滇红是什么茶| 寿终正寝是什么意思| 慢性肾功能不全是什么意思| 阳痿早泄用什么药| 眼睛干涩疼痛用什么滴眼液好| 一个既一个旦念什么| 臭虫长什么样子图片| 腰椎间盘突出压迫神经吃什么药| 头部容易出汗是什么原因| 脂溢性皮炎用什么药膏| 红曲红是什么东西| 孕妇什么东西不能吃| 父亲节什么时间| 什么瓜不能吃| 什么符号| 伏案工作是什么意思| 被孤立的一般是什么人| 喝茶水对身体有什么好处| 夏至吃什么传统美食| 喝红枣水有什么好处和坏处| 谣言是什么意思| 梦见红鞋子是什么意思| 哀莫大于心死什么意思| 介入是什么意思| 尿蛋白2十吃什么药| 耷拉是什么意思| 1930年属什么生肖| 优字五行属什么| 邓超的老婆叫什么名字| 格拉苏蒂手表什么档次| 肺纤维化是什么症状| 除氯是什么意思| 万加一笔是什么字| 吃冰糖有什么好处和坏处| 脚麻木是什么病的前兆| 舌尖麻是什么原因| 梦见生男孩是什么征兆| 做梦搬家是什么意思| 甲状腺与甲亢有什么区别| 左胸疼什么原因| 妊娠状态是什么意思| cpi下降意味着什么| 眼前有亮光闪是什么问题| 重度肠化是什么意思| 办护照需要什么证件| 雅戈尔男装什么档次| 丹参是什么样子| 腰疼不能弯腰是什么原因引起的| 为什么胸会痛| 6月29日什么星座| 什么的教室填空| 七月一号是什么节| 月经推后是什么原因| 刚刚怀孕有什么症状| 骨折和骨裂有什么区别| 念旧的人是什么样的人| 天哭星是什么意思| 农历5月20日是什么星座| 恨铁不成钢什么意思| 文王卦是什么意思| 春代表什么生肖| 情系是什么意思| 因数是什么意思| 没心没肺是什么意思| 决心是什么意思| 鼻咽炎有什么症状| 钾血症是什么病| 诱惑是什么意思| 血糖高吃什么水果好能降糖| 法不传六耳什么意思| 头上汗多是什么原因| 什么店可以买到老鼠药| 鸦雀无声是什么意思| 玉米不能和什么食物一起吃| 栀子花叶子发黄是什么原因| 心仪什么意思| 手机为什么没信号| 确幸是什么意思| 牙龈肿痛吃什么药好得快| 东风破是什么意思| 变节是什么意思| 22年属什么生肖| 坐骨神经痛挂什么科| 肝不好应该吃什么| 百合和什么一起煮可以治失眠| 西红柿什么时候吃最好| 什么是玻尿酸| 热痱子用什么药| 痛风能喝什么酒| 泪点低什么意思| 放量十字星是什么意思| vivo是什么牌子| 夜长梦多是什么意思| 酗酒什么意思| 神经外科是看什么病的| vfu是什么牌子| 百度

《我是大侦探》首播 “头脑的演技”震撼荧屏

Video.js Guides

百度 就我们的判断来看,此次试探性的征收关税后将有一段时间的协商、谈判,而不会立刻升级。

These guides cover a range of topics for users of Video.js

Languages

Video.js includes localization support to present text in a language other than the default English where appropriate.

For an up-to-date list of the languages Video.js supports, see the languages folder (lang). Some translations may be less complete than others - see the translations needed doc for a table of strings that are missing from the translations available. Contributions are welcome to update those that are incomplete.

Using Video.js Languages

Video.js ships with multiple translations (in dist/lang/) in JavaScript files. Add the lang script for each language you need to support. Each of these files can be included in a web page to provide support for that language in all Video.js players:

<script src="//example.com/path/to/video.min.js"></script>
<script src="//example.com/path/to/lang/es.js"></script>

Contributing to Video.js Translations

We welcome new translations and improvements to existing ones! Please see the contributing document to get started contributing to Video.js and continue reading for specifics on how to contribute to translations of Video.js.

JSON Format

Video.js uses a JSON object to describe a language, where the keys are English and the values are the target language. For example, a Spanish translation might look like this:

{
  "Play": "Reproducción",
  "Pause": "Pausa",
  "Current Time": "Tiempo reproducido",
  "Duration": "Duración total",
  "Remaining Time": "Tiempo restante",
}

File Naming

Translations are found in the lang/ directory.

Each file's name should be the standard language code that is most appropriate, with a .json extension. For example, "es.json" for Spanish or "zh-CN.json" for simplified Chinese.

Updating an Existing Translation

If there is a missing translation, mistake, or room for improvement in an existing translation, don't hesitate to open a pull request!

  1. Edit the relevant JSON file and make the necessary changes.
  2. Verify the language compiles by running the language specific build npm run build:lang or the full build npm run build.
  3. Verify the translation appears properly in the player UI.
  4. Run npm run docs:lang to update the missing translation document.
  5. Commit and open a pull request on GitHub.

Writing a New Translation

The process for writing an entirely new translation is virtually identical to the process for updating an existing translation except that the new translation JSON file needs to be created.

The template for new language files is the English file (lang/en.json). This file is always up-to-date with strings that need translations.

The first step to writing a new translation is to copy the English file:

cp lang/en.json lang/${NEW_LANG_CODE}.json

Otherwise, the process is the same as updating an existing translation.

Adding Languages via the API

In addition to the stand-alone scripts provided by Video.js, the API supports manual definition of new languages via the addLanguage method. It takes two arguments: the standard language code and a language definition object.

videojs.addLanguage('es', {
  Play: 'Reproducción',
  Pause: 'Pausa',
  'Current Time': 'Tiempo reproducido',
  'Duration': 'Duración total',
  'Remaining Time': 'Tiempo restante',
  ...
});

addLanguage() will overwrite existing translations if the object includes strings previously translated. However text that has already been localised will not be updated after generation.

Per-Player Translations

In addition to providing languages to Video.js itself, individual Player instances can be provided custom language support via the languages option:

// Provide a custom definition of Spanish to this player.
videojs('my-player', {
  languages: {
    es: {
      Play: 'Reproducir'
    }
  }
});

Setting Player Language

The language used by a player instance may be set via the language option:

// Set the language to Spanish for this player.
videojs('my-player', {
  language: 'es'
});

The language method of the player can be used to set the language after instantiation with language('es'). However, this is generally not useful as it does not update text that is already in place.

Determining Player Language

The player language is set to one of the following in descending priority:

  • The language specified in options
  • The language specified by a lang attribute on the player element.
  • The language specified by the closest parent element with a lang attribute, up to and including the <html> element.
  • The browser language preference; the first language if more than one is configured
  • English

Internal Language Selection

  • Language codes are considered case-insensitively (e.g. en-US == en-us).
  • If there is no match for a language code with a subcode (e.g. en-us), a match for the primary code (e.g. en) is used if available.

References

For information on translation/localization in plugins, see the plugins guide.

Standard languages codes are defined by the IANA.

For all existing/supported languages, please see the languages folder (lang/) folder located in the project root.

9月3号是什么日子 5月12是什么星座 金代表什么数字 亚硝酸钠是什么 血蛋白低会有什么影响
犬瘟是什么原因引起的 什么人不适合艾灸 牛郎是什么意思 高胆固醇血症是什么病 偶尔耳鸣是什么原因
淤泥是什么意思 神经衰弱吃什么药好 真实的印度是什么样的 红红火火是什么意思 什么饺子馅好吃
羊水少吃什么 ST是什么 清谈是什么意思 太字五行属什么 吃什么瘦肚子
什么什么不动hcv9jop6ns9r.cn 真菌感染脚气用什么药hcv7jop9ns2r.cn 鼻子痒是什么原因bjhyzcsm.com 1959年属什么生肖baiqunet.com 卵巢早衰是什么意思hcv8jop4ns1r.cn
ect是什么hcv8jop1ns9r.cn 违和是什么意思96micro.com 情妇是什么意思hcv8jop7ns2r.cn 炎症用什么药最好chuanglingweilai.com 为什么会有颈纹hcv8jop1ns3r.cn
胆囊肿是什么病严重吗hcv9jop7ns2r.cn 5月6日是什么星座hcv9jop7ns3r.cn 后颈长痘痘是什么原因hcv9jop6ns7r.cn 海阔什么cj623037.com 小姑独处是什么意思hcv8jop9ns0r.cn
人类什么时候出现的hcv8jop0ns9r.cn 二甲双胍是什么药hcv9jop2ns8r.cn 醋酸是什么面料hcv8jop7ns8r.cn 床咚是什么意思啊wuhaiwuya.com 皂基是什么imcecn.com
百度