Στις Ενιαίες ροές βίντεο, το <CollectionList>
χρησιμοποιείται για την προσθήκη Μουσικών βίντεο σε playlist στο YouTube. Το <CollectionList>
δεν χρησιμοποιείται στις ροές ηχογράφησης.
Για να συμπεριλάβετε ένα βίντεο σε ένα υπάρχον playlist, μπορείτε να χρησιμοποιήσετε τον ειδικό χώρο ονομάτων "YOUTUBE:PLAYLIST_ID" εντός του <CollectionId>
με το <CollectionType>
ή το "FilmBundle".
<CollectionList>
<Collection>
<CollectionId>
<ProprietaryId Namespace="YOUTUBE:PLAYLIST_ID">PLONRDPtQh-FLMXFMM-SJHySwjpidVXmzw</ProprietaryId>
</CollectionId>
<CollectionType>FilmBundle</CollectionType>
<CollectionReference>X1</CollectionReference>
<!-- If title is provided, it will update the title of the existing playlist. -->
<Title>
<TitleText>My Updated Playlist Title</TitleText>
</Title>
<CollectionResourceReferenceList>
<CollectionResourceReference>
<!-- Adds the video at the start of the playlist. -->
<SequenceNumber>1</SequenceNumber>
<CollectionResourceReference>A1</CollectionResourceReference>
</CollectionResourceReference>
</CollectionResourceReferenceList>
</Collection>
</CollectionList>