import Foundation
import FireworkVideo

public enum PipPlacement: String, Codable, CaseIterable {
    case topLeft, topRight, bottomLeft, bottomRight

    func convertToFWPipPlacement() -> FireworkVideo.VideoPlayerContentConfiguration.PipPlacement {
        // Convert PipPlacement enum to FireworkVideo PipPlacement
        switch self {
        case .topLeft:
            return .topLeft
        case .topRight:
            return .topRight
        case .bottomLeft:
            return .bottomLeft
        case .bottomRight:
            return .bottomRight
        }
    }
}
