Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • LibVLCSharp LibVLCSharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 78
    • Issues 78
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLANVideoLAN
  • LibVLCSharpLibVLCSharp
  • Issues
  • #370
Closed
Open
Issue created Jul 17, 2020 by Tim Gels@timgels

Cannot play files from OneDrive with LibVLC.UWP 3.3.0

Summary

After upgrading LibVLC.UWP from version 3.1.1.1 to 3.3.0 it fails to play videos that are hosted on OneDrive when using the download URL's.

Minimal project and steps to reproduce

To reproduce this you need a way to get the download URL of a file that is hosted on OneDrive. I came up with 2 possible solutions for this.

  1. Get a download URL of a OneDrive file. You can use Microsoft Graph Explorer for that.

Then insert the download URL in this code snippet

MediaPlayer.Play(new Media(LibVLC, new Uri([InsertDownloadURLHere])));

  1. Clone the Debug branch of my Git repo and it will print the download URL of each file you start playing.

What is the current bug behavior?

When using the download URL of a OneDrive file it fails to play.

What is the expected correct behavior?

That the download URL of a OneDrive file gets played.

Does it work on other plaforms? Does it work with the official VLC apps?

I have tested it with the VLC WinRT version and it works.

It also works on the normal desktop version. log

Relevant logs and/or screenshots

The debug output on version 3.1.1.1: log

The debug output on version 3.3.0: log

Environment

  • OS: Windows 10
  • Version 1903
  • Device: Laptop
  • LibVLC version and architecture: LibVLC.UWP 3.3.0, x86-64
  • LibVLCSharp version: 3.4.6

Possible fixes

N/A

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

VideoLAN code repository instance