Page 1 of 1

Installing Flash Video Player

Posted: Sat Sep 08, 2007 6:42 am
by steven
I have followed the instructions here:
http://www.taeglichanders.de/blog/index ... lected]=en

The entry shows the space for the player, but there is nothing. When I look at the html source code, I see:

Code: Select all

<object type="application/x-shockwave-flash" width="320" height="240" data="http://yourdomain/flv.swf?file=saving-shells.flv width=320 height=240 "><param name="movie" value="http://yourdomain/flv.swf?file=saving-shells.flv width=320 height=240 " /></object>
Obviously, this is wrong, but I cannot find where to change the code that generates this.

The FlashVideoPlayer.php code is:

Code: Select all

<?php
// Flash Player.
//
$regexpArray = array(
    'SearchArray'=>array(
		'/<flv:([^>]+).flv width=([^>]+) height=([^>]+)\/>/U'
    ),
    'ReplaceArray'=>array(
		'<object type="application/x-shockwave-flash" width="$2" height="$3" wmode="transparent" data="movies/flvplayer.swf?file=$1.flv&clicktext=%20&image=movies/$1.jpg"><param name="movie" value="movies/flvplayer.swf?file=$1.flv&clicktext=%20&image=movies/$1.jpg" /><param name="wmode" value="transparent" /></object>'
    )
);
I have tried changing the code, but the html source stays the same.

I get warnings like:
Warning: Cannot modify header information - headers already sent by path/to/the/file on line xxx.

If you have this working, please help. And I'll need it in crayon.

Re: Installing Flash Video Player

Posted: Mon Sep 10, 2007 11:10 am
by garvinhicking
Hi!

Your actual error message would help. It means you saved thef ile with extra, invalid characters.

Also, maybe you rather want to use the podcast event plugin, this also supports video possibilities and is easier to handle.

Regards,
Garvin

Posted: Mon Sep 10, 2007 2:29 pm
by steven
I need to have FLV files displayed. The podcast plugin doesn't seem to support them.

I will try to install the Flash Video Plugin again and post any errors.

Posted: Mon Sep 10, 2007 2:34 pm
by garvinhicking
Hi!
steven wrote:I need to have FLV files displayed. The podcast plugin doesn't seem to support them.
It should be able to support FLV files, if you add the "flv" file extension to the plugins configuration, using the XSPF player?

Best regards,
Garvin

Posted: Mon Sep 10, 2007 2:52 pm
by steven
Cool.

I have ftp'd several FLV files to a directory called "movies". What code do I use in the entry to have the video appear? I use the standard editor.

Are there any other plugins needed to make this work?

Sorry to be a pain.

Posted: Mon Sep 10, 2007 3:49 pm
by mattsches
It looks like Grischa is working on extending the Easy Podcast plugin.

Posted: Mon Sep 10, 2007 4:19 pm
by steven
The site looks like it has some good information. Unfortunately I cannot read German (I think).

No Joy

Posted: Mon Sep 10, 2007 6:04 pm
by steven
I tried the Easy Podcast Plugin, it shows an mp3 looking player, but no video.

I re-installed the Flash Video Player according to the instructions here:
http://www.taeglichanders.de/blog/index ... lected]=en

It shows an appropriately sized space for the player but nothing else. I must be getting close.

In addition, the following message is shown at the admin page and on saving the entry:
Warning: Cannot modify header information - headers already sent by (output started at /myhostpath/stevenmuncy.com/plugins/serendipity_event_flashsetbutton/lang_en.inc.php:29) in /myhostpath/stevenmuncy.com/include/functions_config.inc.php on line 627

Warning: Cannot modify header information - headers already sent by (output started at /myhostpath/stevenmuncy.com/plugins/serendipity_event_flashsetbutton/lang_en.inc.php:29) in /myhostpath/stevenmuncy.com/include/functions_config.inc.php on line 627

Warning: Cannot modify header information - headers already sent by (output started at /myhostpath/stevenmuncy.com/plugins/serendipity_event_flashsetbutton/lang_en.inc.php:29) in /myhostpath/stevenmuncy.com/serendipity_admin.php on line 11
I don't know if this is a server problem or something else. I'm pretty sure that its something simple I have not set correctly, but it is beyond me.

Working

Posted: Mon Sep 10, 2007 11:39 pm
by steven
It's working now. Just make sure to change the FlashPlayerVideo.php before you upload to your site. It doesn't seem to take editing well.

Still have the problem with the warnings above. They seem related to the FlashSetButton.

Re: Working

Posted: Tue Sep 11, 2007 11:30 am
by garvinhicking
Hi!

Check out the lang_en.inc.php file of the flashset button plugin, it seems it has extra linebreaks after thec losing "?>" line. Remove those, and maybe also tell the plugin author to do that.

Regards,
Garvin

That fixed it.

Posted: Tue Sep 11, 2007 3:00 pm
by steven
Just 2 extra lines caused all that. Thanks.