Skip to content

Upgrade to 7.0.0: After upgrading to version v7 the download URLs of the videos have changed. #6833

@parreitu

Description

@parreitu

Describe the problem

We use Moodle as our LMS. When embedding videos in Moodle, we need a URL that refers to a video with an extension, for example https://media.mydomain.com/w/1SgcqhqYJMqoUm7yrZRnZN.mp4 , but when sharing the video on peertube, the URL it generates does not have the extension at the end, it generates something like https://media.mydomain.com/w/1SgcqhqYJMqoUm7yrZRnZN , and Moodle does not recognise it as a video.

As a solution, what we have always done is to use the URL that Peertube offers when you go to download the video. In those cases it gives you a URL similar to this: https://media.mydomain.com/download/web-videos/07048dcc-cbe8-4ff6-a052-47165eebd2e4-1080.mp4

We have always done it this way and it has worked for us, although it is true that this type of views are not counted in the views of each video, but it is a minor problem.

After the update to version 7.0, we have noticed a problem that had never happened before with the updates, and that is that they have changed the download URLs of the videos, and now in the Moodle content where the video was referenced, you only see a black screen where the video should be, with a message that says that the referenced video does not exist.

I remember that during the update process, at one point I saw that the videos were being re-encoded, so I suspect that this process has been responsible for modifying the download URLs of all the videos I have on my Peertube instance.

If this is the case ?

Thanks !!

Additional information

  • PeerTube instance URL:
  • PeerTube version: 7.0.0
  • NodeJS version: 22.12.0-1
  • Ffmpeg version: 6.1.1-3ubuntu5
  • Redis version: 7.0.15
  • PostgreSQL version: 16.6
  • Classic installation

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions