mirror of
https://github.com/yattee/yattee.git
synced 2025-10-10 17:38:15 +00:00
Opening videos by URL and local files
This commit is contained in:
@@ -27,6 +27,11 @@ struct OpenURLHandler {
|
||||
}
|
||||
#endif
|
||||
|
||||
if url.isFileURL {
|
||||
OpenVideosModel.shared.open(url)
|
||||
return
|
||||
}
|
||||
|
||||
let parser = URLParser(url: urlByReplacingYatteeProtocol(url))
|
||||
|
||||
switch parser.destination {
|
||||
|
Reference in New Issue
Block a user