Skip to content

Shared text files (tested with public read-only share links) : links previews not working properly #8586

@Jerome-Herbinet

Description

@Jerome-Herbinet

Describe the bug
Video links preview not working properly (missing thumb)

To Reproduce
Steps to reproduce the behavior:

  1. Create a Nextcloud Texte file
  2. Copy and paste this PeerTube link in your file https://videos.domainepublic.net/w/rEdwXpBwRTjfNxMmfjqtyQ
  3. Set the link with "Show link preview" option
  4. Save the document
  5. Share it (read-only public share)
  6. Open the share link (before, make sure to be disconnected)
  7. See that only the URL appears in the block (but not the title, description and video preview thumb)

Expected behavior
The video preview block should appear the same way as in the edition mode (when connected)

Screenshots

Edition mode, as a connected user and file's owner Same file accessed with a read-only public share link
Image Image

Same issue with Nextcloud Text used in Nextcloud Collectives (read-only public share link) :

Page edited in Collectives Same collective's page seen through a read-only public share link
Image Image

Server details:

  • Nextcloud version: 32.0.9
  • PHP Version: 8.3
  • Database: MariaDB
  • Nextcloud Text app version : 6.0.2

Client details:

  • OS: Linux Mint Cinnamon 22.3
  • Browser: Firefox
  • Browser version: 150.0.2
  • Device: Desktop
Logs

Nextcloud log (data/nextcloud.log)

Can be provided if necessary

Browser log

Can be provided if necessary

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions