LJ-Template Tag

From No LJ Ads Wiki

Jump to: navigation, search

The <lj-template> tag allows you to use pre-defined templates.

Contents

[edit] Video

The following:

<lj-template name="video">URL to video</lj-template>

Will render as a Flash video player.

Alternate markup includes the following:

<span class="ljvideo">URL to video</span>

[edit] Supported Sites

[edit] Google Video

  1. URL in address bar of browser
    1. http://video.google.com/videoplay?docid=docid
  2. In information box:
    1. Click "Blog"
    2. Click "Embed HTML"
    3. Get value of src attribute
    4. http://video.google.com/googleplayer.swf?docId=docId

[edit] Photobucket

  1. In Share This Video box:
    1. Click "HTML"
    2. Get value of src attribute
    3. http://vidnumber.photobucket.com/player.swf?file=http://vidnumber.photobucket.com/albums/number/username/filename.flv

[edit] YouTube

  1. URL in address bar of browser
  2. URL field in information box
  • http://www.youtube.com/watch?v=videoId