Nheko-Reborn / nheko

Desktop client for Matrix using Qt and C++20.
https://nheko-reborn.github.io/
GNU General Public License v3.0
1.84k stars 199 forks source link

Add support for widgets #82

Open pravi opened 4 years ago

pravi commented 4 years ago

System:

Actual behavior

No support for adding or viewing etherpad widget.

Expected behavior

I should be able to view attached etherpad and other widgets.

Steps to reproduce

Logs

Debugger backtrace

z33ky commented 2 years ago

I don't know how widgets are generally implemented in Matrix. I know for jitsi there is a separate URL available for the meeting room. It'd be nice even to just have a listing of these "active" widgets and their external URL, even if their content isn't displayed (yet).

deepbluev7 commented 2 years ago

Yeah, we should really display the links. That means at least some widgets can be somewhat used. Many newer widgets require client integration though (like FOSDEM), so those won't work :/

rathann commented 1 month ago

FWIW, the YouTube widget does not work, either. Clicking the displayed URL opens Firefox with https://scalar.vector.im/api/widgets/youtube.html?url=https%253A%252F%252Fwww.youtube.com%252Flive%252... (trimmed) and an error message saying "API Error (403): Missing access token".