How can I convert Youtube blob:videourl to actual source URL in Javascript?

827 Views Asked by At

While watching any Youtube video, if the video element is inspected (in Chrome devtools) then the src attribute of the video tag shows blob:https://youtube.com/somerandomhash instead of the actual source url.

Can I somehow retrieve the actual source url of the video in Javascript (or jQuery) such that it can be played in an isolated tab (That I suppose is the default behavior of HTML5 video players) ?

Thanks.

0

There are 0 best solutions below