Include a sound recording in AudioSwap
YouTube's AudioSwap program enables users to use audio tracks from participating music artists and record labels as the soundtracks for their videos. The AudioSwap program is designed to benefit artists and record labels while enabling YouTube users to create more exciting, engaging videos.
If you include a sound recording asset in the AudioSwap program, YouTube applies the match policy for the sound recording to the videos of any users who select the recording.
To include a sound recording in AudioSwap:
-
Insert the <audioswap> tag in your XML feed. The tag, which does not have any attributes, is a child of the <feed> tag.
-
Create a sound recording asset that includes a title, artist, and genre.
-
Create a reference for the sound recording.
-
Create a relationship that associates the reference file with the asset and the <audioswap> element.
<feed xmlns="http://www.youtube.com/schemas/cms/2.0"> <audioswap/> <asset type="sound_recording" tag="YOUR_ID_HERE"> <title>Title required for AudioSwap <artist>John Smith and the AudioSwap Requirements <genre>Blues <file type="audio" tag="foo.mp3"> <filename>foo.mp3 <relationship> <item path="/feed/file[@tag='foo.mp3']"/> <related_item path="/feed/asset[@tag='YOUR_ID_HERE']"/> <related_item path="/feed/audioswap"/> <relationship> <item path="/external/rights_policy[@name='External rights policy']"/> <related_item path="/feed/asset[@tag='YOUR_ID_HERE']"/>
Removing a sound recording from AudioSwap
There are two ways to remove a track from the AudioSwap program:
-
Update the reference for the sound recording to turn off AudioSwap. To do this, include a <reference> tag in your feed with its action attribute set to audioswap and its active attribute set to false:
<reference action="audioswap" active="false" id="REFERENCEID"/>
-
Deactivate the reference for the sound recording. This action automatically removes the recording from the AudioSwap library, but does not impact any claims on existing videos that use the recording.
* Nguồn: Youtube