View Issue Details

IDProjectCategoryView StatusLast Update
0003070NoesisGUIUnitypublic2024-06-13 18:02
Reporterjphyzic Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status resolvedResolutionwon't fix 
Product Version3.2.2 
Target Version3.2.4Fixed in Version3.2.4 
Summary0003070: MediaElement can not open video by absolute path
Description

I'm using Noesis 3.2.2 in Unity on Windows 10 and I have some troubles setting MediaElement.Source.

Let's assume there is a media file located in D:\movie.mp4. Then setting mediaElement.Source = new Uri(@"D:\movie.mp4") prints to error log:

WindowsMediaFoundation received empty file /D:/movie.mp4
VideoPlayer cannot play url : /D:/movie.mp4
Cannot read file.

I tried different formats with following results:
D:\movie.mp4 - error
file:/D:\movie.mp4 - works successfully
file://D:\movie.mp4 - error
file:///D:\movie.mp4 - error (I believe this should be the correct path, but do not cite me on that).

PlatformAny

Activities

sfernandez

sfernandez

2024-06-07 20:35

manager   ~0009676

Hi, playing media files outside Assets/ folder won't work because we use Unity's VideoPlayer that only knows how to play assets inside the project.
Can't you just move the file inside the Assets/ folder of your project?

Issue History

Date Modified Username Field Change
2024-02-06 13:16 jphyzic New Issue
2024-02-06 13:17 jphyzic Severity major => minor
2024-02-07 13:29 sfernandez Assigned To => sfernandez
2024-02-07 13:29 sfernandez Status new => assigned
2024-02-07 13:29 sfernandez Target Version => 3.2.4
2024-06-07 20:35 sfernandez Status assigned => feedback
2024-06-07 20:35 sfernandez Note Added: 0009676
2024-06-13 18:02 sfernandez Status feedback => resolved
2024-06-13 18:02 sfernandez Resolution open => won't fix
2024-06-13 18:02 sfernandez Fixed in Version => 3.2.4
2025-10-10 13:29 jsantos Category Unity3D => Unity