     }
 
     /// Play the video if it's currently paused.  Pause if it's currently playing.
-    func togglePlayPause() {
+    public func togglePlayPause() {
         if avPlayer.rate > 0 {
             avPlayer.pause()
             logEvent(.Pause)

     
     See `AVPlayer.rate` for further information.
     */
    var rate:Float {
        get {
            return avPlayer.rate
        }

    //MARK: - Controlling Playback

    /// Play the video.  This method is idempotent.
    public func play() {
        if avPlayer.rate == 0 {
            avPlayer.play()
            logEvent(.Play)
