On m.youtube.com, the locale URL doesn't exist. This will throw an invalid URL (passes undefined to the URL constructor). On quick glance it doesn't appear that there's a good alternative on mobile, so I just fallback to 'en'.