|
|
|
|
|
|
|
|
|
|
|
#1 |
|
wtfwjd?
Join Date: May 2007
Posts: 2,103
|
Putting Flowplayer in a WP blog post
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: Code:
<script src="http://www.pantyerotica.com/flowplayer/flowplayer-3.2.4.min.js"></script> Here's the code for the vid: Code:
<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>
|
|
|
|
|
|
#2 |
|
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Never tried doing this myself but have you tried using one of the many Flowplayer plugins?
|
|
|
|
|
|
#3 |
|
wtfwjd?
Join Date: May 2007
Posts: 2,103
|
Thanks Cleo. I found several plugins and this one works really well:
http://foliovision.com/seo-tools/wor...ess-flowplayer the popup works nice. I do like the control of using the embed code, but this plug should do what I want. |
|
|
|
|
|
#4 |
|
NYC Boy That Moved To The Island
|
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
__________________
Accepting New partners |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|