npapi-vlc | branch: master | Felix Paul Kühne <[email protected]> | Wed Sep 9 15:08:52 2015 +0200| [9e9ca0e5d9687de3351aa74c2bae1a7e4c3f1705] | committer: Felix Paul Kühne
macosx: enable UI update timer on Safari 9 > http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=9e9ca0e5d9687de3351aa74c2bae1a7e4c3f1705 --- npapi/vlcplugin_mac.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/npapi/vlcplugin_mac.mm b/npapi/vlcplugin_mac.mm index 571cb67..fd682e6 100644 --- a/npapi/vlcplugin_mac.mm +++ b/npapi/vlcplugin_mac.mm @@ -319,6 +319,9 @@ NPError VlcPluginMac::get_root_layer(void *value) if (strstr(userAgent, "Safari") && strstr(userAgent, "Version/5")) { NSLog(@"Safari 5 detected, deploying UI update timer"); [[(VLCPerInstanceStorage *)this->_perInstanceStorage browserRootLayer] performSelector:@selector(startUIUpdateTimer) withObject:nil afterDelay:1.]; + } else if (strstr(userAgent, "Safari") && strstr(userAgent, "Version/9")) { + NSLog(@"Safari 9 detected, deploying UI update timer"); + [[(VLCPerInstanceStorage *)this->_perInstanceStorage browserRootLayer] performSelector:@selector(startUIUpdateTimer) withObject:nil afterDelay:1.]; } else if (strstr(userAgent, "Firefox")) { NSLog(@"Firefox detected, deploying UI update timer"); this->runningWithinFirefox = true; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
