u2b

Table of Contents
First Edition. 06/10/2006
Last Modified. 06/10/2006

A htmlinsert script which shows youtube video

SummaryA htmlinsert script which shows youtube video
Compatible Versionshtmlinsert rev.7
Developersonots
First Edition06/10/2006

This page is written in both English and Japanese.

Abstract

This htmlinsert script shows youtube video. I assume you know what youtube is.

Related

How to use

Variables

  • id
  • style
  • width
  • height

Examples

#htmlinsert(u2b,id=qCpbBVthD7o,width=180,height=140,style=text-align:right;)

HTML Results

<div class="u2b_img" style="text-align:right;">
  <object data="http://www.youtube.com/v/qCpbBVthD7o" type="application/x-shockwave-flash" width="180" height="140">
    <param name="src" value="http://www.youtube.com/v/qCpbBVthD7o" />
  </object>
</div>

Results

Source Code

First, please install ../../htmlinsert.inc.php and configure it, then save follows as a wiki page whose name is :HTML/u2b.

<div class="u2b_img" style="${style=}">
  <object data="http://www.youtube.com/v/${id=}" type="application/x-shockwave-flash" width="${width=425}" height="${height=350}">
    <param name="src" value="http://www.youtube.com/v/${id=}" />
  </object>
</div>