flv -buggy- player

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Hesse

Re: flv -buggy- player [solved]

Post 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 :)
Last edited by Hesse on Wed Dec 20, 2006 12:37 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: flv -buggy- player

Post by Dr.CSS »

You might want to take out the .. in front of  ../uploads then try it with that line in the file...
Hesse

Re: flv -buggy- player

Post 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.
Hesse

Re: flv -buggy- player

Post by Hesse »

Found the error. Missing "." in  src="'.$playerdir.'ufo.js".
MichaelK

Re: flv -buggy- player

Post 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?  ???
bingo
New Member
New Member
Posts: 7
Joined: Wed Oct 11, 2006 10:51 am

Re: flv -buggy- player

Post 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!
hups

Re: flv -buggy- player

Post 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
PaxSatani

Re: flv -buggy- player

Post 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!
Last edited by PaxSatani on Thu Mar 08, 2007 8:35 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: flv -buggy- player

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
numer9

Re: flv -buggy- player

Post 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!
alef

Re: flv -buggy- player

Post 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  ???
ronn

Re: flv -buggy- player

Post 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?
kiralina

Re: flv -buggy- player

Post by kiralina »

I suspect IE7 to cause this problem. The code seems to be flawless. Have you tried Firefox or Opera?
User avatar
relic
Forum Members
Forum Members
Posts: 34
Joined: Fri Dec 08, 2006 9:59 am

Re: flv -buggy- player

Post 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
User avatar
relic
Forum Members
Forum Members
Posts: 34
Joined: Fri Dec 08, 2006 9:59 am

Re: flv -buggy- player

Post 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??
Post Reply

Return to “Modules/Add-Ons”