Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Old 2011-02-15, 05:56 PM   #1
LD
wtfwjd?
 
LD's Avatar
 
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>
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:

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>
__________________
Artisteer Wordpress Theme Generator Create Custom Themes!
My Little Network
LD is offline   Reply With Quote
Old 2011-02-15, 06:09 PM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
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?
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2011-02-15, 09:04 PM   #3
LD
wtfwjd?
 
LD's Avatar
 
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.
__________________
Artisteer Wordpress Theme Generator Create Custom Themes!
My Little Network
LD is offline   Reply With Quote
Old 2011-02-17, 10:07 AM   #4
Tommy
NYC Boy That Moved To The Island
 
Join Date: Apr 2003
Posts: 2,940
Send a message via ICQ to Tommy
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
Tommy is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:19 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc