Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

Embed setting was invalid (invalidEmbedSetting)

$
0
0

When creating a broadcast using Youtube api, the youtube api return error.But in youtube studio was able to check embbed video

enter image description here

The problem is when set attribute setEnableEmbed to true

LiveBroadcastContentDetails contentDetails = liveBroadcast.getContentDetails();contentDetails.setEnableDvr(updateLiveDTO.isCreateVideoOnDemand());contentDetails.setEnableEmbed(Boolean.TRUE);
POST https://www.googleapis.com/youtube/v3/liveBroadcasts?part=snippet,contentDetails,status{"code" : 400,"errors" : [ {"domain" : "youtube.liveBroadcast","message" : "Embed setting was invalid","reason" : "invalidEmbedSetting","extendedHelp" : "https://developers.google.com/youtube/v3/live/docs/liveBroadcasts#contentDetails.enableEmbed"  } ],"message" : "Embed setting was invalid"}

Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>