Changeset 468258
- Timestamp:
- 11/27/2011 01:54:11 PM (14 years ago)
- File:
-
- 1 edited
-
ninja-embed-plugin/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ninja-embed-plugin/trunk/readme.txt
r468257 r468258 54 54 To embed a piece of media somewhere in the code you simply need to add the following function to the template: 55 55 56 *`<?php media_embed( http://www.youtube.com/watch?v=EojN6r2VSR4'); ?>`*56 *`<?php media_embed('http://www.youtube.com/watch?v=EojN6r2VSR4'); ?>`* 57 57 58 58 You can also set a custom width and height to the media by adding arguments for width and height respectively: 59 59 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.