hoyois / plugin-to-html5 Goto Github PK
View Code? Open in Web Editor NEWPlug-in to HTML5 conversion scripts
Home Page: http://hoyois.github.com/safariextensions/clicktoplugin/killers.xhtml
Plug-in to HTML5 conversion scripts
Home Page: http://hoyois.github.com/safariextensions/clicktoplugin/killers.xhtml
The killer creates wrong video URL's for videos embedded on 3rd party sites. Unfortunately, the only place I've found this is at a NSFW site, so contact me if you want a demo url. My mail is (username)@(username).net
when watching youtube playlists, clicktoplugin doesnot start the next video automatically.
I have updated my youtube killer to "https://raw.githubusercontent.com/hoyois/plugin-to-html5/master/YouTube.js" as well.
Hi,
So I’m running click to flash simply to get a non-cluttered youtube player. I use this youtube killer:
https://raw.githubusercontent.com/hoyois/plugin-to-html5/master/YouTubeXHR.js
and this CSS Fix you wrote:
https://raw.githubusercontent.com/hoyois/plugin-to-html5/master/CSSfix.js
Well, there’s another problem again and you’re my only hope! With certain youtube videos, the plugin will cause an infinite loop of reloading the page. For example:
Works:
https://www.youtube.com/watch?v=jhoUnOxqr40
Infinite loop:
https://www.youtube.com/watch?v=MftOONlDQac
So.. is there anything you or I can do? I would really appreciate it.
PS same result with:
https://raw.githubusercontent.com/hoyois/plugin-to-html5/master/YouTube.js
As an example, the video on this page is not correctly replaced with this HTML5 video. I think the config.xml
file is no longer being found correctly, but I am also very bad at figuring out where bugs reside, so I'm probably wrong.
At any rate, the killer does work correctly on "full episode" pages, so I'm confused.
Edit: It's not that the config.xml
file can't be found any more, but rather that there's some internal trickery going on for the archive video pages which is different to the full episode pages:
In …context11…
(the archive page feed):
<player>
<feed>http://tdslocal/feeds/video_player/mrss?uri={uri}</feed>
In …context5…
(a full episode feed):
<player>
<feed>http://shadow.comedycentral.com/feeds/video_player/mrss/?uri={uri}</feed>
Because the first is essentially a localhost-style URL, it fails. Perhaps some js to replace http://tdslocal/
with http://shadow.comedycentral.com/
may resolve this (though I haven't checked as I'm terrible at Javascript).
This appears to be similar on Colbert Nation videos (though replace context11 with context8, and context5 with context7 in the above examples).
Edit 2: I see that I opened this on plugin-to-html5 instead of clicktoplugin, which means that what I was referencing is different between the versions. I replaced the copy of MTVNetworks.js
in ClickToPlugin with the one in plugin-to-html5 and it functions correctly. So, I suppose this is an issue with the copy of MTVNetworks.js
in ClickToPlugin.
Sorry, I'm bad at bug reporting.
I realize Click2Flash was discontinued over "Apple changes" but the release notes in 10.12.2 clearly state that Apple has re-added sideloading of Safari Extensions:
"Fixes an issue that prevented installation of Safari Extensions downloaded outside the Safari Extensions Gallery"
Would this resolve the blocking issue for Click2Flash?
It seems all killers are not working on safari 10(new update on 2016/9)
Any possibility to support safari 10?
I still need left click to download video / send to airplay / no ad. html5 player
flash video served by serviceapi.nmv.naver.com widely used by Naver blog.
ths!
A few days ago I get a message from safari telling me that The flash plugin had problems working and if I wanted to turning it off. I just did it but when trying to see youtube I get only a black screen in the video section.
I reactivated flash from the safari preferences but I still get the black screen.
I reinstall ClickToFlash and updated flash but the problem remains.
Any idea of what can I do to fix this?
as example — none of Cinemassacre videos works. Safari 10 and 9, clicktoplugin 3.2, last youtube killer from github
videos:
https://www.youtube.com/watch?v=Jiz2Hv9vlDs
https://www.youtube.com/watch?v=Bak9qqTCW-E
logs from my Console app:
2/22/17 11:35:25.271 PM com.apple.WebKit.WebContent[3565]: [23:35:25.270] figHttpRequestDidReceiveResponseCallback signalled err=-12660 (kFigHTTPError_Forbidden) (403 Forbidden) at /Library/Caches/com.apple.xbs/Sources/CoreMedia/CoreMedia-1731.15.20/Prototypes/FigHTTP/FigHTTPRequestCFURLConnection.c line 2110
2/22/17 11:35:25.271 PM com.apple.WebKit.WebContent[3565]: [23:35:25.271] HTTPRequest figHTTPRequestCreateErrorComment: encountered an error: HTTP 403: Forbidden
2/22/17 11:35:25.271 PM com.apple.WebKit.WebContent[3565]: [23:35:25.271] HTTPRequest figHttpRequestDidReceiveResponseCallback: received http response 403 (error -12660) for https://r1---sn-ug5onuxaxjvh-n8vs.googlevideo.com/videoplayback?pcm2cms=yes&source=youtube&dur=2032.535&id=o-AFB9psWDr8uWiz3pfvUHPAzkvwJ-yh0G4vP5ztNt-Zce&lmt=1487745356659604&itag=18&requiressl=yes&ip=81.26.90.176&expire=1487802912&initcwndbps=40000&ratebypass=yes&ipbits=0&mime=video%2Fmp4&upn=8efBesRzYPU&gir=yes&sparams=clen%2Cdur%2Cei%2Cgcr%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&gcr=ru&clen=172158182&mt=1487781034&pl=23&mv=m&ei=wL2tWIPJJoKyYOrkmdAI&ms=au&mm=31&mn=sn-ug5onuxaxjvh-n8vs&key=yt6&signature=6A66A63E2942F051751FD2FD46714315DAED0E96BD2.E3FDD2CC21D74D8FD8F30C7AEF6DBDFF0C27058E&title=Contra%3A%20Hard%20Corps%20(Sega%20Genesis)%20Full%20Playthrough%20%5B360p%5D
2/22/17 11:35:25.271 PM com.apple.WebKit.WebContent[3565]: [23:35:25.271] HTTPRequest figHTTPDumpFinalURLAndRemoteAddress: address 188.43.61.12 final url https://r1---sn-ug5onuxaxjvh-n8vs.googlevideo.com/videoplayback?pcm2cms=yes&source=youtube&dur=2032.535&id=o-AFB9psWDr8uWiz3pfvUHPAzkvwJ-yh0G4vP5ztNt-Zce&lmt=1487745356659604&itag=18&requiressl=yes&ip=81.26.90.176&expire=1487802912&initcwndbps=40000&ratebypass=yes&ipbits=0&mime=video%2Fmp4&upn=8efBesRzYPU&gir=yes&sparams=clen%2Cdur%2Cei%2Cgcr%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&gcr=ru&clen=172158182&mt=1487781034&pl=23&mv=m&ei=wL2tWIPJJoKyYOrkmdAI&ms=au&mm=31&mn=sn-ug5onuxaxjvh-n8vs&key=yt6&signature=6A66A63E2942F051751FD2FD46714315DAED0E96BD2.E3FDD2CC21D74D8FD8F30C7AEF6DBDFF0C27058E&title=Contra%3A%20Hard%20Corps%20(Sega%20Genesis)%20Full%20Playthrough%20%5B360p%5D
2/22/17 11:35:27.427 PM com.apple.WebKit.WebContent[3565]: [23:35:27.427] clientHandledCustomURLCancel signalled err=-12663 (kFigHTTPError_ParamErr) (No matching request found) at /Library/Caches/com.apple.xbs/Sources/CoreMedia/CoreMedia-1731.15.20/Prototypes/FigHTTP/FigClientHandledCustomURLProvider.c line 380
2/22/17 11:35:27.428 PM com.apple.WebKit.WebContent[3565]: [23:35:27.428] clientHandledCustomURLCancel signalled err=-12663 (kFigHTTPError_ParamErr) (No matching request found) at /Library/Caches/com.apple.xbs/Sources/CoreMedia/CoreMedia-1731.15.20/Prototypes/FigHTTP/FigClientHandledCustomURLProvider.c line 380
2/22/17 11:35:27.429 PM com.apple.WebKit.WebContent[3565]: *** -[AVAssetResourceLoadingRequest finishLoading] was sent to an instance of AVAssetResourceLoadingRequest that was already finished. Ignoring.
vk.com killer not working whether it's embedded or on the site. this is really useful for appletv.
After vkontakte social network moved to the short name vk.com, previous killer is not working anymore.
Several days ago Вконтакте.js killer for vk.com networks stopped working, as far as I see it points to the wrong URL to .mp4 file.
Download Video file doesn't work as well saying "The requested URL was not found on this server".
While browsing YouTube with ClickToPlugin, I've noticed over the past month that the blocker no longer works. This is because, as it appears, YouTube is detecting that flash isn't installed or supported, and replaces the element that ClickToPlugin inserts (or at least replaces their flash element, thus hiding ClickToPlugin's), and loads their own HTML5 player. I found a script that might help block the HTML5 player, which should be a step in the right direction.
I notice that generally videos load faster and with less issues while using ClickToPlugin rather than youtube's HTML5 player. Plus, I like the download options and stability of the more native element.
https://bitbucket.org/panzi/block-youtube-html5-videos/overview
Since this morning, the youtube killers don't work anymore. I looks like they can't "get to" the actual video. The awesome hoyois wrote a CCSfix.js https://raw.githubusercontent.com/hoyois/plugin-to-html5/master/CSSfix.js
Maybe Youtube changed something breaking this? Or maybe the acutal killers? Does anyone have the same issue and an idea what would fix it?
@hoyois
youku.js and tudou.js is not working any more,this two scripts were written by me long long ago,u can just delete them!
What license is used for the sourcecode of this project?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.