Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Untitled #4

Open
wants to merge 13 commits into from

1 participant

@lapcat

Make sure that ClickToFlash view is on top, otherwise it can be covered up by another view with a higher z-index. For example, http://kottke.org/10/10/bridge-demolition

lapcat added some commits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 23, 2010
  1. @lapcat
  2. @lapcat

    Don't read version from Flash Player Info.plist, because the version …

    lapcat authored
    …is actually hard-coded in the Flash Player executable.
Commits on Mar 23, 2010
  1. @lapcat

    Merge branch 'rentzsch'

    lapcat authored
Commits on Mar 31, 2010
  1. @lapcat

    Merge branch 'rentzsch'

    lapcat authored
  2. @lapcat

    Ooops, merging with rentzsch/master didn't go so well, because my cha…

    lapcat authored
    …nges and its changes were in different locations in the files.
Commits on Apr 1, 2010
  1. @lapcat

    Fix for ticket 615. Probably a bug in CFNetwork, but it doesn't like …

    lapcat authored
    …when you do a hundred 301 redirects simultaneously. Load www.youtube.com directly, because youtube.com just redirects to there.
Commits on Jun 11, 2010
  1. @lapcat

    If a containing block element in small, then the ClickToFlash view wi…

    lapcat authored
    …ll not be visible, even though -[NSView visibleRect] and the DOMNode's computed style says it should be visible. Fix for https://rentzsch.lighthouseapp.com/projects/24342/tickets/690-flash-does-not-load-when-expected
Commits on Jul 4, 2010
  1. @lapcat

    Merge branch 'rentzsch'

    lapcat authored
Commits on Sep 13, 2010
  1. @lapcat
Commits on Oct 19, 2010
  1. @lapcat

    Make sure that ClickToFlash view is on top, otherwise it can be cover…

    lapcat authored
    …ed up by another view with a higher z-index.
  2. @lapcat
Commits on Nov 4, 2010
  1. @lapcat
  2. @lapcat
This page is out of date. Refresh to see the latest.
View
7 ClickToFlash.xcodeproj/project.pbxproj
@@ -309,7 +309,14 @@
isa = PBXProject;
buildConfigurationList = 55EB70350E04A8410016593D /* Build configuration list for PBXProject "ClickToFlash" */;
compatibilityVersion = "Xcode 3.0";
+ developmentRegion = English;
hasScannedForEncodings = 0;
+ knownRegions = (
+ English,
+ Japanese,
+ French,
+ German,
+ );
mainGroup = 55EB70300E04A8410016593D;
productRefGroup = 55EB70430E04A8640016593D /* Products */;
projectDirPath = "";
View
4 Plugin/Info-Plugin.plist
@@ -30,7 +30,7 @@
<string>http://rentzsch.github.com/clicktoflash/release_notes/appcast.xml</string>
<!--<string>http://rentzsch.github.com/clicktoflash/release_notes/appcast_distantfuture.xml</string>-->
<key>WebPluginDescription</key>
- <string>Shockwave Flash 10.0 r45</string>
+ <string>Shockwave Flash 10.1 r102</string>
<key>WebPluginMIMETypes</key>
<dict>
<key>application/x-shockwave-flash</key>
@@ -46,6 +46,6 @@
<key>WebPluginName</key>
<string>Shockwave Flash</string>
<key>CTFFlashVariableVersion</key>
- <string>MAC 10,0,45,2</string>
+ <string>MAC 10,1,102,64</string>
</dict>
</plist>
View
4 Plugin/Plugin.m
@@ -410,7 +410,7 @@ - (id) initWithArguments:(NSDictionary *)arguments
// problems with opacity
NSMutableDictionary *originalOpacityDict = [NSMutableDictionary dictionary];
- NSString *opacityResetString = @"; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;";
+ NSString *opacityResetString = @"; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important; z-index: 1000 !important;";
NSString *originalWmode = [[self container] getAttribute:@"wmode"];
NSString *originalStyle = [[self container] getAttribute:@"style"];
@@ -1632,7 +1632,7 @@ - (void)_retrieveEmbeddedPlayerFlashVarsAndCheckForVariantsWithVideoId:(NSString
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- NSString *URLString = [NSString stringWithFormat:@"http://youtube.com/watch?v=%@",videoId];
+ NSString *URLString = [NSString stringWithFormat:@"http://www.youtube.com/watch?v=%@",videoId];
NSURL *YouTubePageURL = [NSURL URLWithString:URLString];
NSError *pageSourceError = nil;
NSString *pageSourceString = [NSString stringWithContentsOfURL:YouTubePageURL
Something went wrong with that request. Please try again.