This is a message.

Forum user: minorgod

Basic information

Registered Mar 9, 2011
Last login Mar 10, 2011
Forum posts 2
Direct URL http://www.flowplayer.org/forum/users/79640

Latest forum posts

Posts:

Registered:

» » » » » » Shuffle/Scrub through video like youtube player

Posted: Mar 10, 2011

I sympathize with the Flowplayer devs and think they've done some great work overall, but it seems like people have been complaining about scrubbing not working right or not being very good in FlowPlayer since at least 2008. As of version 3.2.5 (commercial version) it's still very iffy, especially with short h.264 videos. I know some of my scrubbing probs are probably due to insufficient keyframes in short clips, but when I click and drag the scrubber, I really feel like it shouldn't grab the entire video frame and controlbar and drag it along with the scrubber, which is what it currently does. The scrubber position ends up locked to my mouse position when I release it and I have to click again to stop it from following my mouse, at which point the video may or may not restart or continue as if nothing happened.

I hereby tripple-dog-dare the FlowPlayer team to get scrubbing right in the next release. Sorry if that sounds like a rant. I've been particularly irritated by this problem today. I'm sure I'll get over it. :)

Posts:

Registered:

» Help with logging to firebug

Posted: Mar 10, 2011

Apparently not. I'm having the same problem. Nice to see this hasn't been answered by anyone in over 3 weeks.

UPDATE: Here's an example of a config that enables logging to the firebug console. I copied it from a more complex config I'm using on a site I'm working on and removed a bunch of stuff so there may be a syntax error in here, but you'll get the idea. Note, you must have Firebug open and the console enabled or you'll get a javascript error and no messages. Also, you'll probably run into Firebug's limit of 500 messages logged in which case, just click the link in the message it shows you and do a search for "log" in the Firefox config and you'll find the place to change that to 1000, which seems to work fine for me. Also, note that I'm applying a logging filter in this to specifically show controlbar plugin debug messages. I can't remember where in the docs I found that or I'd include a link to it. Hope this helps:

$f('video', 
{
	src:'/swf/flowplayer_3.2.7.swf',
	wmode: 'opaque'
},
{    
	//BEGIN the part that enables logging to firebug console
	debug:true,
	log:{
		level: 'debug', 
		filter:'org.flowplayer.controls.*'
	},
	//END the part that enables logging to firebug console
	plugins:  {
		controls: {
			url: '/swf/flowplayer.controls-3.2.5.swf',
			all: false,
			play: true,
			time: true,
			scrubber: true,
			fullscreen: true,
			buttonColor: '#333333',
			buttonOverColor: '#000000',
			backgroundColor: '#999999',
			backgroundGradient: [0,0,0.7],
			sliderColor: '#cccccc',
			sliderBorder: '7px solid #cccccc',
			progressColor: '#FFFFFF',
			bufferColor: '#474747',
			timeColor: '#333333',
			durationColor: '#333333',
			timeSeparator: ' / ',
			timeFontSize: '10',
			width: 525,
			seekableOnBegin: true,
			tooltipColor: '#FF0099',
			tooltips: {
				// customized texts for buttons
				buttons: true,
				play: 'Play',
				pause: 'Pause',
				fullscreen: 'Full Screen'
			}
		}
	},
	play: {
		url: '/img/clear-spacer.png',
		width: 1,
		height: 1,
		replayLabel: 'Play Again'
	},
	playlist :
		[
			'/img/thumbs/somethumbnailofthevideo.jpg',
			{
				url           : '/videos/some_h264_video.mp4',
				autoBuffering : true,
				autoPlay      : false
			},
			'/img/thumbs/somethumbnailofthevideo.jpg',
		]
});