Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video
Just give the new one a different name and refer to that.
Offline
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
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')?'':'&autoStart=false';@
@ if($debug 'false' && $player != '' && $video != ''){
$out[]='<object type="application/x-shockwave-flash" data="'.$player.'?file='.$video.$autostart.'&clicktext=Your%20text%20here!" width="'.$width.'" height="'.$height.'">';
$out[]=' <param name="movie" value="'.$player.'?file='.$video.$autostart.'&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
Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video
Thanks man! :)
Offline
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.'&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
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
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
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
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
Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video
Can we see your page please?
Offline