     func setupPlayerLayer(withPlayer player: AVPlayer) {
         self.layer = CALayer()
         guard let layer = self.layer else {
-            NSLog("Aerial Errror: Couldn't create CALayer")
+            NSLog("Aerial Error: Couldn't create CALayer")
             return
         }
         self.wantsLayer = true

@objc(AerialView)
class AerialView: ScreenSaverView {
    var playerLayer: AVPlayerLayer!
    var preferencesController: PreferencesWindowController?
    static var players: [AVPlayer] = [AVPlayer]()
    static var previewPlayer: AVPlayer?

        
        let preferences = Preferences.sharedInstance
        debugLog("playing video: \(preferences.use4KVideos ? video.url4K : video.url1080p)")
        self.textLayer.string = video.name

        // Animate text
        let fadeAnimation = CAKeyframeAnimation(keyPath: "opacity")
        fadeAnimation.values = [0, 1, 1, 0]
        fadeAnimation.keyTimes = [0, 0.2, 0.8, 1]
        fadeAnimation.duration = 10
        self.textLayer.add(fadeAnimation, forKey: "textfade")

        
        if player.rate == 0 {
            player.play()
        }
