mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +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 AudioTrack {
|
|||
self.id.clone()
|
||||
}
|
||||
|
||||
pub fn kind(&self) -> DOMString {
|
||||
self.kind.clone()
|
||||
}
|
||||
|
||||
pub fn enabled(&self) -> bool {
|
||||
self.enabled.get()
|
||||
}
|
||||
|
@ -72,7 +76,7 @@ impl AudioTrackMethods for AudioTrack {
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-audiotrack-kind
|
||||
fn Kind(&self) -> DOMString {
|
||||
self.kind.clone()
|
||||
self.kind()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-audiotrack-label
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue