Skip to content

Bad URL of an uploaded video in a lesson #5973

Closed
@narcisgarcia

Description

@narcisgarcia

Chamilo LMS 1.11.28

I create a course.
I create a lesson.
There I create a document, because I want to lesson begins with a video.
In the text editor, I embed a simple "Video" -> Server -> There I upload a .webm file, and select it.

After saving this "document", i see it in documents tree. If I click on Preview button, I get the file (browser downloads it). Okay.

If I preview lesson, I see an area to play the video but, when I click it to play, message appears (replaced to example.net):

Media error: Format(s) not supported or source(s) not found
Download File: https://www.example.net/courses/SH1/document/MyVideo.webm

Instead of this URL it should be in my website:
https://www.example.net/lms/chamilo/courses/SH1/document/MyVideo.webm

Then this means Chamilo is not using REQUEST_URI to get real path of contents (lms/chamilo/).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions