0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-25 20:55:17 +00:00

refactor: 🔥 Remove "Open In VLC"

This commit is contained in:
Kenny 2022-06-14 21:41:08 -04:00 committed by Alex
parent 377b52ce92
commit 7fd18cf78c

View file

@ -367,12 +367,6 @@ export default {
dialogTitle: "Share video", dialogTitle: "Share video",
}); });
}, },
vlc() {
this.$youtube.showToast("Opening in VLC");
// redirect to vlc://url
window.location.href = "vlc://" + this.video.availableResolutions[this.video.availableResolutions.length-1].url;
},
sendWatchTime() { sendWatchTime() {
const player = this.$refs.player.getPlayer(); const player = this.$refs.player.getPlayer();
const rt = Math.floor(Date.now() / 1000) - this.startTime; const rt = Math.floor(Date.now() / 1000) - this.startTime;
@ -441,12 +435,6 @@ export default {
actionName: "enqueue", actionName: "enqueue",
disabled: true, disabled: true,
}, },
{
name: "Open in VLC",
icon: "mdi-traffic-cone",
actionName: "vlc",
disabled: false,
},
// { // {
// name: "Quality", // name: "Quality",
// icon: "mdi-high-definition", // icon: "mdi-high-definition",