Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#76 2006-09-28 11:21:49

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

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

Do I just need to switch out the old flash player fie with then new to get going?

Offline

#77 2006-09-28 11:35:31

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 87
Website

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

Just give the new one a different name and refer to that.

Offline

#78 2006-09-29 13:53:17

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

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

cbeyls wrote:

Again, you don’t need to set that variable at two places (the data attribute and the value of the movie param), you can just set it once in the flashVars param.

Excuse me for not quite get what you guys mean… Do you talk about adding a line in the plugin? (Edit plugin) If so, where do I place this exactly? Couldn´t find the flashVars param you´re talking about.

Im mainly interested in changing the “click to play” text.

I now guess I have to edit the players sourcecode somehow. But how is that done? Newbie when it comes to programs like Macromedia Flash MX… is the solution there?

Last edited by skoggy (2006-09-29 14:37:07)

Offline

#79 2006-09-29 17:31:44

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 87
Website

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

OK.

Look for this part in the plugin:

}
$autostart=($autostart '1')?'':'&autoStart=false';@ @ if($debug 'false' && $player != '' && $video != ''){
$out[]='<object type="application/x-shockwave-flash" data="'.$player.'?file='.$video.$autostart.'" width="'.$width.'" height="'.$height.'">';
$out[]=' <param name="movie" value="'.$player.'?file='.$video.$autostart.'" />';
$out[]=' <param name="wmode" value="transparent" />';
$out[]='</object>';
return join(n,$out);
}

and change it into:

}
$autostart=($autostart '1')?'':'&amp;autoStart=false';@ @ if($debug 'false' && $player != '' && $video != ''){
$out[]='<object type="application/x-shockwave-flash" data="'.$player.'?file='.$video.$autostart.'&amp;clicktext=Your%20text%20here!" width="'.$width.'" height="'.$height.'">';
$out[]=' <param name="movie" value="'.$player.'?file='.$video.$autostart.'&amp;clicktext=Your%20text%20here!" />';
$out[]=' <param name="wmode" value="transparent" />';
$out[]='<p><strong>This%20movie%20needs%20Flash%20installed!</strong></p>';
$out[]='</object>';
return join(n,$out);
}

Note that I also added a line for those browsers without Flash installed. And the %20 thingie is a hardcoded HTML space.

Cbeyls is referring to an extra output line <param name="FlashVars" value="clicktext=Your%20text%20here!"> in stead of what I did. Haven’t tried that yet, but it should work.

Offline

#80 2006-09-30 12:52:28

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

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

Thanks man! :)

Offline

#81 2006-10-01 01:43:52

cbeyls
Archived Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

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

My suggestion:

if($debug == 'false' && $player != '' && $video != ''){
$out[]='<object type="application/x-shockwave-flash" data="'.$player.'" width="'.$width.'" height="'.$height.'">';
$out[]=' <param name="movie" value="'.$player.'" />';
$out[]=' <param name="flashVars" value="file='.urlencode($video).$autostart.'&amp;clicktext='.urlencode('Your text here!').'" />';
$out[]=' <param name="quality" value="best" />';
$out[]=' <param name="wmode" value="transparent" />';
$out[]='<p><strong>This movie needs Flash installed!</strong></p>';
$out[]='</object>';
return join(n,$out);
}


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

#82 2006-10-05 09:09:48

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

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

I now installed the new flashplayer but i have only in firefox the start/cover.jpg not in ie.
What can I do to show them there too?

Example: http://www.hasenbu.de/278/saison-eroeffnet

Last edited by holli.p (2006-10-05 09:10:34)


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

Offline

#83 2006-10-08 03:27:26

moloko
Member
From: USA
Registered: 2005-05-25
Posts: 35
Website

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

OK I am having troubles understanding how to use and set up.
I have put the plugin files in the root of my textpattern setup. I installed the plugin and see the extenstions in advanced preferences. I put <txp:bas_flvplayer video=‘1’ /> in my article and saved. I can right click in the article and it will have a Marcomedia about box but the entire article is blank. Is there another call I need to put in or point too?

Offline

#84 2006-11-24 00:00:03

stdmedia
Member
From: Canada
Registered: 2006-01-05
Posts: 51

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

Scrap all of that stuff I wrote previously. Now I’m wondering if someone could help me understand how to embed the movies using the, previously mentioned, SWFObject. I’m not all that great with stuff, and any help would be truly appreciated.

Thank you in advance.

Last edited by stdmedia (2006-12-05 07:08:32)

Offline

#85 2006-12-24 05:49:49

sangalo
Member
Registered: 2006-12-21
Posts: 11

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

hi guys i went ahead and followed the instructions to the tee……still cant get the player to work…

1. On my page template i have this code <txp:bas_flvplayer/>

2. I created a custom field called Videos and on my article page i have the video field with the id#2 for the flv file i upladed and is on my txp file section

When i view the article nothing shows up ???

Any help !!

Offline

#86 2006-12-24 06:05:10

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

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

are you in debugging mode? What kind of output does that produce? (tag errors, for instance)

Offline

#87 2006-12-24 07:03:35

sangalo
Member
Registered: 2006-12-21
Posts: 11

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

I setup the debug mode <txp:bas_flvplayer debug=‘1’ /> but have o idea where the output is…..so basically there is no output….no errors anywhere the player seems not to work…..i just installed the bas_emff and it worked at the first try……would really appreciate the help !!

Last edited by sangalo (2006-12-24 07:08:17)

Offline

#88 2006-12-24 17:00:26

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

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

no no no

put your textpattern install in debugging mode, it’s in the preferences under “admin”

Offline

#89 2006-12-24 19:09:57

sangalo
Member
Registered: 2006-12-21
Posts: 11

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

placed it in debug mode…..am pretty new in this so please bear with me…..i saw no instance of the <txp:bas_flvplayer/> no errors at all….no flash code whatsoever…

Offline

#90 2006-12-27 00:09:44

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

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

Can we see your page please?

Offline

Board footer

Powered by FluxBB