Video-sharing app YouTube said on Tuesday night it was barring new content from being posted on President Donald Trump's channel for at least a week.