WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=0b20ff0ff492dc2af44b01880f4807259e6fb0e7

commit 0b20ff0ff492dc2af44b01880f4807259e6fb0e7
Author: Raster <ras...@rasterman.com>
Date:   Sun Jul 12 20:31:54 2015 -0700

    Wiki page syntax changed with summary [] by Raster
---
 pages/wiki/syntax.txt | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/pages/wiki/syntax.txt b/pages/wiki/syntax.txt
index 65ee868..9703a7f 100644
--- a/pages/wiki/syntax.txt
+++ b/pages/wiki/syntax.txt
@@ -593,6 +593,60 @@ Beware of the cat when you open the door !!
 
 ----
 
+You can inline YouTube videos with:
+
+Video at small size
+
+{{youtube>S5RLWlBQYfY?small}}
+
+<code>
+{{youtube>S5RLWlBQYfY?small}}
+</code>
+
+Medium size
+
+{{youtube>S5RLWlBQYfY?medium}}
+
+<code>
+{{youtube>S5RLWlBQYfY?medium}}
+</code>
+
+Set start and end point in seconds for the video
+
+{{youtube>S5RLWlBQYfY?large&start=20&end=40}}
+
+<code>
+{{youtube>S5RLWlBQYfY?large&start=20&end=40}}
+</code>
+
+Turn autoplay on, and disable related videos
+
+{{youtube>S5RLWlBQYfY?360x660&autoplay=1&rel=0}}
+
+<code>
+{{youtube>S5RLWlBQYfY?360x660&autoplay=1&rel=0}}
+</code>
+
+----
+
+You can inline videos directly from upload media:
+
+{{:sample.mp4|320x240}}
+
+<code>
+{{:sample.mp4|320x240}}
+</code>
+
+Or from full URLs
+
+{{http://people.xiph.org/~maikmerten/demos/BigBuckBunny.ogv}}
+
+<code>
+{{http://people.xiph.org/~maikmerten/demos/BigBuckBunny.ogv}}
+</code>
+
+----
+
 You can add a discussion section to the bottom of any page if you add
 
 <code>

-- 


Reply via email to