Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2005-12-08 15:55:06

yaform
Member
From: Lund, Sweden
Registered: 2005-11-03
Posts: 20
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

I only get the flvplayer.swf if I follow the link – guess the bas_flvplayer.zip will be back after your Renevierung.

Or do anyone else got the text for the plug?

> Bastian wrote:

> Flash isn’t that bad, i ever thought it is.
You can stream videos with it. Nice feature.

Here is the plugin


all we need is some creactivism

Offline

#17 2005-12-09 16:59:35

vesa
New Member
From: Finland
Registered: 2005-12-02
Posts: 5
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Try this link. Don’t know if that is the right version?

> yaform wrote:

> I only get the flvplayer.swf if I follow the link – guess the bas_flvplayer.zip will be back after your Renevierung.

Or do anyone else got the text for the plug?

> Bastian wrote:

> Flash isn’t that bad, i ever thought it is.
You can stream videos with it. Nice feature.

Here is the plugin


Bbf

Offline

#18 2005-12-09 18:15:27

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Sorry for broken links, but right now, i´m ready. I hope.

I updated to bas_flvplayer v0.2

Here you can see it work The text is in German, but i updated the helpfile, which is english.

Here you can download the .zip

Thats new in 0.2

  • Updated plugin’s help
  • Closed para-tag -> XHTML-konform
  • I reduced the attributes:
    player defines the flashplayer. This one acepts the txp-file-id or txp-filename or giv a path to player.
    video defines the video to play. Like player give an id, txp-filename or path
  • Custom field-Support: Name an custom field video and the plugin will play videos that are stored there. Thanks to creativesplash for the idea th use cusotom field.
  • Advanced install: Under extensions there is an script, which adds some plugins´s prefs to txp-db. Once you run the script, you can edit these in advanced preferences tab.

Offline

#19 2005-12-09 21:38:26

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Thank you very much for the update.

Offline

#20 2005-12-10 05:07:44

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Wow! Thanks a ton!


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#21 2005-12-10 12:02:24

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Thanks for the update this plugin is getting a ton on mileage from me for a site I am working on. Can someone explain in a little more detail the custom field functionality for me so I can get the most out of this?

Offline

#22 2005-12-10 14:33:21

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

The custom field functionality

I hope this explanation helps:

  • Admin -> Advanced Preferences: Name one custom field to video.
  • Add to <code><txp:bas_flvplayer /></code> to your article form.
  • Refer the video file, you want to play, in an article’s custom field you named video.

For example you have to videos with id=<strong>9</strong> and id=<strong>13</strong>

  • Write an article and insert <strong>9</strong> into custom field video. The plugin will stream video 9, when this article is shown.
  • Write another article and insert 13 into video. This will play video 13 when this article is shown.
  • And now write one more article and leave video blank and nothing will happen, if this one is shown.

Using custom field functionality makes sense, if you want to present videos regularly, as some kind of videoblog

Offline

#23 2005-12-18 01:26:07

danfnord
New Member
Registered: 2005-12-18
Posts: 3

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

I’m stuck.

I’ve got the plugin installed, a custom field named ‘video’, both the flv and swf files uploaded via textpattern’s uploader feature.

I placed this code in my article form:

<txp:bas_flvplayer />

I’ve got the FLV in txp with an id of “2”
http://danklyn.com/weblog/index.php?s=file_download&id=2

In a test posting I threw in the following code:

video.flv

i also tried:

player.swf

Here’s that test posting

http://danklyn.com/weblog/index.php?id=6

Any ideas what i’m doin wrong? I can play player.swf locally and it works great…

Offline

#24 2005-12-18 03:42:31

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

danfnord, looks like you are using the wrong tag.

Its not <code><bas_flvplayer video=‘1’ /></code> … but its <code><txp:bas_flvplayer video=“1” /></code>. Do you see the difference?


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#25 2005-12-18 06:18:20

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

creativesplash is right. Change it and it should work

Is the plugin help wrong? My foul, again?

Last edited by Bastian (2005-12-18 06:20:57)

Offline

#26 2005-12-18 15:28:56

danfnord
New Member
Registered: 2005-12-18
Posts: 3

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Hmmm.. I’m getting some progress now

screenshot of my article markup

However, i’m confused.

the player SWF has an id of of “1” in my new install of TXP

the sample movie FLV has an ide of “2”

in my test article i can see the player interface if i go like this:

<txp:bas_flvplayer video=“1” />

and then in the sidbar area I assign the “video” field the ID of “2” … i guess to let the player “know” which FLV to load in… but for the life of me i cant get the video to load.

Seeing the player interface now is progress tho and thanks SO much for the help so far :)

Offline

#27 2005-12-18 15:44:06

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

The screen shot say that in body <code><txp:bas_flvplayer video=“1” /></code> and the custom Video is set to 1. I guess that cant work, remove video from plugin-tag.

And for the player I guess you didnt rename it? Its called flvplayer.swf and its in txp-file system. Right?
And you didnt saved an different value with advanced install?
In that case, you dont have to define a player, because thats the default.

(You wrote your flv has id=2) <code><txp:bas_flvplayer /></code> and custom Video = 2 should work.

EDIT: Just closing tags

Last edited by Bastian (2005-12-18 15:44:42)

Offline

#28 2005-12-18 15:52:45

danfnord
New Member
Registered: 2005-12-18
Posts: 3

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Offline

#29 2006-01-17 18:55:06

holli.p
Member
From: Pinneberg/Germany
Registered: 2004-04-21
Posts: 83
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

I have installed the Plugin and have activate it.

When I than got to an other part of my textpattern I get the error-message

Fatal error: Call to undefined function add_privs() in /is/htdocs/wp1013135_5BU5UAVZ0F/www/hasenbude/textpattern/lib/txplib_misc.php(351) : eval()’d code on line 4

Whats happend there?

thanx holli.p


Visit my Textpattern sites:
Northerndelight | Hasenbude
Curiculum Vitare | Rezepteblock

Offline

#30 2006-01-18 14:41:00

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

I dont know. The function add_privs is not part oft the plugin, its part of txp-core.

What do you mean with an other part of my textpattern ?
Is there an error message, when you deactivate the plugin?

Offline

Board footer

Powered by FluxBB