Page 2 of 3

Re: flv -buggy- player [solved]

Posted: Tue Dec 19, 2006 10:13 am
by Hesse
Hi, I get an error when I try to view the tag listing in CMSMS after adding the flvplayer. It is as follows:

Parse error: syntax error, unexpected T_VARIABLE in .../plugins/function.flvplayer.php on line 75

line 75 is:

$result .= ''."\n";


The $playerdir should be correct: $playerdir = "../uploads/video";

CMSMS is installed at the root of the site.

The listing works, and display the flvplayer, when I remove this line, but what does it have to say for the player? As I'm not that much of a coder, I would appreciate a little help :)

Re: flv -buggy- player

Posted: Tue Dec 19, 2006 11:36 am
by Dr.CSS
You might want to take out the .. in front of  ../uploads then try it with that line in the file...

Re: flv -buggy- player

Posted: Tue Dec 19, 2006 12:00 pm
by Hesse
Hi, thanks for a fast reply.

Tried it, but it didn't work. Is the script based from the root?

Since the player is in the uploads folder I would have to point it back to root from the script in the plugins folder if I'm not totally lost here.

Re: flv -buggy- player

Posted: Wed Dec 20, 2006 12:32 pm
by Hesse
Found the error. Missing "." in  src="'.$playerdir.'ufo.js".

Re: flv -buggy- player

Posted: Sat Jan 06, 2007 5:09 pm
by MichaelK
Is it possible to also add the playlist option?

I have five .flv files in 1 directory but I only see 1 video without any link to the next one.

I thought , well I'm sure, that this playlist is one of the new options to this player.
ANyone?  ???

Re: flv -buggy- player

Posted: Tue Jan 23, 2007 12:01 pm
by bingo
First, thanks for everyone's efforts on this.

The best I have been able to achieve is to get the "Get the Flash Player to see this player." message to display.
If I include the playlist xml file then the name of the flv file displays but no player.

Has anyone actually got this to work yet? I would like to know, so I know if the problem is with me or the module. If you have got it to work, could you please post the code for the php file?

Your help much appreciated!

Re: flv -buggy- player

Posted: Fri Mar 02, 2007 9:15 am
by hups
hello ,

i dont understand this i have the flv player upload to my webspace but in the dir is not a dir Plugin must i ake a new one ?

hoow install this script can you tell me this ?? i am neewbi.

thanks so much

Re: flv -buggy- player

Posted: Thu Mar 08, 2007 6:00 pm
by PaxSatani
Sorry for my incorrect english and for my off.But I have had a problem with an flv file when i wanna play it. It hasn't got sound. I tried to convert that to avi, but that also does not help. Can somebody help me? Yaaaa, and it's an episode of south park therefore i'm nervous!

Re: flv -buggy- player

Posted: Sun Apr 01, 2007 3:05 pm
by calguy1000
I just released an FLVPlayer module for CMSMadeSimple

You will still need to download and install a flash video player, such as the one found here http://www.jeroenwijering.com/?item=Flash_Video_Player.  But it should be easy after that to embed flash videos into your CMS site.

The FLVPlayer module can be found here:  http://dev.cmsmadesimple.org/projects/flvplayer/

Let me know if you have any questions.

Re: flv -buggy- player

Posted: Sat Apr 07, 2007 9:02 pm
by numer9
hey,
i tried installing this new FLV module, but after hitting "install" i got this error and my whole cms is down :(

Code: Select all

Warning: main(/home/numer9/ftp/test2/modules/CGExtensions/CGExtensions.module.php) [function.main]: failed to open stream: No such file or directory in /home/numer9/ftp/test2/modules/FLVPlayer/FLVPlayer.module.php on line 26

Fatal error: main() [function.require]: Failed opening required '/home/numer9/ftp/test2/modules/CGExtensions/CGExtensions.module.php' (include_path='.:/usr/local/lib/php') in /home/numer9/ftp/test2/modules/FLVPlayer/FLVPlayer.module.php on line 26
Any suggestions? thanks!

Re: flv -buggy- player

Posted: Thu May 03, 2007 3:00 pm
by alef
I made changes to a file 'function.flvplayer.php' as described above,
but still do not see flvplayer on the page.
I get an error "'UFO' is undefined"

can anybody help me  ???

Re: flv -buggy- player

Posted: Fri May 04, 2007 5:10 am
by ronn
I make all under the instruction in the module (FLVPlayer 1.0.2)
---------------------------------------------------------------------------------------------
Step 1 - Configure
Go to the preferences tab of the FLV Player admin panel, and enter the URL to the base of your flash video player. Next, enter the URL to your collection of FLV files.
Step 2 - Genres & Members
Go to the members tab, and add atleast one member (a member is just a type of category). You should do the same for genres as well. Note: It is possible to import genres and members along with video definitions from ASCII files.
Step 3 - Videos
In the videos tab of the admin panel add at least one video. The name field is used by the default templates to specify the filename (without extension or directory) of the FLV file.
Step 4 - Tags
In one of your content pages in CMS Made Simple, add the following two tags:
{cms_module module='FLVPlayer'}and
{cms_module module='FLVPlayer' mode='detail'}
----------------------------------------------------------------------------------------------
Files:  video.flv, ufo.js, flvplayer.swf  are in the root catalog of a site (_http://www.mysite.com)

Step 1: Content->Flash Video Manager->Preferences
FLV File URL Prefix: http://localhost
FLV Player URL: http://localhost/flvplayer.swf
Step 2:
Id  Name  Code   
1    user    user
Step 3 - Videos
Id  Video Code    Video Title
1        video              flv
Step 4 - Tags
Title                  Template                              Type          Owner
TEST        Left simple navigation + 1 column    Content          admin
in this page are strings:
{cms_module module='FLVPlayer'}
{cms_module module='FLVPlayer' mode='detail'}

And in results I have on my page this :
_________________________________________________________________________________
Keywords: 
Id

1

Name

video

Title

flv (flv)

Length (H:MM)

0:22:00

Member

user


genres


video



Get the Flash Playerto see this movie.

1
video
http://mysite.com/index.php?mact=FLVPla ... eturnid=51
flv

May 3, 2007
May 3, 2007
May 3, 2007
May 3, 2008
 
user 1
0:22:00
___________________________________________________________________


and nothing with flash player.

In IE7 only one error: "UFO" is undefined

Can any help me with this problem? What i made wrong?

Re: flv -buggy- player

Posted: Wed Jun 06, 2007 5:27 pm
by kiralina
I suspect IE7 to cause this problem. The code seems to be flawless. Have you tried Firefox or Opera?

Re: flv -buggy- player

Posted: Sat Jun 16, 2007 6:10 am
by relic
sorry for a blut qestion, but what do i exactly need to get this up and running i have uploaded the function.flvplayer.php file, what to i do from there??

Cheers

Re: flv -buggy- player

Posted: Sun Jun 17, 2007 12:36 pm
by relic
relic wrote: sorry for a blut qestion, but what do i exactly need to get this up and running i have uploaded the function.flvplayer.php file, what to i do from there??

Cheers
Ok, i have it installed, and have configed it, but now videos are not playing.

Also is it possible to get videos from an exturnal sourse??