hoyois / clicktoplugin Goto Github PK
View Code? Open in Web Editor NEWPrevents plug-ins from loading automatically in Safari
Home Page: http://hoyois.github.com/safariextensions/clicktoplugin/
Prevents plug-ins from loading automatically in Safari
Home Page: http://hoyois.github.com/safariextensions/clicktoplugin/
Clicktoflash runs plays shows on abc.com when Flash Player says my flash is out of date. Safari 5.0.6. Plays for several minutes and Safari crashes - "The problem may have been caused by the Flash-Player 11.4-11.5 plug-in." How do I get Safari to stop crashing?
Hi,
Just tried to watch BBC Olympics with clicktoplugin enabled and the BBC killer not working on some pages for example:
Olympics coverage page: http://www.bbc.co.uk/sport/olympics/2012/live-video/bbc_two_2012_hd
iPlayer site: http://www.bbc.co.uk/iplayer/episode/b01llnb2/Horizon_20122013_Mission_to_Mars/
I was noticing that when watching Full Episodes of either the Daily Show or the Colbert Report, with ClicktoPlugin enabled, the "full" episode is between 8 and 12 minutes long, depending on the amount of time between the start of the show and the first commercial. If one disables ClicktoPlugin, the episode is about 20-25 minutes long.
In some instances, the Flash Player plugin loads despite neither the domain nor the originating URL being on the white list. As an example, this is my current control list:
Yet this instance of Flash Player loaded automatically:
I'm not sure whether this is related to the YouTube killer. I suspect it is; for a while, the YouTube killer has not been functioning correctly (most videos currently load via Flash).
I'm using ClickToPlugin with XBMC 12.0, appended :36667 to the hostname and "Send via AirPlay" worked like a charm for vimeo and TED, etc. However it doesn't work for YouTube, when I click "Send via AirPlay" nothing happens.
Also, I have tried AirServer as well, without appending a port number, according to this page it's supposed to work, but I can't get it working at all.
I can click "Open in QuickTime Player", find out the video URL and use AirFlick to send those YouTube videos to my AirServer perfectly fine. (XBMC doesn't show up in AirFlick though.)
As of today, ClickToPlugin appears unable to kill the new Vimeo.com players and replace w/HTML5 video. Just wanted to put it out there that (apparently) something has changed.
If you need particular data or information, just let me know and I'll dutifully collect to make things easier. If I can edit the killer myself - let me know what changed values I need to observe.
Flash Player version 11,1,102,55 installed, btw.
I've loaded, removed, reloaded, all with restarts, the extension 3 times. I'm not able to generate a preferences tab - it shows up blank. Any ideas on what I can do, please?
Thanks.
I'm a huge fan of both CTP & CTF, relying on each to improve my video experience. However, YouTube has been forcing the HTML5 player down my throat, recently. Is there a way to enable CTP & CTF to force the YouTube HTML5 player to be replaced?
CTP or CTF insert into the page, then YouTube places their HTML5 player atop the video. The YouTube HTML5 player is slower, freezes on me, and disallows full-screen.
Possible to add this option in prefs?
I am considering bundling clicktoplugin with my desktop blog editing app, MarsEdit, so I could easily put a facade on complicated assets like Flash, Silverlight, etc., in the preview.
Have you established a license for clicktoplugin? If not, would you consider doing so, so I can better evaluate the usefulness of the code to my (commercial) needs?
Thanks!
Daniel
Hi,
I just saw that there was an update for clicktoflash on 06.11.2013 with these notes:
"Updated the YouTube killer with support for 480p FLV, 1080p MP4, and 1440p MP4 videos"
But I can only select 360p MP4 and 720p MP4.
What happened with the other formats?
thanks
This is perhaps a rather large request depending on the implementation, but I've thought it would be great if ClickToPlugin's video replacement worked even without the Flash plugin installed at all. Having access to the nice interface, resolution selectors, etc. would be great, without having to bother with Flash on my system at all.
Since the last few days no video is loading in YouTube. It shows "loading" and stay that way forever.
With CTP 2.8.5, Safari 6.0.5 (8536.30.1) on 10.8.5 on a Retina MBP, I'm seeing Dailymotion videos (and their placeholders) at half size (both on the native and an external display). Example: http://wchp.co/dm/x13031l
With CTP disabled, the video displays normal size.
I don't know if it is the recent Safari update kills this extension. I still see the html5 player replaces Flash, when I start a video on Youtube, but it will not play, even after I click the play button. It used to work splendidly, loading and auto-playing right away.
I tried and found that, I can still download video without major speed problem, even though the picture is still in the browser. So I think it is not likely a problem lying in the network. I also reinstalled the extension for testing. But still the same problem.
My environment is Mac OSX 10.9.2, Safari 7.0.3 (9537.75.14), Clicktoflash 2.92. Please help. Thank you.
Clicktoplugin's settings are not coming up either during initial installation nor from the Extensions page. This installation is on a Dell Mini 10V running Mac OSX 10.6.7.
The Daily Show's website was recently redesigned and as a result it no longer replaces the Flash video with HTML5. It would be great to restore the functionality!
Would it possible to add the ability to select an individual video URL's from a playlist for QuickTime Player or Airplay? Unless there's something I'm not understanding, currently only the first video of a playlist is played when either QuickTime or Airplay is selected.
Hello,
I'm running OS 10.9, Maverick with Click to plugin 2.8.8. Safari 7.
Click to plugin settings are all default.
Youtube previously had many resolutions to select.
Now it defaults to only: Flash, 240p (FLV), 360p MP4, 720p MP4.
Looking for a fix. Thanks!
Hello,
i just installed Mavericks last night and noticed some issues with Clicktoplugin (clicktoflash also) when i try to watch a video on youtube. (Other sites seem fine so far).
In general Clicktoplugin seems to work fine with the new Safari in Mavericks. I also have Perian installed and i am also on the Youtube HTML5 Trial.
When i want to watch a video where the Youtube HTML5 player doesn't start up, everything seems fine, the Preview loads, the clicktoplugin overlay, the source selector shows too... Like it does on Mountain Lion too.
Now if i click on the html5 replacement, the video would normally start to load and play...
Now on Mavericks it just says "loading" and nothing happens.. (see attached Image).
I tried this with several videos, they all won't load...
Is this a Youtube Problem or a Mavericks bug?
Thanks for reading and keep up the awesome work! I love your plugins!
Installed 2.9.1, watching http://www.youtube.com/watch?v=MijmeoH9LT4 at 720p. Video is showing half size.
Full episodes of the Daily Show and full episodes and video segments of Colbert are no longer working. I'm guessing this probably has to do with the MTVNetwork killer as the location that appears on the placeholder pops up with arc: instead of cms: .
Since I upgraded to Mavericks videos won't open in QT Player. I did set the security options for plugins allowing the QT Player plugin to to run in unsafe mode.
dailyshow and colbert were working fine 4/23/2014. Just stopped working today. No labeled placeholder shows up. However, for the Midnight show, some Amy Schumer episodes, etc., the placeholder shows up so it's not all of Comedy Central.
If I play the main video from the user page I get no player controls...
For example: http://www.youtube.com/user/TheVerge?feature=watch The first embedded video.
Possible related to Safari 6.0 on Mountain Lion, not sure.
Update: not only in YouTube. Also here for example: http://www.vkmag.com/magazine/koning_photoshop_alexander_koshelkov_aan_het_werk/
To enable auto play of YouTube embedded videos I can put www.youtube.com/embed
in the "Autoplay on these sites" area, but that enables it globally. If I just put in the domain of the site where the embedded videos is on, it doesn't work.
How can I achieve auto play YouTube embeds on certain sites? Or it is not possible with current implementation?
Thanks.
on google.de during the image search when using together with ghostery.
if just one is enabled everything is fine, but together they lockup safari. spinning of death.
Does clicktoflash or clicktoplugin support the apple tv 3g. I've attempted to try it from 1.6 GHz mac mini (10.6.8) and 1.0 GHz eMac PPC (10.5.8) and while I can get the HTML5 viewer to appear, I can't get the Apple TV interface to work.
This problem appears after upgrading to OSX 10.9(Safari 7)
Is there a white (or black) list for additional killers? I understand I shouldn't be able to load stuff from disk, but I frankly found it weird that it wouldn't load a .js file from my own localhost server.
How am I supposed to test new killers, or to figure out why some of them might not be working?
Thanks
Hey there,
since some weeks I'm having the following problem.
The preview image of a flash video (e.g. http://www.sirver.net/blog/2011/12/30/first-episode-of-ultisnips-screencast/) is totally correct:
but as soon, as I click to open the flash, I get the following 'disaster':
the Video doesn't show any control buttons nor does it have a correct size to be watched. I can only control it via Spacebar and going into fullscreen (where the typical video playback controls appear) via context menu.
The video was from youtube. But usually it doesn't matter where it lies. It's almost ever the wrong size.
With clickToFlash disabled, this issue doesn't occur.
Best,
Plattenschieber
The BBC have started using a different smaller container for news clips which the plugin no longer recognises or handles. Older clips, which are slightly larger (in width and height) still work. Here's an instance of the new container:
https://gist.github.com/funkytaco/0153060b18679d5eecd2
It looks like the gist server is acting up, so here's some info.
domain is *.aereo.com (it's based on the city so my TLD is atl.aereo.com)
For Atlanta streaming TV viewers:
The swf player file is in directory atl.aereo.com/assets/swf/
It looks like Adobe media server stream is pulled into the SWF.
The installation/update fails saying
Safari can’t install this extension
An error occurred while installing the extension “ClickToFlash”.
In the system log I find at the same moment
Oct 26 11:31:25 lara.local sandboxd[135] ([58949]): com.apple.WebKit(58949) deny file-read-data /Applications/Safari.app
Oct 26 11:31:25 lara.local sandboxd[135] ([58949]): com.apple.WebKit(58949) deny file-read-data /Applications/Safari.app/Contents
It looks like Click-to-Plugin is overriding option (alt) + < to open the preferences window.
However, this key combination is used on OS X to enter a less-than-or-equal-to symbol (≤).
<!--
Plugins enabled: works
Plugins disabled: works
-->
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/L0yQunhOaU0" style="width: 640px; height: 480px;">
<param name="movie" value="http://www.youtube.com/v/L0yQunhOaU0" />
<param name="AllowScriptAccess" value="SameDomain" />
<param name="AllowFullScreen" value="true" />
</object>
<!--
Plugins enabled: works
Plugins disabled: works
-->
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/L0yQunhOaU0" style="width: 640px; height: 480px;">
<param name="movie" value="http://www.youtube.com/v/L0yQunhOaU0" />
<param name="AllowScriptAccess" value="SameDomain" />
<param name="AllowFullScreen" value="true" />
<p>Install and activate Adobe Flash to watch this movie.</p>
</object>
<!--
Plugins enabled: ClickToFlash thread as flash and not replace with YouTube video
Plugins disabled: empty placeholder
-->
<object type="application/x-shockwave-flash" data="jwplayer.swf" style="width: 640px; height: 480px;">
<param name="movie" value="jwplayer.swf" />
<param name="flashvars" value="file=http://www.youtube.com/v/L0yQunhOaU0" />
<param name="AllowScriptAccess" value="SameDomain" />
<param name="AllowFullScreen" value="true" />
</object>
<!--
Plugins enabled: ClickToFlash thread as flash and not replace with YouTube video
Plugins disabled: wrong size (0*0) and empty placeholder
-->
<object type="application/x-shockwave-flash" data="jwplayer.swf" style="width: 640px; height: 480px;">
<param name="movie" value="jwplayer.swf" />
<param name="flashvars" value="file=http://www.youtube.com/v/L0yQunhOaU0" />
<param name="AllowScriptAccess" value="SameDomain" />
<param name="AllowFullScreen" value="true" />
<p>Install and activate Adobe Flash to watch this movie.</p>
</object>
<!--
Plugins enabled: works
Plugins disabled: works
-->
<object type="application/x-shockwave-flash" data="jwplayer.swf" style="width: 640px; height: 480px;">
<param name="movie" value="jwplayer.swf" />
<param name="flashvars" value="file=http://www.youtube.com/watch?v=L0yQunhOaU0" />
<param name="AllowScriptAccess" value="SameDomain" />
<param name="AllowFullScreen" value="true" />
</object>
<!--
Plugins enabled: works
Plugins disabled: wrong size (0*0) and empty placeholder
-->
<object type="application/x-shockwave-flash" data="jwplayer.swf" style="width: 640px; height: 480px;">
<param name="movie" value="jwplayer.swf" />
<param name="flashvars" value="file=http://www.youtube.com/watch?v=L0yQunhOaU0" />
<param name="AllowScriptAccess" value="SameDomain" />
<param name="AllowFullScreen" value="true" />
<p>Install and activate Adobe Flash to watch this movie.</p>
</object>
When trying to watch a video using HTML5, it shows the Loading... message but never actually plays. Clicking the play button does nothing.
The only way to get it to play is to right click on the video and select "restore flash".
Whenever I install ClickToFlash or ClickToPlugin 2.5.1 it causes Safari to crash. I can install the 2.3.x version on Apple's Extension gallery just fine though. I am running Safari 5.0.6 on Mac OS X 10.5.8 PPC. I'll try to attach the crash log.
I've noticed this on a couple of sites: embedded YouTube videos don't work, but they work fine in CTP on YouTube. Here's the last page I noticed it on
http://boingboing.net/2014/02/26/google-lobbying-against-glass.html
The video needs to be clicked to load, but then CTP seems to handle it. But it goes into infinite loading once you click the CTP placeholder. But if I choose 'View on YouTube' I can view the source video without any problems.
When I try to switch to full-screen a youtube video shared on Google+, then the whole site just goes fullscreen.
A workaround is to open the video in youtube site first then FS is working ok.
I'm using the possible final build of Mountain Lion with Safari Version 6.0 (8536.25).
The plugin causes Safari to hang from time to time when it is having issues to load or start playing the movie.
There is a big youtube issue with the current click to flash. When I install it to mavericks or the mountain lion, with the latest safari on it, the youtube site takes weird issues.
When I play one video, it run, but when I choose another video from the list of the right side... safari will open it, the title changes, and everything, exempt the video itself. The same video runs, that I play at first time. :D
And the second: When I play a video, and go back to the home page os youtube, I see the home page, but the video-s audio don't stop, and keep running at the background.
Third:
The video-s in html 5, only can played in 720p. I try to change anything, but still I can't watch a youtube video at 1080p. :(
Hi there,
I don't have any Flash Player installed in my Mac and I am using Safari to play Facebook video. I had the latest version of ClickToPlugin 2.8.7 installed but Facebook video won't play and ask for flash plugin. I attached the screenshot and I read the Help page already.
Kindly advise.
Thank you,
David
If I open a Youtube video, having configured Click2Plugin to use the HTML5 player by default and "Instant Auto Play" enabled, once the video is playing, if I leave the browser window or tab, a second or more instances of the audio (perhaps the whole video) play out of phase with the original. Enabling Quicktime Plugin's Full Screen appears have the same effect.
Not 100% reproducible, leading me to become paranoid anytime I play and fullscreen any video from YouTube, Vimeo, Apple.com, etc. (load, fullscreen, listen to first few seconds, pause, wait, play, pause, repeat, mental breakdown)
A similar effect related to auto play HTML5 video players is discussed on this Stack Overflow question, with a nearly identical behavior in the poster's attached screen grab video.
Workaround in Click2Plugin is to disable "Instant Auto Play" and have "Initial Behavior" set to anything except "AutoPlay".
With 2.9.2 and 2.9.3; if I start playing a HTML5 YouTube video which is in my FB stream then try and play it full screen it zooms but as it zooms the video is replaced by a full screen display of Facebook, i.e. of the browser window. Safari 7.0.3, OS X 10.9.2. This is very like the problem with G+. It's a minor inconvenience - I can 'view on YouTube' or download anything I want to watch. I'm sure it worked before, I think quite recently.
addKiller("YouPorn", {
"canKill": function(data) {
if(data.type !== "application/x-shockwave-flash") return false;
return data.src.indexOf("youporn.phncdn.com/cb/bundles/youpornwebfront/flash/Player") !== -1;
},
"process": function(data, callback) {
var flashvars = parseFlashVariables(data.params.flashvars);
var siteInfo = data.location;
var xhr = new XMLHttpRequest();
xhr.open("GET", siteInfo, true);
xhr.addEventListener("load", function() {
var re = /\$video\.src = '(.*)*';/mg;
var url = re.exec(xhr.responseText)[1];
if(url.length) {
callback({
"playlist": [{
"poster": decodeURIComponent(flashvars.image_url),
"sources": [{
"url": decodeURIComponent(url),
"isNative": true
}]
}]
});
}
}, false);
xhr.send(null);
}
});
Hi, I'm the author of ChromePlay extension which shares a tiny bit of clicktoplugin functionality, which is AirPlaying videos.
Did you notice that YouTube is broken? The direct urls we are extracting just do not play anymore. Any ideas how to approach it?
Buffering seems to be very slow for me in full screen after a while. If I quit full screen mode it starts buffering again.
This might be due to Apple's App Nap feature, which treats every tab as a separate WebContent process. Unfortunately I couldn't find a way to disable App Nap for Safari tabs to test this.
Why after watching a bunch of youtube videos, do video lag so badly? They start and then just freeze on a spot at the very beginning - the audio plays fine - but the video need starts to play to catch up.
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.