Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Using the Revolt plugin

8 replies [Last post]

So I'm working on a media gallery for a website, and I'm using Menalto Gallery 2 as the backend. After some tweaking, I got JW player working nicely in the site and playing flv and mp3 files. The only problem is, whenever I try to enable the Revolt plugin, I get nothing; the music still plays, the there's no visualization. Now I've searched the site and I read that the Revolt plugin doesn't work unless the mp3 file, player skin, and player swf file are all on the same domain/server, and in my case, all of them are, but for some reason it still doesn't seem to work...

I got the skin and the embed plugin working with no problems, and I'm adding it via parameter string
(&plugins=revolt-1). I tried it locally on my desktop with a local copy of the revolt.swf and it worked fine with the same code. Anyone have any ideas?

PS- The example for Revolt in the Plugins page doesn't work either (http://www.longtailvideo.com/AddOns/get-examples.html?addon=42&q=)

PPS - Kudos on the Modieus skin btw. I have a really strong dislike for the default player skin for various reasons, but Modieus made me want to give the player a shot and the skin looks great :)

Hosting the revolt plugin on your own server with the other movies and the MP3 files does work:

    'plugins':     'http://my.domain.com/path/revolt-1',

Obtain revolt-1.swf from http://plugins.longtailvideo.com/

Thanks kLink, but I tried that and it didn't work either :/ (and yes, I remember to drop the swf extension on the plugin url)

However, it looks like the revolt-1 plugin was fixed or something, because as of this post it's working on my site using the normal syntax (plugins=revolt-1) and the example on the plugins page is running again too, so I guess it may have just been down temporarily.

My Code is as follows:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<script type="text/javascript" src="swfobject.js"></script>

<div id="player">Come on Media Player</div>

<script type="text/javascript">
var so = new SWFObject('player.swf','mpl','470','450','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file=http://www.killtheheart.com/playlist.xml&backcolor=000000&frontcolor=FFFFFF&lightcolor=0099cc&skin=h...');
so.write('player');
</script>
<body>
</body>
</html>

Everything works but he recolt plugin. Why is this?

It also still doesn't work when changing the xml file to a local mp3 in the same folder - no visualisation. I have the revolt swf file, yet also cannot get it to work when pointing to it locally. I haven't uploaded it to a server but am just testing in in Dreamweaver CS4. Could this be a problem?

Thanks,

just testing in in Dreamweaver CS4. Could this be a problem?

yes ! - try upload to a webserver...

Works now - great. And why do the examples given with the plugins sometimes end in -1 and sometimes not?

e.g. &plugins=revolt vs &plugins=revolt-1

Does anybpdy know, is it possible to customize the Revolt plugin? I'd rather chose one of the visualizations, not letting it change them every five seconds.

it needs to be n the same domain or you need to create a crossserver.xml

I just created a crossserver.xml file in about 10 seconds after about 2 minutes of looking up how to, it works really well, look into it on this site.