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

Forums

/

plugin revolt and videos

37 replies [Last post]

Hello,
I installed the JWPlayer with wordtube on wordpress 3.
But if I want the plugin revolt for songs, it also runs for my video and then I don't se the pictures of the video.
Is there a mean to use revolt only for music media and not if I show a video on the same blog but in a different post???
Thanks a lot for your help.

@Platy - The Reveolt plugin is meant to be only for songs. However, what you can do is set the revolt.position flashvar to bottom, so the video will not be hidden when using this plugin.

@Ethan : Thank you very much for your answer. If I understand well, you mean I have to modify the .html page where the plugin is specified for the player ???
As you may know, things are quite prepared in wordtube in a way "just fill the case" ;-)...
I am quite a beginner, but I will try what you suggested me.

@Platy - Yes, that is what I mean. If you can provide a link to where you are trying to run this, I will show you what/where to change the code. :)

@Ethan: well, thanks for your proposition. Here is the link: http://www.platycorail.com/?p=930
For you, I put of course again the plugin revolt in the configuration of wordtube.
I guess you will surely help me saving time; even if it isn't a case of real emergency... ;-)
I am just very curious to admire that you will probably do that in 2-3 "mouse-clics" !!!!
Thanks again.

@Platy:

Under:

plugins : "revolt-1",

Add:

'revolt.position' : "bottom",

@Ethan: Thanks, I've seen on the page source code what you meant.
I just can't get the html page yet in order to modify it.
By the way, isn't there a pluging that could be like revolt when playing a music file and "silent" when playing a video file ???
Am I asking too much ??? ;-))

@Platy - Why can't you edit the html page? That would be much easier that modifying the plugin to do this, and sorry, there is no plugin that does that, unfortunately.

@Ethan-As I told you, I'm a beginner and I think I have to find the way to get the page. As far to what I have tried, I didn't succeed yet; but I don't hang off. There should be a mean to get the .html code of this page. I will keep you posted.
Thanks for your help.

I don't understand. You created this html page, right?

Yes, Ethan.
But I created this page through Wordpress "editing software"; not with a "standard html editor".
So I have to understand deeper how it works in order to find the way to "pick up my eggs" and modify them... ;-)

What plugin did you use for WordPress?

Hello Ethan,
I used the plugin Wordtube. And it is indeed in its settings that I think I have to put what you wrote me.
If you look again to the source code of the page, you can see that with some help I put part of your code in the file wordtube.class.php; but the brackets are still empty. And I guess this is the reason why revolt still shows up in the video... ;-)
To fill the brackets, I just wonder if I shouldn't fill the part "custom variables" in Player settings ???
Do you have any other idea ???

It's very nice from you to take time to help me. Thanks a lot.

Yes, you should put the new flashvars in the "custom flashvars" section, that's what they are for.

Hello Ethan.
I succeeded in putting your code indeed in the custom variables; but Revolt is still showing...
Perhaps is it "easier" if I choose an other plugin for video only, then ???
I am just wondering how do other JWPlayer users if they want to use the player for video and music and with a plugin for music ????

Have a nice day.

@Platy - Can you provide a link to where you are running this?

Also, you can run more than one plugin at once - http://www.longtailvideo.com/support/addons/10629/using-jw-player-plugins

@Ethan-I am running this here: http://www.platycorail.com/?p=930 .
Thanks for the link regarding many plugins with JW-Player. I'll have a look at it.

Hi,

The issue here is that your code is - 'revolt-1.position' : "bottom",

But it needs to be:

'revolt.position' : "bottom",

That was it :)

Hi Ethan,
I'm sorry, you're right about the miswritting of the code; but that wasn't enough as you can see by yourself: http://www.platycorail.com/?p=930
I don't know why... :(

Okay, you are also going to need to set revolt.size. I just tested in our wizard, with revolt.position=top and revolt.size=150, and that works.

Well Ethan, then the video is really small...
http://www.platycorail.com/?p=930
Don't you thing I should better try an other WordPress plugin like flash-video-player only for videos and keep JWPlayer+revolt for music. Is it compatible ?
Thanks again.

@Platy - What you will need to do is make the player itself bigger, currently it is quite small.

Hi Ethan,
I mannaged to get the player bigger, but I can't achieve a good image height. I suppose it is because there is revolt on the top...
Which size would you suggest ?
Thanks

I would add 150 to the player height, to make up for the position revolt added. I would also make the width larger as well, because you want to maintain the ratio.

Ethan,
The size is 720x990 (WxH) and even if I set 2000 the height stays where it is. I'm getting mad !!! ;-)

Ah, you are using WordTube! You will need to enter in the width= and height= manually into the shortcode!

Hi,
The defaut width is 320 and defaut height is 240. Even if I try to change this in the setting of the player, it doesn't change in reality.
And I couldn't find in which WorTube file this code was set !
The only thing I found was $WT options [With]== or someting like that but not "320".
Do you happen to know where I could find the defaut settings of these values ?
For the moment I took off the custom variables in the player settings for revolt as I posted for music...
Thanks again.
I wish you a nice day.

What does your shortcode look like in the post?

Hello Ethan,

I suppose you mean this as short code:
swfobject.embedSWF("http://www.platycorail.com/wp-content/uploads/2010/07/player.swf", "WT1_1", "320", "240", "9.0.0", false, this.flashvars, this.params , this.attr );
But it seems a "long" code for me...

Usually with shortcode it looks something like - [wordtube id="blah]

But if you are using that code - "320", "240" are the values to change ;)

Hello Ethan,
Well I was pretty sure that what I gave you as shortcode wasn't right...
In fact, I didn't find a shortcode yet mentionning directly the values of WxH and that I could modify. :(
I will take time to scan all the wordtube files to find this shortcode.
I'll get back to you asap. :))

Ok, let me know :)

Hello Ethan,
I found two .php files mentionning the WxH values (320x240) and I tried unsuccessfully (but I guessed probably why...)to modify them.
But as I am doing this on my active blog and as I am not a specialist, I fear a little bit possible consequences of the modifications I could induce on playing with the codes.
Yes, I don't feel secure about that, even if for you it's so easy... :)
So for the moment, I installed an other flash player for my only one video and I keep wordTube, JW Player and Revolt for the mp3 files.
I won't forget your indications and will do it when I will be more confident in the matter ;)
Thank you very much for your patience with me.
All the best.
PS: You are a "guest poster" in my blog if you happen to understand french... ;-))

Np :-)

I took French in High School but I am a little rusty ;-)

I'm hoping that you can assist and illustrate how the revolt plugin should be incorporated into the folowing create statement. I'm a newbie but try:) I've taken comment from this post and tried to incorporate properly but I'm obviously doing it wrong
function createPlayer() {
var flashvars = {
backcolor:"<spring:theme code="backgroundColor"/>",
frontcolor:"<spring:theme code="textColor"/>",
id:"player1"
}
var params = {
allowfullscreen:"true",
allowscriptaccess:"always",
plugins:"revolt-1",
'revolt.position' : "bottom"
}
var attributes = {
id:"player1",
name:"player1"
}
swfobject.embedSWF("<c:url value="/flash/jw-player-5.0.swf"/>", "placeholder", "340", "100", "9.0.0", false, flashvars, params, attributes);
}

Move:

plugins:"revolt-1",

Into the var flashvars = {

Block

Because it is a flashvar, not a param ;)

thank you Ethan. I needed to use "revolt.swf" but I got it working!

Great!