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

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?