logo
search
OneDrive File Issues

How to Stream OneDrive Videos and Music in VLC Media Player

Huda QurayshiHuda Qurayshi Oct 9, 2026 872 views

Question details

The user wants to stream video or music files stored in their OneDrive account directly through VLC Media Player without downloading them first.

How to Stream OneDrive Videos and Music in VLC Media Player
Product
OneDrive and VLC Media Player
Device & OS
not provided
Scenario
Attempting to play cloud-hosted media files on a local desktop media player using network streaming.
Observed behavior
Standard OneDrive sharing links fail to play directly in VLC because they typically point to a web interface rather than providing the direct media stream URL, or they are blocked by Microsoft account authentication requirements.
Before you start

Ensure you are using the latest version of VLC Media Player and have a stable internet connection capable of handling video streaming from cloud servers.

Solution 1Recommended

Create and Use a Public Sharing Link

Generate a public sharing URL in OneDrive that does not require login, allowing VLC to attempt to read the network stream.

VLC requires a direct download or stream URL to play network media. Copying the local file path of your OneDrive folder will not work for network streaming, so you must generate a web-based sharing link with the correct permissions.

1
Select the media file

Open your OneDrive account in a web browser, locate the video or music file you want to stream, and right-click it.

2
Generate a sharing link

Click 'Share', change the link settings to 'Anyone with the link can view' to remove authentication barriers, and click 'Copy link'.

3
Open network stream in VLC

Launch VLC Media Player, navigate to 'Media' in the top menu, and select 'Open Network Stream'. Paste the copied OneDrive link into the URL field and click 'Play'.

Create and Use a Public Sharing Link
URL Limitations: OneDrive sharing URLs are not always direct media URLs. If VLC cannot parse the link to find the raw video file, the stream will fail.
Free Microsoft Office alternative

Manage Your Cloud Documents Easily with WPS Office

While VLC handles your media playback, WPS Office is the perfect free alternative to Microsoft Office for managing your text, spreadsheet, and presentation files in OneDrive. It's lightweight, fully compatible with standard document formats, and integrates seamlessly with cloud storage.

  1. 1. Download and Install: Visit the official WPS website, download the free installer, and follow the setup instructions.
  2. 2. Connect Your Cloud: Open WPS Office, navigate to the Cloud section, and sign in to link your OneDrive account.
  3. 3. Edit Files Seamlessly: Open, edit, and automatically save your documents directly back to your OneDrive storage.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Seamlessly integrates with cloud storage services like OneDrive for direct document editing.Free, lightweight, and features a familiar user interface for a smooth transition.
microsoft office alternative - wps office

Frequently Asked Questions

Why does VLC give an error when I paste my OneDrive share link?

VLC requires a raw media stream URL. Standard OneDrive links usually point to a web page containing Microsoft's web player interface, which VLC cannot parse. They may also enforce authentication that VLC does not support natively.

Can I open OneDrive files in VLC directly from my computer?

Yes. If you have the OneDrive desktop application installed and your files are synced to your local drive (or available on-demand), you can open them in VLC simply by using 'Media' > 'Open File' and navigating to your local OneDrive folder.

Is there a way to force a direct download link from OneDrive for VLC?

Sometimes you can modify a OneDrive sharing URL by replacing the 'embed' or 'view' parameter with 'download' in the link structure. This occasionally forces the URL to serve the raw file, allowing VLC to stream it, though Microsoft frequently changes this link structure.