View Issue Details

IDProjectCategoryView StatusLast Update
0003070NoesisGUIUnity3Dpublic2024-06-07 20:35
Reporterjphyzic Assigned Tosfernandez  
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Product Version3.2.2 
Target Version3.2.4 
Summary0003070: MediaElement can not open video by absolute path
DescriptionI'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).
TagsNo tags attached.
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