 import AppKit
 import Mocha
 import MochaUI
+import AVFoundation
 import Hangouts // FIXME ASAP!!!
 import ParrotServiceExtension
 

    }
    
    public func send(video: URL) {
        // Screw Google Photos upload!
        self.send(file: video)
        try? FileManager.default.trashItem(at: video, resultingItemURL: nil) // get rid of the temp file

                if locs.count > 0 { // is this a 1v1 convo with a Gmail user?
                    do {
                        let res = try DriveAPI.share(on: c, file: file, with: [locs.first!])
                        NSSound(data: NSDataAsset(name: NSDataAsset.Name(rawValue: "Sent Message"))!.data)?.play()
                        try! self.conversation?.send(message: PlaceholderMessage(content: .text(res.absoluteString)))
                    } catch(let error) {
                        log.debug("couldn't share file: \(error)")
