PDA

View Full Version : Putting Flowplayer in a WP blog post


LD
2011-02-15, 06:56 PM
What's the best way to do this? If I upload an html page on the domain where I have my WP install, I can get Flowplayer to play vids just fine. However, when I paste the same code into a blog post, I get nothing.

I tried putting the 'js' call in the theme header, but nada. I think it's probably something to do with not finding this:

<script src="http://www.pantyerotica.com/flowplayer/flowplayer-3.2.4.min.js"></script>
but I am not sure where to put it. There might be a better way to embed a flash vid in WP, I don't know...(?)

Here's the code for the vid:

<div class="pic" id="player"></div>
<!-- install player -->
<script language="JavaScript">

$f("player", "http://www.pantyerotica.com/flowplayer/flowplayer-3.2.5.swf", {
clip: {

// a clip event is defined inside clip object
// print message on seconds 2 and 7
onCuepoint: [[57000], function(clip, point) {
this.getPlugin("content").show();
}]
},
plugins: {
controls: {
playlist: true,

// use tube skin with a different background color
url: 'http://www.pantyerotica.com/flowplayer/flowplayer.controls/flowplayer.controls-tube-3.2.3.swf',
},
viral: {
// load the viral videos plugin
url: 'http://www.pantyerotica.com/flowplayer/flowplayer.viralvideos/flowplayer.viralvideos-3.2.3.swf',

share: {
// define a video title used in sharing
description: 'Check out this HOT video',

// disable livespaces (it's from Microsoft)
livespaces: false
},
// disable embedding completely, the same syntax can
// be used to disable also email and share
embed: true
},
content: {
// location of the plugin
url: 'http://www.pantyerotica.com/flowplayer/flowplayer.content/flowplayer.content-3.2.0.swf',
top: 150,
width: 780,

// styling properties
borderRadius: 40,
style: {
'.title': {
fontSize: 36,
fontFamily: 'verdana,arial,helvetica',
color: '#f0f0f0',
textAlign: 'center',


}
},

html: '<a href="http://www.bangmystepmom.com/?t_link=pimp19578:ft:::13:4" class="title">Bang My Stepmom! See more HERE! </a>',
display: "none",
closeButton: false,
opacity: .95
},
},
playlist: [
// this first PNG clip works as a splash image
{
url: 'http://pantyerotica.com/images/PRteenGirls/shot0002.png',
},
// second clip is a video. when autoPlay is set to false the splash screen will be shown
{
url: 'http://pantyerotica.com/images/PRteenGirls/003.flv',
autoPlay: false,
autoBuffering: false
}
],
});
</script>

Cleo
2011-02-15, 07:09 PM
Never tried doing this myself but have you tried using one of the many Flowplayer plugins?

LD
2011-02-15, 10:04 PM
Thanks Cleo. I found several plugins and this one works really well:

http://foliovision.com/seo-tools/wordpress/plugins/fv-wordpress-flowplayer

the popup works nice. I do like the control of using the embed code, but this plug should do what I want.

Tommy
2011-02-17, 11:07 AM
you need to make sure your word press is on the html editor and not the wywisg

I have done this 50 times

also having the complete domain name in the code is sometimes problematic