Go
Not registered? Sign up!

revolt plugin

Google Translate
9 posts | return to the Plugins forum | get the rss feed for this thread

Oct. 25, 2009Tim

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.

Oct. 25, 2009hobbs

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.xml


crossdomain.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>

Oct. 25, 2009Tim

Thank you for your help so far. I added the crossdomain.xml file to the root of my server.
http:\\highplace.homeftp.org\crossdomain.xml
I assume I was supposed to add the following changes but knowing me I probably did it wrong.
<?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="http://Highplace.homeftp.org/Church Services" />
<allow-http-request-headers-from domain="http://Highplace.homeftp.org/High_place" headers="Http://highplace.homeftp.org/high_place"/>
</cross-domain-policy>

Thanks for all the help so far. I'm sorry if I don't understand everyones answers right away. I'm not actually a professional web designer yet. I'm still just in Highschool and haven't made it all the way through my HTML class yet(basic html : [ ). Thank you so much for all your help

Oct. 25, 2009hobbs

I think your cross-domain policy file is too restrictive. Start with one like I posted to get things working, then you can experiment with a more restrictive policy.

Also, watch the case of your URIs.

These:

http://Highplace.homeftp.org
Http://highplace.homeftp.org/

are NOT the same!

Oct. 25, 2009Tim

I reset the code to show exactly what you gave above and still couldn't get it to work. I also tried using this:

http://www.longtailvideo.com/jw/upload/bunny.mp3

instead of this:

http://highplace.homeftp.org/Church Services/amazing.mp3

in the test website to see if it was the server or my coding and that wasn't working either. It could still just be my server I'm not sure. Not sure if this info will help or not but I'm running windows 2000 Pro and have filezilla server and apache running on it. (I tried using IIS for my http services but could not get that to work) Thank you for all your help

Oct. 25, 2009hobbs

 
*** DON'T CHANGE ANYTHING — IT'S WORKING NOW. ***

Try: http://willswonders.myip.org:8074/Tim.html

Oct. 26, 2009Tim

I must have the wrong files or something because I'm just not getting the results your getting. I've got everything except the sound file in one folder with the html file. I copied the code from the website you linked for me but when ever I click the play button nothing happens. It just stays still as if it was a picture. I'm not sure if I have the revolt files named incorrectly or what. I might have downloaded the wrong plugin files. Could you please send me a link to the ones that you have.
Thank you so much for all your help.

Oct. 26, 2009Tim

Never mind I got it.
Not sure why but it works when I put it on the server and load it over the internet. Only time it doesn't work is if i try to load the html file localy thanks again for all your help.

Oct. 26, 2009hobbs

Flash can't load data files (playlists, plugins, captions, etc.) locally. It's part of the security restrictions. Next time, be sure to mention that you are testing locally, so whoever is helping you can tell you to test online.

From all indications, it looked to me like you were testing online, or else I would have told you to test online.

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.