Added ability to check for "File not found" HTTP error when embedding link to remote...
[embedvideo/.git] / templates / ItemAddEmbedVideo.tpl
1 {*
2  * $Revision: 1 $
3  * If you want to customize this file, do not edit it directly since future upgrades
4  * may overwrite it.  Instead, copy it into a new directory called "local" and edit that
5  * version.  Gallery will look for that file first and use it if it exists.
6  *}
7
8 <div class="gbBlock">
9   <p class="giDescription">
10     {g->text text="Import embedded videos into Gallery from another website.  Enter a URL below to a web page anywhere on the net and Gallery will add an embedded link to that file."}
11   </p>
12
13   {if empty($form.webPageUrls)}
14     <h4> {g->text text="URL"} </h4>
15
16     <input type="text" size="80"
17      name="{g->formVar var="form[webPage][URL]"}" value="{$form.webPage}"/>
18
19     <br/>
20
21     <br> 
22     <b><u>Supported Video Sites:</u></b> <br>
23     <b>YouTube:</b> http://video.google.com/videoplay?docid=xxxxxxxxxxx<br>
24     <b>GoogleVideo:</b> http://www.youtube.com/watch?v=xxxxxxxxxxx<br>
25     <br>
26     <b><u>Supported File Types:</u></b><br>
27     <b>FlashVideo (.flv):</b> http://aaa.bbb.ccc/video.flv<br>
28     <br>
29
30   </div>
31
32   <div class="gbBlock">
33
34     {capture name="submitButtons"}
35       <input type="submit" class="inputTypeSubmit"
36        name="{g->formVar var="form[action][addEmbedVideoPage]"}" value="{g->text text="Add Embedded Video"}"/>
37     {/capture}
38   {/if} {* {if !empty($form.webPageUrls)} *}
39 </div>
40
41
42 <div class="gbBlock gcBackground1">
43   {$smarty.capture.submitButtons}
44 </div>
45
46