JQuery Media Plugin playing file outside the webroot
问题 Is it possible to play a media file which is outside the webroot using the Jquery Media Plugin. The server that we are on is windows based. The file path for example is: \server\share\music.mp3 In my testing so far it does not seem possible. 回答1: You won't be able to reference it directly, no. But you could pass it through a local serverside script, making your request-path something like: getmusic.php?id=music The getmusic.php script will have access to non-public directories. It can read