I'm trying to update a large number of videos on my youtube channel programmatically via the API as I also want to store the video information in my website DB.
Everything is working fine, except that I'm having real trouble rendering a new line in the description field.
I am writing the description in an html form, but there is a paragraph I want to be added to every video and so I've added this in the XML request data as follows:
'<media:description type="plain">'.$form->description." \n\n ".'This is the text I want automatically added to each video.
</media:description>'
New lines in my form data are fine, it is just the new lines before this last paragraph.
I've tried various combinations of \n and \r and this doesn't seem to be working.