Because YouTube uses adaptive bitrate streaming, videos may appear lower quality at first, then will switch to the highest possible quality after a few seconds.
Note: Not all videos on YouTube are available in HD. Videos recorded in SD will play in the same quality that it was recorded. If the video does not buffer at playback speed, the video will be downgraded to lower quality, allowing for smoother playback.