Skip to content
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

YouTube videos not playing in app #537

Closed
1 of 3 tasks
Yogislav opened this issue Aug 7, 2018 · 8 comments
Closed
1 of 3 tasks

YouTube videos not playing in app #537

Yogislav opened this issue Aug 7, 2018 · 8 comments

Comments

@Yogislav
Copy link

Yogislav commented Aug 7, 2018

Since 2.3.5 update I cannot play youtube videos in zulip. Whenever someone sends something and I click the thumbnail, whole screen turns black (as it usually was) but player is not visible.


  • Operating System:
    • Windows
    • Linux/Ubutnu
    • macOS
  • Clear steps to reproduce the issue:
  1. Send any YouTube video;
  2. Click on thumbnail;
  3. Stare at black screen;
@abhigyank
Copy link
Collaborator

Can reproduce on CZO in Ubuntu. Not reproducible on browser, only on the desktop app.

@timabbott
Copy link
Member

This seems likely related to the click handler overriding for uploaded files logic.

@timabbott
Copy link
Member

Look for the code around is_youtube_video in static/js/lightbox.js in the webapp to see how the youtube player is triggered.

@akashnimare
Copy link
Member

This used to work until the v2.3.2. @abhigyank there is some corner case which we missed.

@Yogislav
Copy link
Author

Yogislav commented Aug 8, 2018 via email

@timabbott
Copy link
Member

@akashnimare how does zulip/zulip-electron@6470f53 resolve this?

@abhigyank
Copy link
Collaborator

@timabbott 7299cd5 broke this for some reason (it works for all commits before this one). It was due to the sentry module breaking it somehow. Updating sentry to the latest version seems to fix this.

@timabbott
Copy link
Member

OK, cool; you should definitely be putting that context in the commit message!

akashnimare added a commit that referenced this issue Aug 14, 2018
This fixes the youtube video not playing in the lightbox issue.
Youtube video stopped playing in the lightbox when we added the
Sentry support. The exact reason behind the issue is still unknown
but we're guessing that previous version of Sentry doesn't exit
process on oncaught errors which might have caused lightbox to break.
The issue was fixed in the latest release of the Sentry v0.8.1.

Fixes: #537.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants