In Video Single-feeds wordt de <CollectionList>
gebruikt om muziekvideo's toe te voegen aan afspeellijsten op YouTube. De <CollectionList>
wordt niet gebruikt in Sound Recording-feeds.
Als je een video in een bestaande afspeellijst wilt opnemen, gebruik je de speciale naamruimte 'YOUTUBE: PLAYLIST_ID' in de <CollectionId>
, met een <CollectionType>
FilmBundle.
<CollectionList>
<Collection>
<CollectionId>
<ProprietaryId Namespace="YOUTUBE:PLAYLIST_ID">PLONRDPtQh-FLMXFMM-SJHySwjpidVXmzw</ProprietaryId>
</CollectionId>
<CollectionType>FilmBundle</CollectionType>
<CollectionReference>X1</CollectionReference>
<!-- Als er een titel is ingevuld, wordt de titel van de bestaande playlist geüpdatet. -->
<Title>
<TitleText>Mijn geüpdatete playlisttitel</TitleText>
</Title>
<CollectionResourceReferenceList>
<CollectionResourceReference>
<!-- Voegt de video toe aan het begin van de playlist. -->
<SequenceNumber>1</SequenceNumber>
<CollectionResourceReference>A1</CollectionResourceReference>
</CollectionResourceReference>
</CollectionResourceReferenceList>
</Collection>
</CollectionList>