Clean up constants.
Provide a way of adding more buttons to the view.

Only the Full Screen playback button is implemented for movies here.

Next we should discuss which buttons we actually want by default. Opinions about that seem to differ.
EXPERIMENTAL & BUGGY: Attempt to use QTKit.

1. making the buttons draw above the video view requires CoreAnimation Layers (or extra windows which I certainly don't want to get into). 

2. Getting the fullscreen stuff to look good will be a fair amount of work.

3. Even more so for X.5 where it's easier to accidentally kill interaction with the machine.

4. You need to set the 'use QTKit' user default to true for QTKit to be used

5. Even without that default, the redrawing is messed up (due to the layers I think). One needs to click (and hold) to see the correct image.

6. Processing is not asynchronous yet, which would be important for reasonable performance.

7. The fullscreen layout isn't pretty at all and my buttons disappear when going there. Couldn't figure that out yet. Does anybody know a library with a readymade full-screen player?

Conclusion: It will take quite a bit of work to get this right but it should be feasible for X.5 and above. 

Note QTMovie's method to determine whether it's able to load a movie is buggy (returns NO on YouTube URLs in 10.5.1.), so we can't use that. 

Comments / Discussion would be useful I think.
Working fullscreen playback.

Using a different technique which I saw on some Cocoa oriented website a while ago. Seems to work all right.
further progress, still buggy

Some async improvements.
Attempts to add a HD button.
Removed one superfluous view layer.
Attempt to insert a key loop (we should discuss what would how exactly this is supposed to work and whether it can work at all in WebKit - that remains unclear to me).
Autoplay support.
Remembers volume level (suggested on the bug tracker).

nagging issues:
The view doesn't seem to be redrawn when changing tabs.
I'd like to resize the view when knowing the movie size as the buttons may end up strangely positioned otherwise, so far I could only stall Safari when doing so (perhaps because I'm not on the main thread?)
Fix redrawing and action menu.

This means even more layer backing.
correct log message
Move logging setup from Plugin to Utilities.

… and use it from CTFLoader as well.
Add download button.

Clean up existing buttons a bit.

The icon could certainly be improved.
Make gloss on preview image more glossy.

Thanks to Henrik Cederblad for his advice on how to do this.
Make sure we only load ourselves once.

While the QTMovie loads the user could click the button another time, leading to a crash.
Improve Full Screen experience

Make escape key actually work.
Pass on other key events just in case.
Change Tooltip for Fullscreen button when in fullscreen mode.
Make sure we have proper bounds.

I saw situations where [mainContainer bounds] returned NaN stuff which didn't make the subsequent init... function too happy. Not really sure _why_ that happens, but this seems to put us on the safe side.
Improve handling of embedded YouTube.

We were scanning for »var swfArgs = {« but that seems to fail on quite a few pages I saw last week. (e.g.:
http://www.fscklog.com/2009/10/drei-neue-get-a-mac-ads-zum-start-von-windows-7-videos.html 
http://www.scienceblogs.de/mathlog/2009/10/mathematik-zum-anfassen-auf-youtube.php 
http://www.fakesteve.net/2009/10/mosspuppet-claims-hes-sabotaged.html

It looks like the flashvars are stored after a »'SWF_ARGS': {« for those, so I'm scanning for that as well now.

A general YouTube change, perhaps? Does the old string still occur?
Use bindings to display tooltip on HD button.

So we can have different labels without the nightmare of tracking the current state.

Should probably do the same for other buttons / UI Elements.
Localisation stuff & Preferences update

Add de and fr Localisation for cocoa-killer and QTKit-experimental changes. French contributed by Ronald Leroux.

Rename Whitelist.xib to Preferences.xib.

Changes to the preferences include further simplification along the lines of the suggestions in
http://rentzsch.lighthouseapp.com/projects/24342/tickets/399-layout-suggestions-for-settings-window

Also includes code changes to make the two-checkbox method for the sIFR settings actually work.
Merge branch 'cutting-edge' of git://github.com/simX/clicktoflash into QTKit-experimental.

Fingers crossed!

Conflicts:
	ClickToFlash.xcodeproj/project.pbxproj
	Plugin/Plugin.h
	Plugin/Plugin.m
	Plugin/SparkleManager.m
Move Clean Sparkle build phase to Updater app.
Improve wording for update preferences.
Properly centred icon for Download button.

(If anybody has a better graphic for this, feel free to add it.)