add cast to appsettings

This commit is contained in:
Simon
2025-03-08 18:32:13 +07:00
parent 73f7e8945c
commit 7229cf1930
7 changed files with 24 additions and 7 deletions

View File

@@ -92,8 +92,7 @@ const EmbeddableVideoPlayer = ({ videoId }: EmbeddableVideoPlayerProps) => {
const likes = formatNumbers(video.stats.like_count);
const hasDislikes = video.stats.dislike_count > 0 && appSettingsConfig.downloads.integrate_ryd;
const dislikes = formatNumbers(video.stats.dislike_count);
// const config = videoResponse.config;
const cast = false; // config.enable_cast;
const cast = appSettingsConfig.application.enable_cast;
return (
<>