规范化play方法

This commit is contained in:
Harvey committed 2021-11-24 12:24:01 +08:00
1 parent 11e871ddc8
commit c5c4cf73eb
29 files changed
+81 -623

No files matched your search

@@ -17,11 +17,11 @@ export default function playAndPause(option) {
tooltip($pause, i18n.get('Pause'));
proxy($play, 'click', () => {
player.play = true;
player.play();
});
proxy($pause, 'click', () => {
player.pause = true;
player.pause();
});
function showPlay() {