fixes from review
remove config, remove unused app strings + add new, add disabled message
This commit is contained in:
parent
db687204a4
commit
8c7c1cfd5c
3 changed files with 10 additions and 2 deletions
|
@ -63,7 +63,6 @@ const config = {
|
||||||
ENABLE_NO_SOURCE_CLAIMS: process.env.ENABLE_NO_SOURCE_CLAIMS === 'true',
|
ENABLE_NO_SOURCE_CLAIMS: process.env.ENABLE_NO_SOURCE_CLAIMS === 'true',
|
||||||
ENABLE_PREROLL_ADS: process.env.ENABLE_PREROLL_ADS === 'true',
|
ENABLE_PREROLL_ADS: process.env.ENABLE_PREROLL_ADS === 'true',
|
||||||
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS: process.env.CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS,
|
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS: process.env.CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS,
|
||||||
CHANNEL_STAKED_LEVEL_LIVESTREAM: process.env.CHANNEL_STAKED_LEVEL_LIVESTREAM,
|
|
||||||
CHANNEL_CREATION_LIMIT: process.env.CHANNEL_CREATION_LIMIT,
|
CHANNEL_CREATION_LIMIT: process.env.CHANNEL_CREATION_LIMIT,
|
||||||
WEB_PUBLISH_SIZE_LIMIT_GB: process.env.WEB_PUBLISH_SIZE_LIMIT_GB,
|
WEB_PUBLISH_SIZE_LIMIT_GB: process.env.WEB_PUBLISH_SIZE_LIMIT_GB,
|
||||||
LOADING_BAR_COLOR: process.env.LOADING_BAR_COLOR,
|
LOADING_BAR_COLOR: process.env.LOADING_BAR_COLOR,
|
||||||
|
|
|
@ -1706,7 +1706,6 @@
|
||||||
"People who view this link will be redirected to your livestream. Make sure to use this for sharing so your title and thumbnail are displayed properly.": "People who view this link will be redirected to your livestream. Make sure to use this for sharing so your title and thumbnail are displayed properly.",
|
"People who view this link will be redirected to your livestream. Make sure to use this for sharing so your title and thumbnail are displayed properly.": "People who view this link will be redirected to your livestream. Make sure to use this for sharing so your title and thumbnail are displayed properly.",
|
||||||
"View livestream": "View livestream",
|
"View livestream": "View livestream",
|
||||||
"You need to upload your livestream details before you can go live. Please note: Replays must be published manually after your stream via the Update button on the livestream.": "You need to upload your livestream details before you can go live. Please note: Replays must be published manually after your stream via the Update button on the livestream.",
|
"You need to upload your livestream details before you can go live. Please note: Replays must be published manually after your stream via the Update button on the livestream.": "You need to upload your livestream details before you can go live. Please note: Replays must be published manually after your stream via the Update button on the livestream.",
|
||||||
"To stream on Odysee, please join Odysee Premium or have 50 Credits as support on your channel": "To stream on Odysee, please join Odysee Premium or have 50 Credits as support on your channel",
|
|
||||||
"Join Odysee Premium": "Join Odysee Premium",
|
"Join Odysee Premium": "Join Odysee Premium",
|
||||||
"Create A Livestream": "Create A Livestream",
|
"Create A Livestream": "Create A Livestream",
|
||||||
"Go Live on Odysee": "Go Live on Odysee",
|
"Go Live on Odysee": "Go Live on Odysee",
|
||||||
|
@ -2229,5 +2228,6 @@
|
||||||
"Canceled On": "Canceled On",
|
"Canceled On": "Canceled On",
|
||||||
"Still Valid Until": "Still Valid Until",
|
"Still Valid Until": "Still Valid Until",
|
||||||
"Active channel": "Active channel",
|
"Active channel": "Active channel",
|
||||||
|
"This account has livestreaming disabled, please reach out to hello@odysee.com for assistance.": "This account has livestreaming disabled, please reach out to hello@odysee.com for assistance.",
|
||||||
"--end--": "--end--"
|
"--end--": "--end--"
|
||||||
}
|
}
|
||||||
|
|
|
@ -184,6 +184,15 @@ export default function LivestreamSetupPage(props: Props) {
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{/* livestreaming disabled */}
|
||||||
|
{!livestreamEnabled && (
|
||||||
|
<div style={{ marginTop: '11px' }}>
|
||||||
|
<h2 style={{ marginBottom: '15px' }}>
|
||||||
|
{__('This account has livestreaming disabled, please reach out to hello@odysee.com for assistance.')}
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
{/* show livestreaming frontend */}
|
{/* show livestreaming frontend */}
|
||||||
{livestreamEnabled && (
|
{livestreamEnabled && (
|
||||||
<div className="card-stack">
|
<div className="card-stack">
|
||||||
|
|
Loading…
Reference in a new issue