Add support for Google Docs videos
This commit is contained in:
parent
2730c54344
commit
4198f3ce2c
6 changed files with 158 additions and 3 deletions
|
|
@ -1402,6 +1402,13 @@ function parseMediaLink(url) {
|
|||
};
|
||||
}
|
||||
|
||||
if ((m = url.match(/docs\.google\.com\/file\/d\/(.*?)\/edit/))) {
|
||||
return {
|
||||
id: m[1],
|
||||
type: "gd"
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
id: null,
|
||||
type: null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue