moshaorui hai 3 días
pai
achega
a3d24f2bdb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/Services/Smm/YoutubeService.php

+ 1 - 0
app/Services/Smm/YoutubeService.php

@@ -128,6 +128,7 @@ class YoutubeService implements SmmPlatformInterface
             // 设置视频状态
             $status = new Google_Service_YouTube_VideoStatus();
             $status->setPrivacyStatus('public'); // public, private, unlisted
+            $status->setMadeForKids(true);// 是否为儿童视频
             // 创建视频对象
             $video = new Google_Service_YouTube_Video();
             $video->setSnippet($snippet);