Greenguy's Board


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

 
 
Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
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
 


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 04:36 PM.


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