mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
Media fragment parser
This commit is contained in:
parent
95b304b786
commit
dc11219496
7 changed files with 464 additions and 11 deletions
|
@ -55,6 +55,10 @@ impl VideoTrack {
|
|||
self.id.clone()
|
||||
}
|
||||
|
||||
pub fn kind(&self) -> DOMString {
|
||||
self.kind.clone()
|
||||
}
|
||||
|
||||
pub fn selected(&self) -> bool {
|
||||
self.selected.get().clone()
|
||||
}
|
||||
|
@ -72,7 +76,7 @@ impl VideoTrackMethods for VideoTrack {
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-videotrack-kind
|
||||
fn Kind(&self) -> DOMString {
|
||||
self.kind.clone()
|
||||
self.kind()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-videotrack-label
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue