China has blocked access to the video-sharing network YouTube.