There is an extension for safari called FastestTube, which puts a download button below YouTube videos. Right click on it & you can choose file size to download.
Not sure about Vimeo. In the past you had to login to download. Don't know if its still that way as i don't use it.