Add aria-title attribute to video player. For #1826

This commit is contained in:
Gabe Kangas
2023-01-23 19:28:32 -08:00
parent 308aea9f59
commit 24f6bb1ea5
4 changed files with 15 additions and 6 deletions

View File

@@ -335,7 +335,13 @@ export const Content: FC = () => {
<div className={styles.mainSection}>
<div className={styles.topSection}>
{appState.appLoading && <Skeleton loading active paragraph={{ rows: 7 }} />}
{online && <OwncastPlayer source="/hls/stream.m3u8" online={online} />}
{online && (
<OwncastPlayer
source="/hls/stream.m3u8"
online={online}
title={streamTitle || name}
/>
)}
{!online && !appState.appLoading && (
<OfflineBanner
streamName={name}