Announcement

Collapse
No announcement yet.

Loading external media file with absolute path and MediaPlayer's openfile()

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Loading external media file with absolute path and MediaPlayer's openfile()

    Has anyone managed to play an external video file on Android? I've tried a few Engine changes, but I always get a "File does not exist" in logcat. Every forum rabbit hole I've found seems to end without a solution.

    #2
    you can try this "jar:file://storage/emulated/0/the.mp4" in android.

    Comment


      #3
      Originally posted by lingdian View Post
      you can try this "jar:file://storage/emulated/0/the.mp4" in android.
      hi, i'm looking for the same option to open files on media storage.
      Where should i put this code? In the openfile node Url?
      There are engine changes i need to make before using it?

      Comment


        #4
        Got the same issue while trying to load 2d textures in blueprints from sdcard, no easy way around it - works on windows, on android just breaks. Probably need to dive into c++ to sort this out, but it's very annoying...
        MikoĊ‚aj Bazaczek / VR Lead / Herzog & de Meuron
        m.bazaczek@herzogdemeuron.com / mbazaczek@gmail.com
        3dsmax / UE4 / VRay / Corona / Rhino
        js / python / web / php

        Comment

        Working...
        X