Plugin Directory

Changeset 468258


Ignore:
Timestamp:
11/27/2011 01:54:11 PM (14 years ago)
Author:
gerhard
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ninja-embed-plugin/trunk/readme.txt

    r468257 r468258  
    5454To embed a piece of media somewhere in the code you simply need to add the following function to the template:
    5555
    56 *`<?php media_embed(‘http://www.youtube.com/watch?v=EojN6r2VSR4'); ?>`*
     56*`<?php media_embed('http://www.youtube.com/watch?v=EojN6r2VSR4'); ?>`*
    5757
    5858You can also set a custom width and height to the media by adding arguments for width and height respectively:
    5959
    60 *`<?php media_embed(‘http://www.youtube.com/watch?v=EojN6r2VSR4', 800, 600); ?>`*
     60*`<?php media_embed('http://www.youtube.com/watch?v=EojN6r2VSR4', 800, 600); ?>`*
Note: See TracChangeset for help on using the changeset viewer.