Commit 9e9ca0e5 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: enable UI update timer on Safari 9

parent de857cc5
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment