xifangczy / cat-catch

猫抓 浏览器资源嗅探扩展 / cat-catch Browser Resource Sniffing Extension
GNU General Public License v3.0
8.98k stars 831 forks source link

Another famous site that blocks famous Cat-catch feature : preview video with vlc/potplayer but the solution is simple and we hope please the addition of a vital option to avoid blocking : "Open the embed video kFrameUrl in a new independent tab" #461

Open trimechee opened 2 weeks ago

trimechee commented 2 weeks ago

扩展版本号 extension version

2.5.4

浏览器

其他基于 Chromium 的浏览器

浏览器版本号

128

涉及网址

https://livetv.sx/frx/showvideo/1343456_real_madrid_real_valladolid/

请详细描述问题

Hello, this site is probably the most famous site in the world and where you can see sports replay highlights, the main video player uses high quality and so it is difficult for those who have low cpu or weak connection to playback the videos so I use Cat-catch feature : preview video with vlc/potplayer and url protocol recommanded by Cat-Catch but it does not work :

https://livetv.sx/frx/showvideo/1343456_real_madrid_real_valladolid/

https://livetv.sx/frx/video/

so I use my secret method by going to :

chrome://media-internals/

and copying and pasting into a new tab the " kFrameUrl " :

https://emb.apl367.me/player/video.php?id=312662&s=uq6miwjt&w=590&h=384

and i can playback the blocked video with vlc !!

so my suggestion please is to more facilitate and speed up the process and avoid blocking especially for non-experts and to make the project even more popular, mu suggestion is to add an option:

"Open the embed videos in a new independent tab"

and the address of the new tab will be the kFrameUrl so we can playback the videos even if the site blocks preview video feature with vlc of our beloeved Cat-Catch , thank you so much !

EDIT :

And just to say please, after thinking about it, I think the best thing to do please if my suggestion is approved : "Open the embed video in a new independent tab", when the playback with vlc does not work, then we playback the video and if the extension detects the media link, then the extension automatically opens in the background a new tab with the address " kFrameUrl " of chrome://media-internals/ = the user will not be bothered and the user experience will not be affected because the user keeps the main tab in the foreground, and if the playback with vlc fails with the main tab, then the user goes to the kframeurl page opened in the background, then we click on the play button of the video embed kframeurl and thus the extension detects the media link of the original video embed and the playback via vlc succeeds without problem, thank you very much !

trimechee commented 2 weeks ago

Great ! Thank you :)

xifangczy commented 2 weeks ago

Theoretically, whether there is a Frame or not, the referer parameter obtained should be consistent. After testing, everything is normal and can be played correctly. No Frame Url is needed.

trimechee commented 2 weeks ago

Huh, it's very incredible !!! I tested with thorium legacy and vlc 32 bits, I will do more advanced tests by putting back the values ​​of vlc player by default and trying with other browsers like r3dfox, firefox esr and catsxp because the developer of catsxp told me recently to test the beta version and the bug of the crash of catsxp in certain specific site seems to be resolved in windows 7 32 bits.....

and with vidmoly video, third palyer in this site :

https://french-anime.com/animes-vf/1510-wistoria-wand-and-sword.html

does vidmoly video work in vlc without kFrameUrl please ?

trimechee commented 2 weeks ago

Hello Mr @xifangczy , you said : "everything is normal and can be played correctly. ", so I decide to do some in-depth comparative testing with several browsers , here is the result of my tests, maybe it could help :

I tested this video with Open in vlc (wih vlc path) and Cat-catch (preview setting=vlc)= the vlc player does not even appear despite the media link being detected when using Cat-catch and Open in vlc extensions :

https://livetv.sx/frx/showvideo/1344108_majorque_soville/

as a last hope, since putting the potplayer patch in Open-in-vlc does not work because potplayer appears but no video displayed, I go to the Cat-catch settings :

Other Settings

Use the local player's call protocol to open video previews

potplayer

and it works !!! vlc opens and there is video playback when using Cat cach Preview with potplayer !

so, and it's surprising, potplayer is officially more powerful and more ideal than vlc for the playback of streaming videos, hence the capital importance of specefic support of potplayer which has just been updated recently !!

in addition potplayer allows us fit the screen and stretch the video and get rid of black bars , vlc does not have such an important option, potplayer is definitely better than vlc to preview streaming videos !!

i specify i use potplayer with 3D youtube source plugin with cookies, hls...settings enabled in settings of 3D youtube source : https://ys.3dyd.com/home/

and conclusion, playback from livetv.sx seems to work only with Cat-catch with potplayer as media player for preview

trimechee commented 2 weeks ago

Mr @xifangczy , please one last question, sorry it's off topic but maybe it will help me to playback some complicated streams because potplayer has integration with 3DYD youtube source plugin, so in the settings of 3DYD youtube source plugin :

https://ys.3dyd.com/

there is option "user agent string" in te settings of 3D youtube source , the box is empty so I put "Mozilla/5.0", but should I put only

"Mozilla/5.0"

or

"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0" , Safari/537.36

to have a compatibility with the maximum of streaming website please ?

I contacted the developer of 3D youtube source plugin when I encountered bugs to send him the bug logs but to my knowledge, I did not receive any answers so I ask you the question, thank you very much :)

trimechee commented 2 weeks ago

And just to say please, after thinking about it, I think the best thing to do please if my suggestion is approved : "Open the embed video in a new independent tab", when the playback with vlc does not work, then we playback the video and if the extension detects the media link, then the extension automatically opens in the background a new tab with the address " kFrameUrl " of chrome://media-internals/ = the user will not be bothered and the user experience will not be affected because the user keeps the main tab in the foreground, and if the playback with vlc fails with the main tab, then the user goes to the kframeurl page opened in the background, then we click on the play button of the video embed kframeurl and thus the extension detects the media link of the original video embed and the playback via vlc succeeds without problem, thank you very much !

trimechee commented 2 weeks ago

Ahh i forget, few day ago, i installed vlc 4 beta and urlprotocol was uninstalled :

https://github.com/xifangczy/URLProtocol

vlc 4 beta has feature to fit screen and delete black borders but has bugs and error message....

so i reinstall the stable vlc and i need to add urlprotocol and make new tests.....

trimechee commented 2 weeks ago

Hi, here part of some thoughts about kframeurl and my discussion with Mr Andy the developer of Open-in-vlc extension:

-"......""Open the embed video in a new independent tab", when the playback with vlc does not work..."

-"The extension can detect media on iframes. I don't see the point of opening an iframe in a browser tab. Also when you open an iframe in a browser tab, the website can detect and stop the player (origin of top-frame changes)"

-"but since I often visit sports video higlights sites, streaming video .... on several sites impossible to playback embed video, many embed video prohibits playback on vlc, the proof, another famous streaming platform : uqload very present on my favorite streaming site:

4th media player in this site: https://french-anime.com/animes-vf/844-orient.html

Open in vlc detects the media link but impossible to playback the uqload video embed in vlc !

but when we detect and open and playback the original link kframe url :

https://uqload.ws/uxv9sm9tk4s0.html

Open-in vlc send video link to vlc and there is playback in vlc !

without kframeurl, it is impossible to playback videos in vlc in uqload, in livetv.sx and in several platforms such as the platform https://aliez.tv/ whose videos are integrated into the famous world-famous site livetv.sx...

yes it's true, I noticed it, sometimes when I watched a lot of kframeurl videos from the vidmoly platform in a row, when I open the kframeurl link, for example the third vidmoly media player on this site:

https://french-anime.com/animes-vf/1510-wistoria-wand-and-sword.html

after intensive use of kframeurl, sometimes I receive a message that it is not possible any more to playback the kframeurl videos and i don't have access anymore to the kframeurl video playback.....

but despite this temporary restriction, the kframeurl solution remains effective and better than nothing and the miracle solution , because, if we have a reasonable, not intensive use of kframeurl videos and we respect a reasonable quota, vidmoly does not block playback of kframeurl videos, and I say that because I have actually tested it and kframeurl is the only miracle solution to watch streaming video on my old eee pc with a weak cpu from streaming sites!

yes at first attempts, we can playback vidmoly videos in vlc without needing kframeurl, but after a while, the playback in vlc no longer works hence the need for kframeurl....

"I don't see the point of opening an iframe in a browser tab",

yes but it is not enough to just open the kframeurl, the user must click on the play button of the video of the kframeurl to obtain a valid link compatible with vlc..... i think iframe is not important, the important is how to find the original link of video beforre original video is embeded in streaming websites"

trimechee commented 1 week ago

Hi, this is the continuation of my discussion with Mr Andy about the kframeurl support :

" Hello, previously you said right : ".....you open an iframe in a browser tab, the website can detect and stop the player (origin of top-frame changes)",

yess , you have right, second media player in this site: https://v5. voiranime.com/anime/wistoria-wand-and-sword-vf/wistoria-wand-and-sword-04-vf/

when i try to playback the kframeurl:

https://designparty.sx/e/yh1rk6yvyvhf

i have message : "This video cannot be watched under this domain."

but here, no need to get the kframeurl from the site https://designparty.sx/ , because we can playback the video with vlc directly in the site:

https://v5.voiranime.com/anime/wistoria- wand-and-sword-vf/wistoria-wand-and-sword-04-vf/

but unlike the first media player which is vidmoly video on this site:

https://v5.voiranime.com/anime/wistoria-wand-and-sword -vf/wistoria-wand-and-sword-04-vf/

we can't playback directly the video with vlc but fortunately, vidmoly doesn't block the kframeurl (unless we open a lot of kframeurl videos), so open the kframeurl and playback the video becomes the only solution to playback vidmoly video successfully with vlc player, now vidmoly is the only platform that offers standard 480p quality, the designparty.sx/ platform no longer offers the standard 480p quality and only offers the gigantic 1080p quality which is huge for our weak internet and old hdd of almost 13 years, hence my request please for the specific support for vidmoly via kframeurl, thanks a lot ! "

trimechee commented 1 week ago

Update, i change dns, make new test.....now i can preview videos from livetv.sx without the need of kframeurl, but kframeurl still needed for some other platform....