mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-29 05:51:49 +01:00
improve HLS disclaimer
This commit is contained in:
parent
741a35dee8
commit
8cc6faff09
@ -232,7 +232,7 @@
|
|||||||
"downloadSubtitle": "Download current subtitle",
|
"downloadSubtitle": "Download current subtitle",
|
||||||
"downloadPlaylist": "Download playlist",
|
"downloadPlaylist": "Download playlist",
|
||||||
"downloadVideo": "Download video",
|
"downloadVideo": "Download video",
|
||||||
"hlsDisclaimer": "Downloads are taken directly from the provider. movie-web does not have control over how the downloads are provided. Please note that you are downloading an HLS playlist, this is intended for users familiar with advanced multimedia streaming.",
|
"hlsDisclaimer": "Downloads are taken directly from the provider. movie-web does not have control over how the downloads are provided.<br /><br />Please note that you are downloading an HLS playlist, it is <bold>not recommended to download if you are not familiar for advanced streaming formats</bold>. Try different sources for different formats.",
|
||||||
"onAndroid": {
|
"onAndroid": {
|
||||||
"1": "To download on Android, click the download button then, on the new page, <bold>tap and hold</bold> on the video, then select <bold>save</bold>.",
|
"1": "To download on Android, click the download button then, on the new page, <bold>tap and hold</bold> on the video, then select <bold>save</bold>.",
|
||||||
"shortTitle": "Download / Android",
|
"shortTitle": "Download / Android",
|
||||||
|
@ -27,6 +27,7 @@ function StyleTrans(props: { k: string }) {
|
|||||||
i18nKey={props.k}
|
i18nKey={props.k}
|
||||||
components={{
|
components={{
|
||||||
bold: <Menu.Highlight />,
|
bold: <Menu.Highlight />,
|
||||||
|
br: <br />,
|
||||||
ios_share: (
|
ios_share: (
|
||||||
<Icon icon={Icons.IOS_SHARE} className="inline-block text-xl -mb-1" />
|
<Icon icon={Icons.IOS_SHARE} className="inline-block text-xl -mb-1" />
|
||||||
),
|
),
|
||||||
@ -123,24 +124,6 @@ export function DownloadView({ id }: { id: string }) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function CantDownloadView({ id }: { id: string }) {
|
|
||||||
const router = useOverlayRouter(id);
|
|
||||||
const { t } = useTranslation();
|
|
||||||
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
<Menu.BackLink onClick={() => router.navigate("/")}>
|
|
||||||
{t("player.menus.downloads.title")}
|
|
||||||
</Menu.BackLink>
|
|
||||||
<Menu.Section>
|
|
||||||
<Menu.Paragraph>
|
|
||||||
<StyleTrans k="player.menus.downloads.hlsExplanation" />
|
|
||||||
</Menu.Paragraph>
|
|
||||||
</Menu.Section>
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function AndroidExplanationView({ id }: { id: string }) {
|
function AndroidExplanationView({ id }: { id: string }) {
|
||||||
const router = useOverlayRouter(id);
|
const router = useOverlayRouter(id);
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
@ -202,11 +185,6 @@ export function DownloadRoutes({ id }: { id: string }) {
|
|||||||
<DownloadView id={id} />
|
<DownloadView id={id} />
|
||||||
</Menu.CardWithScrollable>
|
</Menu.CardWithScrollable>
|
||||||
</OverlayPage>
|
</OverlayPage>
|
||||||
<OverlayPage id={id} path="/download/unable" width={343} height={440}>
|
|
||||||
<Menu.CardWithScrollable>
|
|
||||||
<CantDownloadView id={id} />
|
|
||||||
</Menu.CardWithScrollable>
|
|
||||||
</OverlayPage>
|
|
||||||
<OverlayPage id={id} path="/download/ios" width={343} height={440}>
|
<OverlayPage id={id} path="/download/ios" width={343} height={440}>
|
||||||
<Menu.CardWithScrollable>
|
<Menu.CardWithScrollable>
|
||||||
<IOSExplanationView id={id} />
|
<IOSExplanationView id={id} />
|
||||||
|
Loading…
Reference in New Issue
Block a user