use svg-inline-loader

This commit is contained in:
DIYgod
2018-02-08 17:57:46 +08:00
parent 0ae45111af
commit df1deb3c75
28 changed files with 169 additions and 155 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import utils from './utils';
import Thumbnails from './thumbnails';
import Icons from './icons';
class Controller {
constructor (player) {
@@ -180,7 +181,7 @@ class Controller {
}
else {
this.player.video.muted = true;
this.player.template.volumeIcon.innerHTML = this.player.icons.get('volume-off');
this.player.template.volumeIcon.innerHTML = Icons.volumeOff;
this.player.bar.set('volume', 0, 'width');
}
});