Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-07-14 18:02:22

erikscholz
Member
From: Berlin
Registered: 2006-03-20
Posts: 17
Website

bas_flvplayer

Hi,

I tried and tried and read Tutorials and all but the bas_flvplayer just gives me a black frame and I couldn’t find the error.

What I did:
1. uploaded player.swf (JW Player from Jeroen Wijerings Website)
2. Installed the bas_flvplayer Plugin
3. Placed the swfobject.js in Header (not sure if needed)
4. Set up the right path and name in preferences for the Player

Now I write this in my article:

<txp:bas_flvplayer video="13" />

My website just shows up a transparent frame. In the right size by the way: 320×240 pix.

That’s the code generated in the final Blog entry:

<object type="application/x-shockwave-flash" data="http://10.119.0.15/apache2-default/textpattern/files/player.swf?file=http://10.119.0.15/apache2-default/textpattern/index.php?s=file_download&amp;id=13&amp;autoStart=false" width="320" height="240">
	<param name="movie" value="http://10.119.0.15/apache2-default/textpattern/files/player.swf?file=http://10.119.0.15/apache2-default/textpattern/index.php?s=file_download&amp;id=13&amp;autoStart=false" />
	<param name="wmode" value="transparent" />
</object>

Unfortunately the website is not online to show you. I hope I gave enough key data.

What am I doing wrong. Or are there any setup problems on my site?

Thanks for any kind of hint,
Erik

Offline

#2 2008-07-14 18:17:08

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: bas_flvplayer

What am I doing wrong. Or are there any setup problems on my site?

Not posting in the plugin thread ;).

Did you try accessing the file directly? (http://10.119.0.15/apache2-default/textpattern/files/player.swf?file=http://10.119.0.15/apache2-default/textpattern/index.php?s=file_download&amp;id=13&amp;autoStart=false in your browser)

Offline

#3 2008-07-14 18:23:47

erikscholz
Member
From: Berlin
Registered: 2006-03-20
Posts: 17
Website

Re: bas_flvplayer

Oh sorry. Is it possible to move this post to the right forum?

Anyway now I tried to paste this in my browser. I can see the Jw Player but there is an error code: 0: Error #2032

I tried this instead and it worked:
http://10.119.0.15:80/apache2-default/textpattern/files/player.swf?file=http://10.119.0.15/apache2-default/textpattern/files/video.flv&amp;autoStart=false

But now I must figure out to adjust the settings…

jm schrieb:

bq. What am I doing wrong. Or are there any setup problems on my site?

Not posting in the plugin thread ;).

Did you try accessing the file directly? (http://10.119.0.15/apache2-default/textpattern/files/player.swf?file=http://10.119.0.15/apache2-default/textpattern/index.php?s=file_download&amp;id=13&amp;autoStart=false in your browser)

Last edited by erikscholz (2008-07-14 18:28:20)

Offline

#4 2008-07-14 22:04:47

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: bas_flvplayer

Hi Erik, I’m using bas_flvplayer on my site and the tag I’m using in the article is this:

<txp:bas_flvplayer video='/files/name_of_file.flv' width="400" height="300" />

In my settings is just

bas_flvplayer_player: flvplayer.swf

Maybe it helps.

Last edited by els (2008-07-14 22:40:42)

Offline

#5 2008-07-18 13:42:08

erikscholz
Member
From: Berlin
Registered: 2006-03-20
Posts: 17
Website

Re: bas_flvplayer

Hi,

i tried this now, but won’t work.
Do you have Player and Videos in different folders?
I use same folder for that – could that be a problem?

Best,
Erik

Els schrieb:

Hi Erik, I’m using bas_flvplayer on my site and the tag I’m using in the article is this:

<txp:bas_flvplayer video='/files/name_of_file.flv' width="400" height="300" />

In my settings is just

bas_flvplayer_player: flvplayer.swf

Maybe it helps.

Offline

#6 2008-07-18 15:25:27

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: bas_flvplayer

No, player and videos are all in the files directory.

Edit: according to the plugin help you need to upload the player through TXP, did you do that?

Last edited by els (2008-07-18 15:42:25)

Offline

#7 2008-10-27 20:39:55

jens31
Plugin Author
From: munich / dtschermani
Registered: 2008-08-25
Posts: 183
Website

Re: bas_flvplayer

hmmm, i do have exactly the same problem. and according, to whats viewable over at eriks website, there he couldnt fix the problem eather. if you look in the source-code youll finde some code for the video. but where teh video is at??!
i did upload the video via txp. i tried els code. the test video is up and should be ready to go. some code pops up, but there is defenetly no video :(

here is my <code>
<div class=“video”> <p><object type=“application/x-shockwave-flash” data=“http://example.com/file_download/7?file=/files/video.flv&amp;autoStart=false” width=“400” height=“300”> <param name=“movie” value=“http://example.com/file_download/7?file=/files/video.flv&amp;autoStart=false” /> <param name=“wmode” value=“transparent” />
</object></p></div>
</code>

and yes, i do have teh latest flash plug-in installed(10). and the latest txp (4.0.6).

Last edited by jens31 (2008-10-27 20:41:58)

Offline

#8 2008-10-27 21:59:15

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: bas_flvplayer

jens31
I’m not sure what is causing your problem, but I can tell you exactly what my settings are.

First, I changed the tag as mentioned in my previous post, according to this post, but it also worked in Firefox without the player attribute. This is in my article:

<p class="movie"><txp:bas_flvplayer player='/files/flvplayer.swf' video='/files/skippyklurig.flv' width="400" height="300" /></p>

This is my html output:

<p class="movie"><object type="application/x-shockwave-flash" data="/files/flvplayer.swf?file=/files/skippyklurig.flv&amp;autoStart=false" width="400" height="300">
	<param name="movie" value="/files/flvplayer.swf?file=/files/skippyklurig.flv&amp;autoStart=false" />
	<param name="wmode" value="transparent" />
</object></p>

I uploaded the player (flvplayer.swf) through the Files tab, and I FTP’d the .flv file to the /files directory (maybe that is the difference?)
I also FTP’d a .jpg with the same name as the .flv to the /files directory (but I don’t think that should make a difference).
In Advanced preverences for ‘bas_flv_player_player’ I have flvplayer.swf and for ‘autostart’ no.

You can see it working here.
I hope this helps.

Offline

#9 2008-10-28 08:39:18

jens31
Plugin Author
From: munich / dtschermani
Registered: 2008-08-25
Posts: 183
Website

Re: bas_flvplayer

thanks els, this just worked fine for me :)
i guess the player attribute was missing, but i also thought that the plug gets this automatically. anyways, i had my problems with the documentation. thanks again.

Offline

Board footer

Powered by FluxBB