-
-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature REquest : copy dl link in clipboard / .mkv video support in video player #271
Comments
Hi Kirtapix, Copying download link - it's a very good idea for a Pull Request :). About Happy New year :)! |
Could you please tell me why don't you use |
I use |
@coderaiser It's actually just Firefox that can't play MKV files. Chromium and Edge native both support playing MKV files by declaring a "video/webm" MIME type.
|
In this case |
copy the download link to the clipboard. This menu item is also useful for video player that support streaming. 'Copy File Path': () => {
const filePath = `${window.location.href}${window.encodeURI(document.querySelector('.current-file > [data-name=js-name] > a').text)}`
console.log(filePath)
}, |
@doublethinkio you can also use: export default {
'F6 - Copy URL to Current File': async ({DOM}) => {
const {path} = DOM.CurrentInfo;
const url = `${window.location.href}${path}`;
const {default: clipboard} = await import('https://cdn.skypack.dev/@cloudcmd/clipboard');
await clipboard.writeText(url);
}
} Just added to wiki. |
@coderaiser Wow it looks great, thank you |
Hi coderaiser,
Is it possible to add a "copy download link to clipboard" in the Menu ?
I'm not able to preview mkv file, do you is it possible to add it in the video player ? For now cloudcmd see it like a binary file.
Thanks in advance.
Kirtapix
By the way : Happy new year 😀
The text was updated successfully, but these errors were encountered: