Fixed #640. Issue was caused by giving /pathname as url instead of //hostname/pathname as an url instead. This caused it to request from the chrome origin instead of the YouTube origin.