mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 09:58:14 +00:00
CC support with Invidious and MPV
This commit is contained in:
12
Model/Captions.swift
Normal file
12
Model/Captions.swift
Normal file
@@ -0,0 +1,12 @@
|
||||
import Foundation
|
||||
|
||||
struct Captions: Hashable, Identifiable {
|
||||
var id = UUID().uuidString
|
||||
let label: String
|
||||
let code: String
|
||||
let url: URL
|
||||
|
||||
var description: String {
|
||||
"\(label) (\(code))"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user