This server will be upgraded at 3pm Sydney time on December 3rd (December 2nd, 8pm PST) and will be down for up to 30 minutes.

DailyMotion user macro

Name DailyMotion User Macro
Version 1.0
Product Versions 2.x.x
Author(s) Jean-Baptiste Catté
Price Free

Description/Features

Allows users to easily embed DailyMotion videos within Confluence

Installation

This is a user macro, which means you will need to add it manually to your User Macro's in the administration screen.

  1. Go to the System Administration screen
  2. Click on the 'User Macros' link in the left menu under 'Configuration'
  3. Select 'Create a User Macro'
  4. Name the macro 'youtube'
  5. Check the 'Macro has a body' box
  6. Paste the following into the text area and press 'Save':
<div>
<object width="420" height="420">
    <param name="movie" value="http://www.dailymotion.com/swf/x3z0rw"></param>
    <param name="allowFullScreen" value="true"></param>
    <param name="allowScriptAccess" value="always"></param>
    <embed src="http://www.dailymotion.com/swf/$body" type="application/x-shockwave-flash" width="520" height="420" allowFullScreen="true" allowScriptAccess="always"></embed>
</object>
</div>

Usage

The macro needs the DailyMotion video code in order to display the video. So, for example:

YouTube video URL http://www.dailymotion.com/video/x3z0rw_mika_music
Video code (from last part of URL) x3z0rw
Tag to display video {dailymotion}x3z0rw{dailymotion}

Thanks

To Menso Heus and his YouTube user macro for the example.

Labels

plugin plugin Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.