Added support for generic sites that have embedded videos on them.
[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://www.youtube.com/watch?v=xxxxxxxxxxx<br>
24     <b>GoogleVideo:</b> http://video.google.com/videoplay?docid=xxxxxxxxxxx<br>
25     <b>YahooVideo:</b> http://video.yahoo.com/video/play?vid=xxxxxx<br>
26     <b>Metacafe:</b> http://www.metacafe.com/watch/xxxxxx/xxxxxx<br>
27     <b>Revver:</b> http://www.revver.com/watch/xxxxxx<br>
28     <b>Dailymotion:</b> http://www.dailymotion.com/video/xxxxxxxxxxx<br>
29     <b>Divshare:</b> http://www.divshare.com/download/xxxxxxxxx<br>
30     <b>Stickam:</b> http://www.stickham.com/editMediaComment.do?method=load&mId=xxxxxxxxx<br>
31     <b>Myspace1:</b> http://vids.myspace.com/index.cfm?fuseaction=vids.individual&VideoID=xxxxxxxx<br>
32     <b>Myspace2:</b> http://myspacetv.com/index.cfm?fuseaction=vids.individual&videoid=xxxxxxxx<br>
33     <b>Vimeo:</b> http://www.vimeo.com/xxxxxx<br>
34     <b>Generic:</b> Any webpage with an '&lt;object ... &lt;embed ...' style video on its page<br>
35     <br>
36     <b><u>Supported File Types:</u></b><br>
37     <b>FlashVideo (.flv):</b> http://aaa.bbb.ccc/video.flv<br>
38     <b>FlashVideo (.swf):</b> http://aaa.bbb.ccc/video.swf<br>
39     <br>
40
41     <a href="http://codex.gallery2.org/Gallery2:Modules:embedvideo">Embed Video Module Help Page</a>
42
43   </div>
44
45   <div class="gbBlock">
46
47     {capture name="submitButtons"}
48       <input type="submit" class="inputTypeSubmit"
49        name="{g->formVar var="form[action][addEmbedVideoPage]"}" value="{g->text text="Add Embedded Video"}"/>
50     {/capture}
51   {/if} {* {if !empty($form.webPageUrls)} *}
52 </div>
53
54
55 <div class="gbBlock gcBackground1">
56   {$smarty.capture.submitButtons}
57 </div>
58
59