mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-30 23:34:09 +02:00
Fix TweetDeck not showing previews for youtu.be links with https
This commit is contained in:
parent
4c54876ecf
commit
eee1622801
@ -585,6 +585,13 @@
|
|||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
//
|
||||||
|
// Block: Fix youtu.be previews not showing up for https links.
|
||||||
|
//
|
||||||
|
TD.services.TwitterMedia.YOUTUBE_TINY_RE = new RegExp(TD.services.TwitterMedia.YOUTUBE_TINY_RE.source.replace("http:", "https?:"));
|
||||||
|
TD.services.TwitterMedia.YOUTUBE_RE = new RegExp(TD.services.TwitterMedia.YOUTUBE_LONG_RE.source+"|"+TD.services.TwitterMedia.YOUTUBE_TINY_RE.source);
|
||||||
|
TD.services.TwitterMedia.SERVICES["youtube"] = TD.services.TwitterMedia.YOUTUBE_RE;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Block: Finish initialization and load plugins.
|
// Block: Finish initialization and load plugins.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user