A javascript library for sniffing video URLs