diff --git a/video/out/cocoa/events_view.m b/video/out/cocoa/events_view.m index 4a0c4bfe04..5de4a99eec 100644 --- a/video/out/cocoa/events_view.m +++ b/video/out/cocoa/events_view.m @@ -362,7 +362,12 @@ options:@{}]; NSMutableArray* ar = [[[NSMutableArray alloc] init] autorelease]; for (NSURL* url in pbitems) { - [ar addObject:[url path]]; + if (url.fileURL) { + [ar addObject:[url path]]; + } + else { + [ar addObject:[url absoluteString]]; + } } [self.adapter handleFilesArray:ar]; return YES;