I was looking at playing a video located on my computer.
I did this in the manifest editor:
AddPermission("android.permission.INTERNET")
in the program I put this line:
VidPlayer.LoadVideo("http", "http://192.168.1.12/cookies07.mp4")
The file plays fine when loaded to android. When I do the HTTP thing I get "Can't play this video".
Is there something else I should be doing to make this work? The file is located at C:, should it really be put somewhere else? I can't find anything about where "192.168.1.12" points to on my computer. I don't know if this means anything, but I get this same error no matter what I put in for the file name. Just to point out, I have used SMB for PC access and have had no trouble.
I have searched for an answer but others seem to have done this and it works fine for them. So I hope someone can point out what I need to do to make this work. I have tried two different computers and both real devices and the bluestacks emulator. Same error.
I did this in the manifest editor:
AddPermission("android.permission.INTERNET")
in the program I put this line:
VidPlayer.LoadVideo("http", "http://192.168.1.12/cookies07.mp4")
The file plays fine when loaded to android. When I do the HTTP thing I get "Can't play this video".
Is there something else I should be doing to make this work? The file is located at C:, should it really be put somewhere else? I can't find anything about where "192.168.1.12" points to on my computer. I don't know if this means anything, but I get this same error no matter what I put in for the file name. Just to point out, I have used SMB for PC access and have had no trouble.
I have searched for an answer but others seem to have done this and it works fine for them. So I hope someone can point out what I need to do to make this work. I have tried two different computers and both real devices and the bluestacks emulator. Same error.