Skip to content

Commit

Permalink
feat: Add video player section (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
Secozzi authored Dec 8, 2023
1 parent 1ceaa68 commit 600df00
Show file tree
Hide file tree
Showing 14 changed files with 443 additions and 4 deletions.
12 changes: 11 additions & 1 deletion website/src/.vitepress/config/navigation/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,17 @@ function defaultSidebar(): DefaultTheme.SidebarItem[] {
text: "Player settings",
link: "/docs/guides/player-settings",
},

{
text: "Video player",
link: "/docs/guides/video-player/",
collapsed: true,
items: [
{
text: "Audio and subtitle settings",
link: "/docs/guides/video-player/audio-and-subtitle-settings",
}
]
},
{
text: "Shizuku",
link: "/docs/guides/shizuku",
Expand Down
3 changes: 2 additions & 1 deletion website/src/.vitepress/config/shortcodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const iconMappings = {
informationOutline: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z" /></svg>',
labelOutline: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16,17H5V7H16L19.55,12M17.63,5.84C17.27,5.33 16.67,5 16,5H5A2,2 0 0,0 3,7V17A2,2 0 0,0 5,19H16C16.67,19 17.27,18.66 17.63,18.15L22,12L17.63,5.84Z" /></svg>',
paletteOutline: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2C17.5,2 22,6 22,11A6,6 0 0,1 16,17H14.2C13.9,17 13.7,17.2 13.7,17.5C13.7,17.6 13.8,17.7 13.8,17.8C14.2,18.3 14.4,18.9 14.4,19.5C14.5,20.9 13.4,22 12,22M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C12.3,20 12.5,19.8 12.5,19.5C12.5,19.3 12.4,19.2 12.4,19.1C12,18.6 11.8,18.1 11.8,17.5C11.8,16.1 12.9,15 14.3,15H16A4,4 0 0,0 20,11C20,7.1 16.4,4 12,4M6.5,10C7.3,10 8,10.7 8,11.5C8,12.3 7.3,13 6.5,13C5.7,13 5,12.3 5,11.5C5,10.7 5.7,10 6.5,10M9.5,6C10.3,6 11,6.7 11,7.5C11,8.3 10.3,9 9.5,9C8.7,9 8,8.3 8,7.5C8,6.7 8.7,6 9.5,6M14.5,6C15.3,6 16,6.7 16,7.5C16,8.3 15.3,9 14.5,9C13.7,9 13,8.3 13,7.5C13,6.7 13.7,6 14.5,6M17.5,10C18.3,10 19,10.7 19,11.5C19,12.3 18.3,13 17.5,13C16.7,13 16,12.3 16,11.5C16,10.7 16.7,10 17.5,10Z" /></svg>',
player: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 16.5L16.5 12L9.5 7.5V16.5ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z" /></svg>',
queryStats: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="m105-233-65-47 200-320 120 140 160-260 109 163q-23 1-43.5 5.5T545-539l-22-33-152 247-121-141-145 233ZM863-40 738-165q-20 14-44.5 21t-50.5 7q-75 0-127.5-52.5T463-317q0-75 52.5-127.5T643-497q75 0 127.5 52.5T823-317q0 26-7 50.5T795-221L920-97l-57 57ZM643-217q42 0 71-29t29-71q0-42-29-71t-71-29q-42 0-71 29t-29 71q0 42 29 71t71 29Zm89-320q-19-8-39.5-13t-42.5-6l205-324 65 47-188 296Z"/></svg>',
security: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,12H19C18.47,16.11 15.72,19.78 12,20.92V12H5V6.3L12,3.19M12,1L3,5V11C3,16.55 6.84,21.73 12,23C17.16,21.73 21,16.55 21,11V5L12,1Z" /></svg>',
sync: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,18A6,6 0 0,1 6,12C6,11 6.25,10.03 6.7,9.2L5.24,7.74C4.46,8.97 4,10.43 4,12A8,8 0 0,0 12,20V23L16,19L12,15M12,4V1L8,5L12,9V6A6,6 0 0,1 18,12C18,13 17.75,13.97 17.3,14.8L18.76,16.26C19.54,15.03 20,13.57 20,12A8,8 0 0,0 12,4Z" /></svg>',
Expand Down Expand Up @@ -58,7 +59,7 @@ const navigationMappings: Record<string, Navigation> = {
"browse": { name: "Browse", icon: iconMappings.compassOutline, dependsOn: "settings" },
"security-and-privacy": { name: "Security and privacy", icon: iconMappings.security, dependsOn: "settings" },
"reader": { name: "Reader", icon: iconMappings.bookOpenOutline, dependsOn: "settings" },
"player": { name: "Player", icon: iconMappings.bookOpenOutline, dependsOn: "settings" },
"player": { name: "Player", icon: iconMappings.player, dependsOn: "settings" },
"advanced": { name: "Advanced", icon: iconMappings.codeTags, dependsOn: "settings" },
}

Expand Down
32 changes: 32 additions & 0 deletions website/src/.vitepress/theme/components/ColorTag.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<script setup lang="ts">
defineProps<{ title: string; color: string }>()
</script>

<template>
<span class='color-tag'>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" :fill="color"><rect width="24" height="24" rx="6"/>
</svg>
<span class="name">{{ title }}</span>
</span>
</template>

<style lang="stylus" scoped>
.color-tag {
font-weight: 600
margin-left: 6px
svg,
span.name {
vertical-align: middle // Align both SVG and <span> vertically
position: relative
bottom: 1px
}
svg {
height: 1em
width: 1em
display: inline-block
margin-right: 4px
}
}
</style>
152 changes: 152 additions & 0 deletions website/src/.vitepress/theme/components/TitleIcon.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
<script setup lang="ts">
defineProps<{ name: string }>()
const paths = {
episode_list: [
{
d: 'M10,6L8.59,7.41 13.17,12l-4.58,4.59L10,18l6,-6z',
fill: 'var(--vp-c-text-1)'
}
],
back_arrow: [
{
d: 'M20,11H7.83l5.59,-5.59L12,4l-8,8 8,8 1.41,-1.41L7.83,13H20v-2z',
fill: 'var(--vp-c-text-1)'
}
],
autoplay: [
{
d: 'M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z',
fill: 'var(--vp-c-text-1)'
},
{
d: 'M8.15094 7.24528H10.8679V16.7547H8.15094V7.24528Z',
fill: '#757780'
},
{
d: 'M13.1321 7.24528H15.8491V16.7547H13.1321V7.24528Z',
fill: '#757780'
}
],
chapters: [
{
d: 'M19,1l-5,5v11l5,-4.5L19,1zM1,6v14.65c0,0.25 0.25,0.5 0.5,0.5 0.1,0 0.15,-0.05 0.25,-0.05C3.1,20.45 5.05,20 6.5,20c1.95,0 4.05,0.4 5.5,1.5L12,6c-1.45,-1.1 -3.55,-1.5 -5.5,-1.5S2.45,4.9 1,6zM23,19.5L23,6c-0.6,-0.45 -1.25,-0.75 -2,-1v13.5c-1.1,-0.35 -2.3,-0.5 -3.5,-0.5 -1.7,0 -4.15,0.65 -5.5,1.5v2c1.35,-0.85 3.8,-1.5 5.5,-1.5 1.65,0 3.35,0.3 4.75,1.05 0.1,0.05 0.15,0.05 0.25,0.05 0.25,0 0.5,-0.25 0.5,-0.5v-1.1z',
fill: 'var(--vp-c-text-1)'
}
],
video_settings: [
{
d: 'M3,6h18v5h2V6c0-1.1-0.9-2-2-2H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h9v-2H3V6z',
fill: 'var(--vp-c-text-1)'
},
{
d: 'M 15 12 L 9 8 L 9 16 Z',
fill: 'var(--vp-c-text-1)'
},
{
d: 'M22.71,18.43c0.03-0.29,0.04-0.58,0.01-0.86l1.07-0.85c0.1-0.08,0.12-0.21,0.06-0.32l-1.03-1.79 c-0.06-0.11-0.19-0.15-0.31-0.11L21.23,15c-0.23-0.17-0.48-0.31-0.75-0.42l-0.2-1.36C20.26,13.09,20.16,13,20.03,13h-2.07 c-0.12,0-0.23,0.09-0.25,0.21l-0.2,1.36c-0.26,0.11-0.51,0.26-0.74,0.42l-1.28-0.5c-0.12-0.05-0.25,0-0.31,0.11l-1.03,1.79 c-0.06,0.11-0.04,0.24,0.06,0.32l1.07,0.86c-0.03,0.29-0.04,0.58-0.01,0.86l-1.07,0.85c-0.1,0.08-0.12,0.21-0.06,0.32l1.03,1.79 c0.06,0.11,0.19,0.15,0.31,0.11l1.27-0.5c0.23,0.17,0.48,0.31,0.75,0.42l0.2,1.36c0.02,0.12,0.12,0.21,0.25,0.21h2.07 c0.12,0,0.23-0.09,0.25-0.21l0.2-1.36c0.26-0.11,0.51-0.26,0.74-0.42l1.28,0.5c0.12,0.05,0.25,0,0.31-0.11l1.03-1.79 c0.06-0.11,0.04-0.24-0.06-0.32L22.71,18.43z M19,19.5c-0.83,0-1.5-0.67-1.5-1.5s0.67-1.5,1.5-1.5s1.5,0.67,1.5,1.5 S19.83,19.5,19,19.5z',
fill: 'var(--vp-c-text-1)'
}
],
settings: [
{
d: 'M9.25 22L8.85 18.8C8.63333 18.7167 8.42916 18.6167 8.2375 18.5C8.04583 18.3833 7.85833 18.2583 7.675 18.125L4.7 19.375L1.95 14.625L4.525 12.675C4.50833 12.5583 4.5 12.4458 4.5 12.3375V11.6625C4.5 11.5542 4.50833 11.4417 4.525 11.325L1.95 9.375L4.7 4.625L7.675 5.875C7.85833 5.74167 8.05 5.61667 8.25 5.5C8.45 5.38333 8.65 5.28333 8.85 5.2L9.25 2H14.75L15.15 5.2C15.3667 5.28333 15.5708 5.38333 15.7625 5.5C15.9542 5.61667 16.1417 5.74167 16.325 5.875L19.3 4.625L22.05 9.375L19.475 11.325C19.4917 11.4417 19.5 11.5542 19.5 11.6625V12.3375C19.5 12.4458 19.4833 12.5583 19.45 12.675L22.025 14.625L19.275 19.375L16.325 18.125C16.1417 18.2583 15.95 18.3833 15.75 18.5C15.55 18.6167 15.35 18.7167 15.15 18.8L14.75 22H9.25ZM11 20H12.975L13.325 17.35C13.8417 17.2167 14.3208 17.0208 14.7625 16.7625C15.2042 16.5042 15.6083 16.1917 15.975 15.825L18.45 16.85L19.425 15.15L17.275 13.525C17.3583 13.2917 17.4167 13.0458 17.45 12.7875C17.4833 12.5292 17.5 12.2667 17.5 12C17.5 11.7333 17.4833 11.4708 17.45 11.2125C17.4167 10.9542 17.3583 10.7083 17.275 10.475L19.425 8.85L18.45 7.15L15.975 8.2C15.6083 7.81667 15.2042 7.49583 14.7625 7.2375C14.3208 6.97917 13.8417 6.78333 13.325 6.65L13 4H11.025L10.675 6.65C10.1583 6.78333 9.67916 6.97917 9.2375 7.2375C8.79583 7.49583 8.39166 7.80833 8.025 8.175L5.55 7.15L4.575 8.85L6.725 10.45C6.64166 10.7 6.58333 10.95 6.55 11.2C6.51666 11.45 6.5 11.7167 6.5 12C6.5 12.2667 6.51666 12.525 6.55 12.775C6.58333 13.025 6.64166 13.275 6.725 13.525L4.575 15.15L5.55 16.85L8.025 15.8C8.39166 16.1833 8.79583 16.5042 9.2375 16.7625C9.67916 17.0208 10.1583 17.2167 10.675 17.35L11 20ZM12.05 15.5C13.0167 15.5 13.8417 15.1583 14.525 14.475C15.2083 13.7917 15.55 12.9667 15.55 12C15.55 11.0333 15.2083 10.2083 14.525 9.525C13.8417 8.84167 13.0167 8.5 12.05 8.5C11.0667 8.5 10.2375 8.84167 9.5625 9.525C8.8875 10.2083 8.55 11.0333 8.55 12C8.55 12.9667 8.8875 13.7917 9.5625 14.475C10.2375 15.1583 11.0667 15.5 12.05 15.5Z',
fill: 'var(--vp-c-text-1)'
}
],
overflow: [
{
d: 'M12,8c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM12,16c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2z',
fill: 'var(--vp-c-text-1)'
}
],
previous: [
{
d: 'M6,6h2v12L6,18zM9.5,12l8.5,6L18,6z',
fill: 'var(--vp-c-text-1)'
}
],
play: [
{
d: 'M8,5v14l11,-7z',
fill: 'var(--vp-c-text-1)'
}
],
pause: [
{
d: 'M6,19h4L10,5L6,5v14zM14,5v14h4L18,5h-4z',
fill: 'var(--vp-c-text-1)'
}
],
next: [
{
d: 'M6,18l8.5,-6L6,6v12zM16,6v12h2V6h-2z',
fill: 'var(--vp-c-text-1)'
}
],
lock: [
{
d: 'M18,8h-1L17,6c0,-2.76 -2.24,-5 -5,-5S7,3.24 7,6v2L6,8c-1.1,0 -2,0.9 -2,2v10c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L20,10c0,-1.1 -0.9,-2 -2,-2zM12,17c-1.1,0 -2,-0.9 -2,-2s0.9,-2 2,-2 2,0.9 2,2 -0.9,2 -2,2zM15.1,8L8.9,8L8.9,6c0,-1.71 1.39,-3.1 3.1,-3.1 1.71,0 3.1,1.39 3.1,3.1v2z',
fill: 'var(--vp-c-text-1)'
}
],
rotate: [
{
d: 'M16.48,2.52c3.27,1.55 5.61,4.72 5.97,8.48h1.5C23.44,4.84 18.29,0 12,0l-0.66,0.03 3.81,3.81 1.33,-1.32zM10.23,1.75c-0.59,-0.59 -1.54,-0.59 -2.12,0L1.75,8.11c-0.59,0.59 -0.59,1.54 0,2.12l12.02,12.02c0.59,0.59 1.54,0.59 2.12,0l6.36,-6.36c0.59,-0.59 0.59,-1.54 0,-2.12L10.23,1.75zM14.83,21.19L2.81,9.17l6.36,-6.36 12.02,12.02 -6.36,6.36zM7.52,21.48C4.25,19.94 1.91,16.76 1.55,13L0.05,13C0.56,19.16 5.71,24 12,24l0.66,-0.03 -3.81,-3.81 -1.33,1.32z',
fill: 'var(--vp-c-text-1)'
}
],
fullscreen: [
{
d: 'M7,14L5,14v5h5v-2L7,17v-3zM5,10h2L7,7h3L10,5L5,5v5zM17,17h-3v2h5v-5h-2v3zM14,5v2h3v3h2L19,5h-5z',
fill: 'var(--vp-c-text-1)'
}
],
pip: [
{
d: 'M19,11h-8v6h8v-6zM23,19L23,4.98C23,3.88 22.1,3 21,3L3,3c-1.1,0 -2,0.88 -2,1.98L1,19c0,1.1 0.9,2 2,2h18c1.1,0 2,-0.9 2,-2zM21,19.02L3,19.02L3,4.97h18v14.05z',
fill: 'var(--vp-c-text-1)'
}
],
font_family: [
{
d: 'M14 20V7H9V4H22V7H17V20H14ZM5 20V12H2V9H11V12H8V20H5Z',
fill: 'var(--vp-c-text-1)'
}
],
font_bold: [
{
d: 'M6.80005 19V5H12.325C13.4084 5 14.4084 5.33333 15.325 6C16.2417 6.66667 16.7 7.59167 16.7 8.775C16.7 9.625 16.5084 10.2792 16.125 10.7375C15.7417 11.1958 15.3834 11.525 15.05 11.725C15.4667 11.9083 15.9292 12.25 16.4375 12.75C16.9459 13.25 17.2 14 17.2 15C17.2 16.4833 16.6584 17.5208 15.575 18.1125C14.4917 18.7042 13.475 19 12.525 19H6.80005ZM9.82505 16.2H12.425C13.225 16.2 13.7125 15.9958 13.8875 15.5875C14.0625 15.1792 14.15 14.8833 14.15 14.7C14.15 14.5167 14.0625 14.2208 13.8875 13.8125C13.7125 13.4042 13.2 13.2 12.35 13.2H9.82505V16.2ZM9.82505 10.5H12.15C12.7 10.5 13.1 10.3583 13.35 10.075C13.6 9.79167 13.725 9.475 13.725 9.125C13.725 8.725 13.5834 8.4 13.3 8.15C13.0167 7.9 12.65 7.775 12.2 7.775H9.82505V10.5Z',
fill: 'var(--vp-c-text-1)'
}
],
font_italic: [
{
d: 'M5 19V16.5H9L12 7.5H8V5H18V7.5H14.5L11.5 16.5H15V19H5Z',
fill: 'var(--vp-c-text-1)'
}
]
}
</script>

<template>
<svg class="title-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<template v-for="path in paths[name]">
<path :d="path.d" :fill="path.fill" />
</template>
</svg>
</template>

<style lang="stylus" scoped>
.title-icon {
margin-right: 6px
height: 24px
width: 24px
display: inline-block
// Align
vertical-align: middle
position: relative
bottom: 2px
}
</style>
4 changes: 2 additions & 2 deletions website/src/docs/guides/player-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Aniyomi can also use some of mpv's keybinds, which can be configured here.
For further details about the input file, refer to [mpv's documentation](https://mpv.io/manual/stable/#command-interface).

#### Debanding <Badge text="Disabled" type="info" />
Depending on the Phone model, mpv can sometimes not be able to play videos with certain codecs(mostly h.264 10bit) and will show black screen instead. Use one of these options if you've faced this issue.
Depending on the Phone model, mpv can sometimes be unable to play videos with certain codecs (mostly h.264 10bit) and will show black screen instead. Use one of these options if you've faced this issue.
- **Disabled** - No debanding, Video will be played as it is.
- **CPU** - Uses the CPU to deband. also has the side effect of converting video to 8bit color. This is the slowest option but works on most devices.
- **GPU** - Uses hardware acceleration for debanding. Faster option but may not be compatible with all devices.
Expand Down Expand Up @@ -154,7 +154,7 @@ Below 'None' are all of the external players available on your phone that will b
* [Just Player](https://play.google.com/store/apps/details?id=com.brouken.player)
* [mpv-android](https://play.google.com/store/apps/details?id=is.xyz.mpv)
* [MPV-Remote](https://github.com/husudosu/mpv-remote-app)
* [MX Player](https://play.google.com/store/apps/details/MX_Player_Videos_OTT_Games?id=com.mxtech.videoplayer.ad) / [MX Player Pro](https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.pro)
* [MX Player](https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.ad) / [MX Player Pro](https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.pro)
* [Next Player](https://play.google.com/store/apps/details?id=dev.anilbeesetti.nextplayer)
* [VLC](https://play.google.com/store/apps/details?id=org.videolan.vlc)
* [Web Video Cast](https://play.google.com/store/apps/details?id=com.instantbits.cast.webvideo)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
title: Audio and subtitle settings
titleTemplate: Video player - Guides
description: Additional settings for audio and subtitle tracks.
---

<script setup>
import TitleIcon from "@theme/components/TitleIcon.vue";
</script>

# Audio and subtitle settings

Additional settings for audio and subtitle tracks.

## Delay

![Delay tab](/docs/guides/video-player/delay.light.webp#light =512x406)

![Delay tab](/docs/guides/video-player/delay.dark.webp#dark =512x406)

### Remember audio delay <Badge text="Off" type="info" />

If enabled, audio delay will be saved. Otherwise it will reset upon exiting the player.

### Audio delay <Badge text="0 ms" type="info" />

Delay for audio, in milliseconds.

### Remember subtitle delay <Badge text="Off" type="info" />

If enabled, audio delay will be saved. Otherwise it will reset upon exiting the player.

### subtitle delay <Badge text="0 ms" type="info" />

Delay for subtitle, in milliseconds.

## Font

![Font tab](/docs/guides/video-player/font.light.webp#light =512x355)

![Font tab](/docs/guides/video-player/font.dark.webp#dark =512x355)

Tab to customize some aspects of the subtitles, along with a preview window.

### <TitleIcon name="font_family"/> Font family <Badge text="Sans serif" type="info" />

<!-- TODO: add link to `data and storage` when/if it get its own page for `Storage location` -->
Tap to get a dropdown of available fonts placed in the `fonts` subdirectory for `Storage location`.

### Font size <Badge text="55" type="info" />

Font size used.

### <TitleIcon name="font_bold"/> Bold <Badge text="Off" type="info" />

Tap to toggle between bold styling.

### <TitleIcon name="font_italic"/> Bold <Badge text="Off" type="info" />

Tap to toggle between italic styling.

### Override ASS subtitles <Badge text="Off" type="info" />

When enabled, styling will apply to `.ass/.ssa` subtitles as well.

## Color

![Color tab](/docs/guides/video-player/color.light.webp#light =512x346)

![Color tab](/docs/guides/video-player/color.dark.webp#dark =512x346)

### Text <Badge text="#FFFFFFFF" type="info" />

Color of the text. Tap to show sliders.

### Border <Badge text="#FF000000" type="info" />

Color of the text border. Tap to show sliders.

### Background <Badge text="#00000000" type="info" />

Color of the text background. Tap to show sliders.

## Example configurations

TBA
Loading

0 comments on commit 600df00

Please sign in to comment.