Go
Not registered? Sign up!

Image & text overwritten with Flow plugin

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

Oct. 23, 2009Bk

I am trying to load new playlists with the flow plugin and when I do that I see that the original playlist is still there in the background. Is there a way to clear the old playlist and then load the new playlist. This does not happen with the normal playlist bar just with the flow plugin. Any ideas?


var player = null;
function playerReady(thePlayer) {
player = window.document[thePlayer.id];
}

function cacheHack()
{
return "?t=" +new Date().getTime();
}

function createPlayer(thePlayer, thePlaylistFile)
{
var flashvars = {
autostart:"false",
skin:"/lib/swf_player/stylish.swf",
stretching: "uniform",
controlbar:"top",
file:thePlaylistFile,
plugins:"flow-1&flow.position=bottom&flow.showtext=true&flow.size=105&flow.coverheight=55"
}

var params = {
allowfullscreen:"true",
allowscriptaccess:"always"
}

var attributes = {
id:thePlayer,
name:thePlayer
}

swfobject.embedSWF("/lib/swf_player/player-licensed_46.swf" + cacheHack(), "placeholder1", "450", "450", "9.0.124", false, flashvars, params, attributes);
}

function loadFile(theNewPlaylistFile)
{
if(player)
{
player.sendEvent('STOP');
player.sendEvent('REDRAW');
player.sendEvent('LOAD', {file: theNewPlaylistFile});
}
}
</script>

Oct. 23, 2009wessite

Hi Bk,

This is not yet supported, but will be added in the 1.1 release if there is enough interest in the plugin.

Now the plugin just builds the flow playlist on initialization.

Kind regards,
Wesley

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.