From 29764d3cdc54e0f25f2c2f377f72eeebf1535dab Mon Sep 17 00:00:00 2001
From: Ray <rwstorer@hotmail.com>
Date: Sun, 11 Jun 2023 01:12:50 +0000
Subject: [PATCH] updated docs and added img

---
 exampleSite/content/docs/compose/shortcodes.md |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/exampleSite/content/docs/compose/shortcodes.md b/exampleSite/content/docs/compose/shortcodes.md
index e9e36be..b9a64d7 100644
--- a/exampleSite/content/docs/compose/shortcodes.md
+++ b/exampleSite/content/docs/compose/shortcodes.md
@@ -70,18 +70,21 @@
 
 #### Lite YouTube
 
-The `liteyoutube` shortcode supports two parameters:
+The `liteyoutube` shortcode supports three parameters:
 
-- videoid: the `videoid` parameter **is required**. However, you don't have to use it by name--you can just put in a YouTube video ID.
-- params: the `params` parameter is **not** required. If you decide to use it, you must also use the `videoid` parameter.
+| PARAMETER | PURPOSE | OPTIONAL |
+| :--- | :--- | :--- |
+| videoid | YouTube video identifier | no |
+| params | YouTube parameters | yes |
+| img | Background image from static/images | yes |
 
-##### Without `videoid`
+##### With only `videoid`
 
 ```markdown
-{{</* liteyoutube "MmG2ah5Df4g" */>}}
+{{</* liteyoutube videoid="MmG2ah5Df4g" */>}}
 ```
 
-{{< liteyoutube "MmG2ah5Df4g" >}}
+{{< liteyoutube videoid="MmG2ah5Df4g" >}}
 
 ##### With `videoid` and `params`
 
@@ -93,6 +96,15 @@
 
 {{< liteyoutube videoid="MmG2ah5Df4g" params="controls=0&start=10&end=30&modestbranding=2&rel=0&enablejsapi=1" >}}
 
+##### With All Three Parameters
+
+```markdown
+{{</* liteyoutube videoid="MmG2ah5Df4g" img="painting.jpg" params="controls=0&start=10&end=30&modestbranding=2&rel=0&enablejsapi=1" */>}}
+```
+
+{{< liteyoutube videoid="MmG2ah5Df4g" img="painting.jpg" params="controls=0&start=10&end=30&modestbranding=2&rel=0&enablejsapi=1" >}}
+
+
 {{< tip >}}
 You can browse the full list of YouTube parameters [here](https://developers.google.com/youtube/player_parameters#Parameters)
 {{< /tip >}}

--
Gitblit v1.10.0