Map<String, Object?> toMap() => <String, Object?>{"loop": loop, "muted": muted, "autoplay": autoplay, "volume": volume};