andy-portmen / open-in-vlc

a browser extension to send media links to VLC media player
https://webextension.org/listing/open-in-vlc.html
Mozilla Public License 2.0
116 stars 55 forks source link

Add support of cookies arguments commands of yt-dlp "--cookies-from-browser firefox" to play restircted videos of twitter #59

Open trimechee opened 3 months ago

trimechee commented 3 months ago

Hello, yesterday i tried to play twitter videos because videos on twitter are very heavy and lag freeze even lowest quality in my old laptop, i tried with smplayer, potplayer with 3DYD Youtube Source plugin, mpc hc, mpc be, qmplay2...all these players fails to pay twitter videos and have message that i should add cookies commands like --cookies-from-browser firefox....

i am not expert, i tired to add --cookies-from-browser firefox to the yt-dlp engines of these media players but no video playback.....so I remembered a Stream-detector extension which has a unique functionality of adding yt-dlp commands arguments to the detected video stream :

https://github.com/54ac/stream-detector

the problem the developer said months ago that for the moment he is pausing development of his extension so maybe the extension is no longer compatible with yt-dlp....

my idea please is that Open-in-vlc allows to support or add cookies yt-dlp commands arguments --cookies-from-browser firefox --cookies-from-browser chrome --cookies-from-browser r3dfox ........to video stream detected so we can avoid possible bugs and we could playback restirctid videos of twitter in vlc or potplayer or smplayer...thank you very much!

and also add these commands to external-application-button please, thank you !

https://x.com/SansFilet/status/1820820946166419776