How to Stream OneDrive Videos and Music in VLC Media Player
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.

- 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.
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.
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.
Open your OneDrive account in a web browser, locate the video or music file you want to stream, and right-click it.
Click 'Share', change the link settings to 'Anyone with the link can view' to remove authentication barriers, and click 'Copy link'.
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'.

Download the File for Local Playback
If VLC cannot bypass OneDrive's web player authentication via the share link, downloading the file is the most reliable 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. Download and Install: Visit the official WPS website, download the free installer, and follow the setup instructions.
- 2. Connect Your Cloud: Open WPS Office, navigate to the Cloud section, and sign in to link your OneDrive account.
- 3. Edit Files Seamlessly: Open, edit, and automatically save your documents directly back to your OneDrive storage.

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.




