sebaro / ViewTube

Watch videos from video sharing websites with extra options.
http://sebaro.pro/viewtube
GNU General Public License v3.0
26 stars 5 forks source link

Please add support for vlc npapi plugin for palemoon/basilisk web browsers to open streaming videos with browser vlc plugin or with external media player because playback html5 lag freeze in old laptops ! #6

Open trimechee opened 3 days ago

trimechee commented 3 days ago

Helo, thank you so much for the amazing great rare ViewTube extension! 💯 🥇

Please i have request, my laptop recently broke down so I went back to use my old laptop which dates from 2012 which has a Windows 7 OS and I was able to find alhamdoulilAllah web browsers updated frequently for windows 7 like supermium web browser, thorium legacy, catsxp browser.....

but the problem is that it is heavy and almost impossible to watch streaming video smoothly without jerking, even low quality, probably because the processor of my laptop is old or weak.....the solution is to use VLC media player , but I often watch streaming video embed videos so it is impossible to send the links to VLC because they are embed video, so I tried with the extension to detect and extract the real link from the streaming video:

https://github.com/chandler-stimson/live-stream-downloader

https://github.com/puemos/hls-downloader

then I copy the links from the url address of the embed video and I try to play them with vlc or potplayer and it worked once or twice then unfortunately error message.....

the only solution that seems to work is to use the preview video option of the extension:

https://github.com/xifangczy/cat-catch/blob/master/README_en.md

because cat-catch has an option in the settings to choose a local media player like vlc or potplayer for preview playback of streaming videos without having to wait for the download to finish because downloading can be long if the connection becomes weak and you can preview the video while closing the web browser but the problem the preview did not work with potplayer and vlc! so t informed the Cat-catch developer of this preview bug and he replied:

" PotPlayer cannot preview, probably because the website has "referer" verification. The good news is that PotPlayer supports the setting of referer parameters, and it even supports URL Protocol.

You just need to change potplayer://${url} to potplayer://${url}/referer=${referer} "

and I applied his advice and added potplayer://${url}/referer=${referer} to the preview option and it works alhamdoulilAllah!

cat-catcher seems to work for preview even if I have to confirm this discovery with other videos, but the problem is I have activated many options in cat-catcher and the streaming site refuses to open sometimes :(

so I turned to the famous web browsers palemoon and basilisk browsers frequently updated even for crappy os like windows 10/11:

https://www.palemoon.org/

https://www.basilisk-browser.org/

Although I have disabled many features, sometimes navigation becomes heavy when I play videos with these 2 browsers like in YouTube, to solve this problem, I installed VLC which has a plugin for old versions of Firefox and for palemoon and basilisk and I clearly see that palemoon and basilisk have integrated the NPAPI vlc plugin but by trying on streaming sites like:

https://french-anime.com/animes-vf/

https://v5.voiranime.com/?filter=dubbed

I was hoping the playback will be done by the VLC plugin because in VLC player, you can tweak the video parameters of HD videos to make them lighter or heavier, deactivate deinterlacing, H264 loop filter, increase the network buffer to avoid jerky lag.. ...but it seems streaming video playback is done through heavy html5 and these 2 browsers freeze......

I looked in the archives for old Firefox extensions compatible with palemoon and basilisk:

https://msfn.org/board/topic/183923-extensions-and-custom-buttons-for-uxp-browsers-corrections-modifications-adjustments-and-special-recommendations/

and I found 2 extensions to send the video stream to vlc npapi plugin from basilisk browser but it doesn't work unfortunately and I was disappointed that palemoon and basilisk browsers seem not to use the vlc napapi plugin for playback by default :(

Doc I'm doing a search on the web to see how to integrate vlc plugin with palemoon and basilisk and I came across this thread where we talked about your magnificent extension so I discovered the existence of your great extension!

VLC, WMP and protocol potplayer:// for very old PC [Enhancement]:

https://github.com/iv-org/invidious/issues/2533

a user said something unpleasant and unfair like ViewTube is not updated a lot even though it is false, on the contrary your excellent rare extension is often updated, thank you!

so I tried to see if there is a version of our beloved ViewTube for palemoon basilisk browser but this is not the case apparently, so my request please if it is possible and it does not tire, is to do a version of our beloevd ViewTube for palemoon / basilisk browsers to automatically open links and video streams with an external player like vlc or with the plug

and force video playback with the vlc plugin, lighter than html5, in my old laptop, plus it's more ecological and economical, thank you very much!

Let's specify palemoon and basilisk have a version of ublock updated by AstriSkipper and use the v2 manifest so the ad blocker is not limited censored by the restrictive v3 manifest so palemmon and basilisk are excellent choices for old and even hardware modern equipment!

https://msfn.org/board/topic/183923-extensions-and-custom-buttons-for-uxp-browsers-corrections-modifications-adjustments-and-special-recommendations/page/16/#comment-1258602

Let's specify I also installed on palemoon and basilisk getemall extension to download the videos and I even managed to copy the url address of the embed videos and open them in palemoon and basilisk with the vlc plugin but getemall does not detect all the streams video and does not work with my favorite streaming site and I hope to play the streaming videos with vlc plugin from palemoon or basilisk or an external media player like potplayer, vlc, smplayer, moonplayer, kikoplay.....

https://addons.palemoon.org/addon/getemall/

And thank you again so much Mr @sebaro for this amazing extension that work with my supermium browser !

sebaro commented 3 days ago

In the settings panel select embed video with Embed or Object, and play as/with VLC or VLC*. To use an external player you can create a protocol, details on the script's web page.

trimechee commented 3 days ago

Great ! Thank you so much for your precious help Mr @sebaro :) 🥇 💯

I will try to follow your advice for the script, i am not an expert and handling scripts seems a bit complicated but i will try....

so it only works with youtube, dailymotion....and not with streaming streams like on these sites?

https://french-anime.com/animes-vf/

https://v5.voiranime.com/?filter=dubbed

https://vostfree.ws/last-anime-vf.html

Please it is not possible to add your script to sites like:

https://greasyfork.org/en

https://openuserjs.org/

https://gist.github.com/search?l=JavaScript&o=desc&q=%22%3D%3DUserScript%3D%3D%22&s=updated

in order to more easily add your script via tampermonkey or violetmonkey because I find handling scripts a bit complicated and complex :(

I have another idea that can maybe help ViewTube to send all the streams from the web browser with external media players, I'm opening a new issue, thank you very much!

sebaro commented 3 days ago

You can change the script settings by clicking the 3-dot button, details are on the script's web page.

For other video sites there's ViewTube+.

https://greasyfork.org/en/scripts/2984-viewtube https://openuserjs.org/scripts/sebaro/ViewTube

trimechee commented 3 days ago

Great !! Iwill retry with my favorite streaming web sites :) Thank you so much ! 💯