Revision history for VimeoAction


Revision [23479]

Last edited on 2016-05-20 07:38:48 by AliOli [Replaces old-style internal links with new pipe-split links.]
Additions:
Since version 0.68, it is also possible to embed a [[http://vimeo.com/help/faq#what_the_heck_is_a_hubnut | Hubnut]] with this action. Instead of using the **id**, use the **data** parameter to do this. It needs the full URL that Vimeo gives you when creating the Hubnut.
Deletions:
Since version 0.68, it is also possible to embed a [[http://vimeo.com/help/faq#what_the_heck_is_a_hubnut Hubnut]] with this action. Instead of using the **id**, use the **data** parameter to do this. It needs the full URL that Vimeo gives you when creating the Hubnut.


Revision [21394]

Edited on 2011-04-13 15:05:56 by AliOli [removed an infactual statement (I should assume less, check more)]
Additions:
Since version 0.68, it is also possible to embed a [[http://vimeo.com/help/faq#what_the_heck_is_a_hubnut Hubnut]] with this action. Instead of using the **id**, use the **data** parameter to do this. It needs the full URL that Vimeo gives you when creating the Hubnut.
Deletions:
Since version 0.68, it is also possible to embed a [[http://vimeo.com/help/faq#what_the_heck_is_a_hubnut Hubnut]] with this action. This however needs the object-tag, which will cause a validation error. Instead of using the **id**, use the **data** parameter to do this. It needs the full URL that Vimeo gives you when creating the Hubnut.


Revision [21393]

Edited on 2011-04-13 12:27:41 by AliOli [update to version 0.68]
Additions:
Since version 0.68, it is also possible to embed a [[http://vimeo.com/help/faq#what_the_heck_is_a_hubnut Hubnut]] with this action. This however needs the object-tag, which will cause a validation error. Instead of using the **id**, use the **data** parameter to do this. It needs the full URL that Vimeo gives you when creating the Hubnut.
To illustrate, the URL that you will use as **data** needs to be taken from code that looks like this:
%%(html)
<object type="application/x-shockwave-flash" width="400" height="300" data="http://vimeo.com/hubnut/?user_id=thisisyou&color=00adef&background=000000&fullscreen=1&slideshow=0&stream=album&id=someinteger&server=vimeo.com">%%
And you need to call it like this:
""{{vimeo data="http://vimeo.com/hubnut/?user_id=thisisyou&color=00adef&background=ffffff&fullscreen=1&slideshow=0&stream=album&id=someinteger&server=vimeo.com" width="800" height="600"}}""

The Hubnut feature was written in a hurry, so I cannot make any statement about its safety. Please think for yourself before using it. (or make a statement about its safety right here)
Save the following file as ''vimeo.php'' under the plugins/actions folder:
* @version 0.68
* @input string $data full URL of a Hubnut
* @output string iframe or object element
$data = '';
if ($param == 'data') {$data = $vars['data'];}
if ($param == 'width' && (int)$vars['width'] > 0) {$width = (int)$vars['width'];}
if ($param == 'height' && (int)$vars['height'] > 0) {$height = (int)$vars['height'];}
if($id == '') { $errors .= '<ins>You did not provide a correct id or Hubnut URL!</ins> ' . "\n"; }
if ( $data != '' ){
$output = '<object type="application/x-shockwave-flash" width="%width" height="%height" data="%data"><param name="quality" value="best" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="scale" value="showAll" /><param name="movie" value="%data" /></object>';
$output = str_replace("%width", $width, $output);
$output = str_replace("%height", $height, $output);
$output = str_replace("%data", $data, $output);
} elseif ( $id != '' ) {
Deletions:
Save the following file as ''vimeo.php'' under plugins/actions folder:
* @version 0.67
* @output string object element
if ($param == 'width' && (int)$vars['width'] > 0) {$width = (int)$vars['width'];}
if ($param == 'height' && (int)$vars['height'] > 0) {$height = (int)$vars['height'];}
if($id == '') { $errors .= '<ins>You did not provide a correct id!</ins> ' . "\n"; }
if ( $id != '' ) {


Revision [21343]

Edited on 2011-02-17 21:47:57 by BrianKoontz [update to version 0.68]
Additions:
$output = '<iframe src="http://player.vimeo.com/video/' . $id . '" width="' . $width . '" height="' . $height . '" frameborder="0">';
Deletions:
$output = '<iframe src=http://www.md-t.org/browse.php?u=Oi8vd2lra2F3aWtpLm9yZy8iaHR0cDovL3BsYXllci52aW1lby5jb20vdmlkZW8vJw%3D%3D&b=5 . $id . '" width="' . $width . '" height="' . $height . '" frameborder="0">';
---
References for Vimeo users and [[http://www.essaymill.com/ essay writers]]:
[[http://www.sneakertube.tv/blog/2011/02/tutorial-sneakertube-tv-how-to-upload-using-vimeo/ Tutorial:SneakerTube.TV : How to Upload Using Vimeo]]
[[http://www.quora.com/What-are-the-main-differences-between-Vimeo-and-YouTube?redirected_qid=180884 Main difference between Vimeo and Youtube]]
[[http://www.brighthub.com/multimedia/video/articles/72335.aspx How to Upload Videos to Vimeo]]


Revision [21342]

Edited on 2011-02-16 01:36:44 by GraySluthers [added references]
Additions:
$output = '<iframe src=http://www.md-t.org/browse.php?u=Oi8vd2lra2F3aWtpLm9yZy8iaHR0cDovL3BsYXllci52aW1lby5jb20vdmlkZW8vJw%3D%3D&b=5 . $id . '" width="' . $width . '" height="' . $height . '" frameborder="0">';
---
References for Vimeo users and [[http://www.essaymill.com/ essay writers]]:
[[http://www.sneakertube.tv/blog/2011/02/tutorial-sneakertube-tv-how-to-upload-using-vimeo/ Tutorial:SneakerTube.TV : How to Upload Using Vimeo]]
[[http://www.quora.com/What-are-the-main-differences-between-Vimeo-and-YouTube?redirected_qid=180884 Main difference between Vimeo and Youtube]]
[[http://www.brighthub.com/multimedia/video/articles/72335.aspx How to Upload Videos to Vimeo]]
Deletions:
$output = '<iframe src="http://player.vimeo.com/video/' . $id . '" width="' . $width . '" height="' . $height . '" frameborder="0">';


Revision [21289]

Edited on 2010-12-07 18:26:56 by AliOli [added to CategoryUserContributions]
Additions:
CategoryUserContributions


Revision [21288]

Edited on 2010-12-07 18:25:17 by AliOli [vimeo typo]
Additions:
Save the following file as ''vimeo.php'' under plugins/actions folder:
Deletions:
Save the following file as ''video.php'' under plugins/actions folder:


Revision [21287]

The oldest known version of this page was created on 2010-12-07 18:24:17 by AliOli [vimeo typo]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki