Enabled button tooltips for non-mobile devices

This commit is contained in:
Nitish Yadav 2022-03-14 21:56:15 +05:30
parent 8a7a10f7d5
commit 54138be4e1

View file

@ -445,12 +445,14 @@ export default {
buffered: "rgba(255, 255, 255, 0.54)",
played: "rgb(255, 0, 0)",
},
enableTooltips: true,
};
if (this.$ui.isMobile()) {
config.controlPanelElements = config.controlPanelElements.filter(
prop => prop != "play_pause" && prop != "volume",
);
config.enableTooltips = false;
}
this.$ui.configure(config);