ghouet / chrome-hls

Extension that allows native hls playback in chrome browser
Other
81 stars 45 forks source link

[Feature Request] Right click <video> nodes and stream through HLS with relevant fetch options (referer) #13

Open EmperorEarth opened 5 years ago

EmperorEarth commented 5 years ago

My most common use case for your addon is to get a distraction free video stream viewing experience.

This usually means I open up devtools, figure out the m3u8 file collating the video fragments, and then open that m3u8 link in a new tab.

Sometimes, this won't work: usually because the "referer" option is empty this way.

Is there a way this addon can streamline that process?

ckcr4lyf commented 5 years ago

Addons cannot set certain headers in normal HTTP requests. I have the exactly same use case as you and was thinking of developing a standalone application that can do this, probably an electron app. So you just copy the request for chrome and put it in there, and can enjoy a distraction free experience.

Let me know if you think its a good idea, might work on it.

ghouet commented 5 years ago

The addon could certainly try to capture the m3u8 URLs and a click on the icon could show the different master URLs, one last click to open them on a new tab. Let's see if that's doable.

ckcr4lyf commented 5 years ago

@gramk that still wont work if the server requires a Referrer header, correct?