Widget:Vimeo
From FDT Documentation
(Difference between revisions)
Line 1: | Line 1: | ||
- | <includeonly><object width="<!--{$width|default:400|escape:'html'}-->" height="<!--{$height|default:300|escape:'html'}-->"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=<!--{$id|escape:'urlpathinfo'}-->& | + | <noinclude>__NOTOC__ |
+ | This widget allows you to add [http://www.vimeo.com/ Vimeo video] to your wiki page. | ||
+ | |||
+ | To insert this widget, use the following code: | ||
+ | |||
+ | <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|id=3579013}}</nowiki> | ||
+ | |||
+ | == Parameters == | ||
+ | * '''id''' - numeric video id from the URL | ||
+ | * '''width''' and '''height''' define view dimensions, 400x300 is default | ||
+ | |||
+ | </noinclude> | ||
+ | <includeonly><object width="<!--{$width|default:400|escape:'html'}-->" height="<!--{$height|default:300|escape:'html'}-->"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=<!--{$id|escape:'urlpathinfo'}-->&server=www.vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" /><embed src="http://www.vimeo.com/moogaloop.swf?clip_id=<!--{$id|escape:'urlpathinfo'}-->&server=www.vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="<!--{$width|default:400|escape:'html'}-->" height="<!--{$height|default:300|escape:'html'}-->"></embed></object></includeonly> |
Latest revision as of 11:19, 19 September 2010
This widget allows you to add Vimeo video to your wiki page.
To insert this widget, use the following code:
{{#widget:Vimeo|id=3579013}}
Parameters
- id - numeric video id from the URL
- width and height define view dimensions, 400x300 is default