| View previous topic :: View next topic |
| Author |
Message |
John the uncertain
Joined: 22 Jun 2004 Posts: 2147
     votes: 27
|
Posted: Tue Jan 08, 2008 17:55 Post subject: Video Plugin plus Flash |
|
|
This is an "edit" of Francois's _videoplug.plugin.php that adds a Flash button to the video toolbar... ( space efficient and sort of related )
Clicking the Flash button prompts for...
URL for your SWF
Width , in px or %, of your SWF
Height , in px or %, of your SWF
It renders in your posting screen as.....
| Code: |
| [object:SWF:http://yoursite.com/your.swf width:450px height:250px] |
It outputs valid xhtml (no embed tag) in your post as...
| Code: |
<div class="videoblock">
<object type="application/x-shockwave-flash"
style="width:450px; height:250px;" data=
"http://yoursite.com/your.swf">
<param name="movie" value=
"http://yoursite.com/your.swf" />
</object>
</div> |
It wouldn't have seen daylight without ¥åßßå's preg_replace smarts and patience, as I still can't code my way out of a wet paper bag.
It also drew on the Lady Ease Flash plugin.
The revised videoplug.plugin can be downloaded HERE and an example post is here.
To install, simply locate the plugins folder on your server, then the video_plugin folder and simply replace _videoplug.plugin.php with the content of the zipped download.
Note: back up all original files.
Also, in the Admin go to "plugins" and click on "Reload Plugins" just to be sure you have the new version in action.
Cheers _________________ See the Sites in in Venice |
|
| Back to top |
|
 |
¥åßßå Blonde Bimbo
 Joined: 07 Jan 2005 Posts: 6579
    votes: 115
|
Posted: Tue Jan 08, 2008 18:41 Post subject: |
|
|
You bloody cheapskate, yah never even gave me a single rep point .... I'm gonna add you to my ban list
Ohhh, and don't think of donating one now, I'll know it's just a guilt thing.
Mind you, I do have my own tag on your blog
To make you doubly guilty though I'm gonna throw you some vote love for creating your first plugin and continuing your "giving back to the community" path ..... try not to let the guilt weight to heavily on yer shoulders huh?
¥ _________________ I may have opened the door but you entered of your own free will
| normal life wrote: |
yabba_hh: I think, I type, I read what I type, I think "fuck, what was I thinking when I typed that?!"
tuxnus: that's two more thoughts than I give you credit for |
|
|
| Back to top |
|
 |
John the uncertain
Joined: 22 Jun 2004 Posts: 2147
     votes: 27
|
Posted: Tue Jan 08, 2008 18:54 Post subject: |
|
|
Slumps off to a dark corner and frets over a life of repeated omisions. What makes it worse is that it's already a New Year and far too late to make a stiff resolution to change. _________________ See the Sites in in Venice |
|
| Back to top |
|
 |
¥åßßå Blonde Bimbo
 Joined: 07 Jan 2005 Posts: 6579
    votes: 115
|
Posted: Tue Jan 08, 2008 19:23 Post subject: |
|
|
That's a start, by page two I may actually feel sorry for yah ...... just kidding, it'll take until page 4 of grovelling
Just to reinforce my positive and encouraging reputation :
"seriously mate, FANTASTIC modification of the core plugin, I'm DAMN SURE many users will find it a lifeline. CONGRATULATIONS on not only thinking of it, but coding the solution. YOU ROCK"
Hope yah feel like shit now
¥ _________________ I may have opened the door but you entered of your own free will
| normal life wrote: |
yabba_hh: I think, I type, I read what I type, I think "fuck, what was I thinking when I typed that?!"
tuxnus: that's two more thoughts than I give you credit for |
|
|
| Back to top |
|
 |
John the uncertain
Joined: 22 Jun 2004 Posts: 2147
     votes: 27
|
Posted: Tue Jan 08, 2008 19:29 Post subject: |
|
|
Nothing doing before next year, at the earliest. _________________ See the Sites in in Venice |
|
| Back to top |
|
 |
¥åßßå Blonde Bimbo
 Joined: 07 Jan 2005 Posts: 6579
    votes: 115
|
Posted: Tue Jan 08, 2008 19:35 Post subject: |
|
|
I'll never remember to guilt trip yah by the time next year arrives, I'm a bloody blonde we don't have minds
¥ _________________ I may have opened the door but you entered of your own free will
| normal life wrote: |
yabba_hh: I think, I type, I read what I type, I think "fuck, what was I thinking when I typed that?!"
tuxnus: that's two more thoughts than I give you credit for |
|
|
| Back to top |
|
 |
John the uncertain
Joined: 22 Jun 2004 Posts: 2147
     votes: 27
|
Posted: Wed Jan 09, 2008 17:34 Post subject: |
|
|
In a huge show of support you will be pleased to know your name now passes my spell checker and looks like it should , thanks to Afwas and his DB magic ) _________________ See the Sites in in Venice |
|
| Back to top |
|
 |
¥åßßå Blonde Bimbo
 Joined: 07 Jan 2005 Posts: 6579
    votes: 115
|
Posted: Wed Jan 09, 2008 17:49 Post subject: |
|
|
Imagine how much you'll have grovelled by page 4
WTG Afwas we should crown him the king of charset corrections .... I hope you gave him some rep points, otherwise yer gonna look uber cheap
¥ _________________ I may have opened the door but you entered of your own free will
| normal life wrote: |
yabba_hh: I think, I type, I read what I type, I think "fuck, what was I thinking when I typed that?!"
tuxnus: that's two more thoughts than I give you credit for |
|
|
| Back to top |
|
 |
esanchez Hooked :)

Joined: 27 Sep 2005 Posts: 470
  votes: 3
|
Posted: Fri Feb 29, 2008 17:22 Post subject: |
|
|
More and More sites have the EMBED Object code
Is there a way to enabled a free HTML code page button?
Or a way to enable the <object></object><embed></embed> tags? _________________ -Edgar
TheChristianAlert.org - Running on B2Evo 3.3.1 |
|
| Back to top |
|
 |
John the uncertain
Joined: 22 Jun 2004 Posts: 2147
     votes: 27
|
Posted: Sun Mar 02, 2008 0:32 Post subject: |
|
|
You can use embed tags anytime.
There s no reason not to apart from the fact embed is deprecated and I just prefer to have pages that have valid code. _________________ See the Sites in in Venice |
|
| Back to top |
|
 |
GetSmart New Poster

Joined: 21 Mar 2008 Posts: 12
      
|
Posted: Sun Sep 14, 2008 21:26 Post subject: |
|
|
| is there a certain type of software needed to upload the flash video other than the plug in? |
|
| Back to top |
|
 |
d0b3rm4n New Poster

Joined: 20 Sep 2008 Posts: 5  
|
|
| Back to top |
|
 |
EdB /bb|[^b]{2}/
Joined: 05 Jan 2004 Posts: 7123
  votes: 90
|
Posted: Sun Sep 21, 2008 10:05 Post subject: |
|
|
Hi d0b3rm4n. So ... if people read this thread they may be very happy with this and see no need for another plugin. Just sayin  |
|
| Back to top |
|
 |
Aaron New Poster

Joined: 21 Oct 2008 Posts: 3  
|
Posted: Tue Oct 21, 2008 9:21 Post subject: |
|
|
| Hello all, how do you get the video toolbar to appear in the first part? Is that a download/ plug-in which then also requires a flash plug-in for flash? |
|
| Back to top |
|
 |
Afwas Forum helper
 Joined: 03 Jan 2007 Posts: 3559
    votes: 63
|
|
| Back to top |
|
 |
|