logo Search
logo Search
Icon

Get Started

Icon

Configuration

Setting Menu

Configuration

Natie HTML5 Subtitles in Mozilla Firefox

To apply subtitles to the video player, add a slot for tracks and insert HTML5 textTracks. Make sure to set the label and srclang.

<Nekoma Subtitles>
	<slot slot="subtitles">
		<track kind="subtitles" src="/subtitles/English.vtt" label="English" srclang="en" />
		<track kind="subtitles" src="/subtitles/Russian.vtt" label="Russian" srclang="ru" />
	</slot>
</Nekoma>

When the Subtitles option is enabled, a subtitles iten will appear in the settings menu. This subtitles item open it’s own menu generated by a built-in script.

If a settings icon doesn’t show up, you haven’t set one up. So setup a quick blank one:

<Nekoma
  Settings={[{"Type": "Button","Name": "","Action": "null"}}
/>