1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Cast updates

This commit is contained in:
Tim Hobbs 2014-04-09 16:58:09 -07:00
parent 32c1badcd9
commit a500f154d8
4 changed files with 176 additions and 69 deletions

View file

@ -174,6 +174,22 @@
return p.isDefaultPlayer;
})[0];
};
self.pause = function () {
currentPlayer.pause();
};
self.stop = function () {
currentPlayer.stop();
};
self.unpause = function () {
currentPlayer.unpause();
};
self.seek = function (position) {
self.changeStream(position);
};
}
window.MediaController = new mediaController();