No HD on Youtube

Hello, I have a problem on Youtube, when I click on a video, it starts in 480p, normal, but when I want to put in HD (720p or 1080p), the video automatically switches to 240p and doesn't work (black screen). Every time it's necessary to updates the page to be able to watch the video but only in SD. Do you have a solution? Thank you.