The div is way down the page so I don’t want people to have to scroll all the way back down to the video container every time they choose a new video to watch.
Incidentally, is this why we have to scroll all the way back down the Facebook home/news feed every time we’re done viewing somebody’s link that they posted?
Remove the name attribute because it is not valid for div tags. Change id=“video2” to id=“video_2” and it will work. Kalon’s suggestion is not right: the anchor point is always specified at the end of the URL regardless of the query string.