I videosingelflöden används <CollectionList>
för att lägga till musikvideor till spellistor på YouTube. <CollectionList>
används inte i ljudinspelningsflöden.
Om du vill inkludera en video i en befintlig spellista kan du använda den dedikerade namnrymden YOUTUBE: PLAYLIST_ID i <CollectionId>
, med följande <CollectionType>
: FilmBundle.
<CollectionList>
<Collection>
<CollectionId>
<ProprietaryId Namespace="YOUTUBE:PLAYLIST_ID">PLONRDPtQh-FLMXFMM-SJHySwjpidVXmzw</ProprietaryId>
</CollectionId>
<CollectionType> FilmBundle </CollectionType>
<CollectionReference>X1</CollectionReference>
<! -- Om titeln tillhandahålls uppdateras titeln på den befintliga spellistan. -->
</Title>
<TitleText> Titel på min uppdaterade spellista </TitleText>
</Title>
<CollectionResourceReferenceList>
<CollectionResourceReference>
<! -- Lägger till videon i början av spellistan. -->
<SequenceNumber> 1 </SequenceNumber>
<CollectionResourceReference>A1</CollectionResourceReference>
</CollectionResourceReference>
</CollectionResourceReferenceList>
</Collection>
</CollectionList>