Video textures not working in packaged files (4.18.2)

Hi all. I’m trying to insert some mp4 videos into a project using the Media Framework tutorials on the UE site. These are set up to play on box trigger overlap (also tried box trigger overlap + button) and are applied to a static mesh as a material. They play perfectly in the editor - but once I package for Android or HTML5 - I just get a black texture fill on the static meshes. No video.

I’ve seen a few posts on here which report the same issue. I believe 4.18 was supposed to fix the problem for Android, but as I see it, it hasn’t.

I’ve followed these tutorials (used their sample files, blueprints) TO THE LETTER and I STILL get black textures in my packaged files.

Android device is running 5.0.1. Tried the HTML5 output running from a web server and locally via Firefox (right click on the launch file, open with FF)

So. Has anybody managed to get video to work in their projects? If so, how?

Thanks in advance.

Paul

I don’t know about Android, but unfortunately for WebGL, the code stack for doing video textures is very different from the one for native OpenGL (ES) or Direct3D. Sufficiently so that such feature will likely need to be reimplemented from scratch for web exports, and that might not be in the most requested list of features.

If your project is very web-centric, you may be able to develop the feature manually in JavaScript on the html page by following Animating textures in WebGL - Web APIs | MDN. Not sure how easy that would be, but perhaps worth a shot if the feature is important.

media texture is working fine for me in android, did you put the video sample in content/Movies folder and are using .mp4 file?

Thanks for the responses. I can report that I’ve got video textures working now. Turned out that it was the rather old Android hardware that seemed to be to blame (Samsung S4 - go figure). I used the same file on an S7 and it worked first time (which was a relief).

Juj - As for getting video textures to work on HTML5 output, I’ll just stay quiet on that for now :slight_smile: