Hi everyone,
I've just recently discovered this site and am really hoping that I can get this to work. Anyway I've made a website for my church and I am trying to change from an online server to my own. We record the service in an mp3 format every sunday and usually upload them to 4shared.com. Then I take the embed code and paste it into our website. This way everyone can freely listen to any of our services. Well 4shared.com only gives 5GB of space and I'm starting to run out. So I've now taken on the task to make my own server. Everything seems to be alright except for one thing.
I'm trying to get the mp3 files coded into the jw player with the revolt plugin. This way they get a little visualizer when they are listening to the service. But I can't seem to get it to work. I've made a little test website that is in the same directory with the jw files. Here is the code I used for the small web site to try and get a small mp3 to connect to the player from the server.
<html>
<head></head>
<body>
<embed
src='player.swf'
width='420'
height='250'
bgcolor='#ffffff'
allowscriptaccess='always'
allowfullscreen='true'
flashvars='file=http://highplace.homeftp.org/Church Services/amazing.mp3&plugins=revolt.swf'
/>
</body>
</html>
I hope I have given enough information to get this problem solved. If anyone can help me write the correct code to get that music file to work I would greatly appreciate it. Thank you for your time.
You probably need to put a cross-domain policy file on the root of your server to allow the plugin to access the MP3 file. The plugin is looking for:
http://highplace.homeftp.org/crossdomain.xmlcrossdomain.xml
<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>