-
-
Notifications
You must be signed in to change notification settings - Fork 649
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webview: Do not open YouTube and Vimeo links in Lightbox.
Fixes #2895. We do not support video in the Lightbox screen, nor do we intend to (no benefit). Instead treat the links as normal ones if they are to a video on YouTube or Vimeo. This matches the behavior of many other mobile apps. These are the two types of video links the webapp embeds in messages, as seen in zulip/zulip's static/js/lightbox.js . This logic is kind of fragile, though; for example, we still do the wrong thing on images inside an embedded tweet.
- Loading branch information
1 parent
9fc7698
commit f0a4709
Showing
3 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters