Revision history for IFilmAction


Revision [23180]

Last edited on 2016-05-20 07:38:47 by CimNine [Replaces old-style internal links with new pipe-split links.]
Additions:
=====[[IFilmAction | iFilm]] Action=====
Documentation: IFilmActionInfo.>>This is the development page for the [[IFilmAction | iFilm]] action.::c::
This action provides you an interace to embed iFilm-Movies (like the [[YouTube | YouTube Action]]).
Deletions:
=====[[IFilmAction iFilm]] Action=====
Documentation: IFilmActionInfo.>>This is the development page for the [[IFilmAction iFilm]] action.::c::
This action provides you an interace to embed iFilm-Movies (like the [[YouTube YouTube Action]]).


Revision [19102]

Edited on 2008-01-28 00:14:02 by CimNine [Modified links pointing to docs server]

No Differences

Revision [16579]

Edited on 2007-05-17 16:23:50 by CimNine [Modified links pointing to docs server]
Additions:
actions/ifilm.php
USE: {{ifilm url="http://www.ifilm.com/video/#######" [width="425" height="350" bgcolor="#ffffff"]}}
Deletions:
USE: {{youtube url="http://www.ifilm.com/video/#######" [width="425" height="350" bgcolor="#ffffff"]}}


Revision [16577]

Edited on 2007-05-17 16:18:33 by CimNine [init]
Additions:
=====[[IFilmAction iFilm]] Action=====
Documentation: IFilmActionInfo.>>This is the development page for the [[IFilmAction iFilm]] action.::c::
This action provides you an interace to embed iFilm-Movies (like the [[YouTube YouTube Action]]).
iFilm plugin created by CimNine.
Based on YouTube plugin created by Grant Young.
USE: {{youtube url="http://www.ifilm.com/video/#######" [width="425" height="350" bgcolor="#ffffff"]}}
'url' must be provided.
'width', 'height' and 'bgcolor' are all optional. Defaults are listed above.
if (!($url)) {
print "<strong>You must provide the iFilm url, including 'http://'.</strong>";
return;
} else {
if (!$width)
{
$width = 425;
}
if (!$height)
{
$height = 350;
}
if (!$bgcolor)
{
$bgcolor = "#ffffff";
}
// http://www.ifilm.com/video/2854851 - if URL in this format, extract id of movie
$ptn = "/video\/([0-9]{7})$/";
if (preg_match($ptn, $url, $matches))
$id = $matches[1];
else
print "<strong>The provided URL was not in the correct format.</strong>";
return;
print '<object type="application/x-shockwave-flash" data="http://www.ifilm.com/efp" width="'.$width.'" height="'.$height.'" id="VideoPlayback">
<param name="movie" value="http://www.ifilm.com/efp" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="quality" value="best" />
<param name="bgcolor" value="'.$bgcolor.'" />
<param name="scale" value="noScale" />
<param name="FlashVars" value="flvbaseclip='.$id.'&" />
</object>';
Deletions:
=====AddThisAction=====
Documentation: AddThisActionInfo.>>This is the development page for the [[AddThisAction AddThis]] action.::c::
This Action provides you a button for the ""AddThis"-Service ( http://www.addthis.com/ ).
AddThis plugin created by CimNine.
USE: {{addthis [type='1|2|3']}}
Default: 2
if ($type == "1")
print '<a href="http://www.addthis.com/bookmark.php" onclick="addthis_url = location.href; addthis_title = document.title; return addthis_click(this);" target="_blank"><img src="http://s7.addthis.com/button0-bm.gif" width="125" height="16" border="0" alt="AddThis Social Bookmark Button" /></a> <script type="text/javascript">var addthis_pub = \'R54S805PWAV8G068\';</script><script type="text/javascript" src="http://s7.addthis.com/js/widget.php?v=10"></script>';
} elseif ($type == "3")
print '<a href="http://www.addthis.com/bookmark.php" onclick="addthis_url = location.href; addthis_title = document.title; return addthis_click(this);" target="_blank"><img src="http://s7.addthis.com/button2-bm.png" width="160" height="24" border="0" alt="AddThis Social Bookmark Button" /></a> <script type="text/javascript">var addthis_pub = \'R54S805PWAV8G068\';</script><script type="text/javascript" src="http://s7.addthis.com/js/widget.php?v=10"></script>';
} else
print '<a href="http://www.addthis.com/bookmark.php" onclick="addthis_url = location.href; addthis_title = document.title; return addthis_click(this);" target="_blank"><img src="http://s7.addthis.com/button1-bm.gif" width="125" height="16" border="0" alt="AddThis Social Bookmark Button" /></a> <script type="text/javascript">var addthis_pub = \'R54S805PWAV8G068\';</script><script type="text/javascript" src="http://s7.addthis.com/js/widget.php?v=10"></script>';


Revision [16576]

The oldest known version of this page was created on 2007-05-17 16:13:54 by CimNine [init]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki