I would like to be able to allow the user to select a (video) file from their disk and have the Unity Web Player.
I am aware that Webplayer does not allow the use of standard file IO due to security reasons. But I think I can use WWW to load the file.
So I guess my question is - can I use SendMessage to pass the path of the local file to the object that is responsible for the WWW loading method? Or do I need to physically upload the video to a file on the server first?
Because of sand boxing and security in browsers, you will need to have the video uploaded and have the webplayer reference it. Even if you got the path on the local system you will not be able to access it for so many reasons(like every site trying to load files from a users computer on the fly and collect all sorts of love from the user that could compromise the users personal data.
tl;dr: Yes, the video should be on uploaded and referenced in the webplayer with appropriate cross domain policies if needed.