To start with; Create a
category [not page] in "creator" and name
it you tube.
*Create a 2pages in the category.
*Name the 1st 1 YouTube id
*Name the 2nd 1 Video review.
In the "YouTube id" page. put the below
code in html
Code:
<div class="title">Youtube video</div><div class="nav" style="padding:3x;"><b>Youtube video id</b> (Example v=<span style="color:#ff3300;">JNeeXPddBmA</span>) <form action="/main.php?f=3453003" method="post"><input class="h5" style="width:95%;" name="vid" type="text"/> <b>Youtube Video Title:</b> <input class="h5" style="width:95%;" name="title" type="text"/> <b>Additional Information:</b> <textarea class="h5" style="width:95%;height:80px;" name="note"></textarea> <input type="hidden" name="w"/><input type="submit" value="Preview"/></form></font>
Note: your video review page id and replace
it with mine in the code <form
action="12345" That's all for YouTube id
page... Now lets go to video review page.
Add the below code in twig
Code:
<div class="header">My Video Preview for {{api.r.get("title")}}</div><div class="nav" align="center"><a href="http://m.youtube.com/watch?v={{api.r.get("vid")}}"><img src="http://img.youtube.com/vi/{{api.r.get("vid")}}/0.jpg" width="100%" height="50%" frameborder="yes" border="1px solid #aaa" align="center" padding-top="4px" padding-bottom="2px" padding-left="4px" padding-right="4px"/></a><hr/><div align="left"><b>Title</b>: {{api.r.get("title")}}<br/><hr/><b>Information</b>: {{api.r.get("note")}}<hr/></div><form style="display:inline" action="main.php?id=ch_topic_h&uid=211256&back_url=/main.php" method="post"><input type="hidden" name="text" style="width:auto" value="<strong>Just shared a YouTube video</strong><a href="http://m.youtube.com/watch?v={{api.r.get("vid")}}">[scimg]http://img.youtube.com/vi/{{api.r.get("vid")}}/0.jpg[/scimg]</a>Title: {{api.r.get("title")}}Information: {{api.r.get("note")}}"/><div class="left"><input type="submit" value="Yes"/></form> . <form style="display:inline"><input type="button" value="No" onClick="javascript:history.go(-1)"></form></div>