nextcloud / nextcloud/server

Link reference provider preview - low quality YT preview thumbnail

Open
#40,867 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop 27-feedback bug feature: previews and thumbnails
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Summary

YouTube link previews in Talk can appear pixelated/stretched, esp when compared to the actual preview image on YouTube itself.

On YouTube:
image

In Talk:
image

our web guru @peterwebdesign adds:

I notice the image parsed is 168px wide but here in the chat message preview it gets stretched to 216px, that's why it gets very pixelated

Relevant URL:
https://www.youtube.com/playlist?list=PL4eBKdNy6FCHIvz0d-brugUyOXvXdacpf


Talk app

Talk app version: (see apps admin page: /index.php/settings/apps)

Custom Signaling server configured: yes/no and version (see additional admin settings: /index.php/index.php/settings/admin/talk#signaling_server)

Custom TURN server configured: yes/no (see additional admin settings: /index.php/settings/admin/talk#turn_server)

Custom STUN server configured: yes/no (see additional admin settings: /index.php/settings/admin/talk#stun_server)

Browser

Microphone available: yes/no

Camera available: yes/no

Operating system: Windows/Ubuntu/...
Linux/openSUSE Tumbleweed

Browser name: Firefox/Chrome/...
Firefox

Browser version: 85/96/...
118.01

Browser log
``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```

Server configuration

cloud.nextcloud.com

Operating system: Ubuntu/RedHat/...

Web server: Apache/Nginx

Database: MySQL/Maria/SQLite/PostgreSQL

PHP version: 8.0/8.1/8.2

Nextcloud Version: (see admin page)

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your server installation folder

Nextcloud configuration:

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
Server log (data/nextcloud.log)
Insert your server log here

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the report. Start by reproducing the issue in Talk with the provided YouTube playlist URL and inspect how the link preview thumbnail is selected and rendered; done means the preview image is not pixelated or stretched compared with the source image.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.