Player pause

This commit is contained in:
Fernando Jiménez Moreno 2018-09-13 14:15:31 +02:00
parent 8fd9b72eb7
commit b656ae195f
3 changed files with 13 additions and 16 deletions

View file

@ -360,8 +360,7 @@ impl HTMLMediaElement {
// Step 2.3.2.
this.upcast::<EventTarget>().fire_event(atom!("pause"));
//FIXME(victor)
//this.player.pause();
this.player.pause();
// Step 2.3.3.
// Done after running this closure in