Skip to content

Video player reset after close requests invalid url (/blank.mp4) #1258

@birkb

Description

@birkb

Description

Stopping a video and exiting from the player UI can cause several http error codes if Nextcloud is not configured at the root path.

Steps to reproduce the behavior

  1. Go to 'folder that contains a mp4 video file'
  2. Click on 'close video'
  3. The browser will show a basic auth window if the root path is requiring authentication

Expected behavior

The video player should not request urls that do not belong to Nextcloud url path.

Desktop infos

  • OS: [e.g. any]
  • Browser [e.g. any]
  • Version [e.g. 23.0.4 and 23.0.5]

Browser log

GET https://www.example.com/blank.mp4 [HTTP/1.1 401 Not Found 467ms]

Potential fix

After changing

blankVideo: '/blank.mp4',`

to

blankVideo: 'blank.mp4',

in the Videos.vue file the problem is fixed in my local installation because the request is then using the correct url

GET https://www.example.com/nextcloud/index.php/s/blank.mp4 [HTTP/1.1 404 Not Found 467ms]

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