Site: update screencasts part

This uses a new fancy inline video display and also shows newly created
screencasts, specifically for GitX v0.5
This commit is contained in:
Pieter de Bie
2008-11-16 22:08:21 +01:00
committed by Pieter de Bie
parent 9f166e61f6
commit cea5507d51
3 changed files with 69 additions and 19 deletions
+17
View File
@@ -128,8 +128,25 @@ h3, h4
font-size: 80%;
}
/* Video */
#episodebar
{
width: 200px;
}
#video_display
{
float: right;
border-left: 3px solid gray;
}
#video_description
{
width: 500px;
margin-left: 10px;
margin-top: 10px;
}
h2.noclear
{
clear: none;
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

+52 -19
View File
@@ -1,28 +1,61 @@
<script type="text/javascript" charset="utf-8">
var screenshots = screenshots = [["The Commit View", 892], ["The History View", 891]];
var screencasts = [
[1, "History View", "This video demonstrates basic GitX features that you can use to browse your repository's history"],
[2, "Branch control", "This video shows how you can use GitX to modify your branches"],
[3, "Committing", "This video shows you how you can commit your changes using GitX"],
[4, "Terminal Usage", "This video shows some of the features available when using the gitx command-line utility"],
[5, "Advanced Features", "This feature shows some of the advanced features available in GitX"]
]
var show_video = function(num)
{
var sc = screencasts[num];
document.getElementById("video").innerHTML = '<embed type="video/quicktime" src="http://gitx.frim.nl/Movies/screencasts/GitX' + sc[0] + '.mov" pluginspage="http://www.apple.com/quicktime/download/" scale="aspect" cache="False" width="568" height="426" autoplay="True" />'
document.getElementById("video_description").innerHTML = sc[2];
return false;
}
</script>
<h2>
See it
</h2>
<p>
Here you can have a look at what GitX looks like. There are <a href="#screenshots">screenshots</a> and <a href="#screencaptures">screencaptures</a> for you to enjoy!
Here you can have a look at what GitX looks like. There are <a href="#screenshots">screenshots</a> and <a href="#screencasts">screencasts</a> for you to enjoy!
</p>
<h3 id="screenshots">
Screenshots
</h3>
<p>
<h4>The Commit View:</h4>
<img width="500px" src="http://ss.frim.nl/==892">
</p>
<p>
<h4>The History View:</h4>
<img width="500px" src="http://ss.frim.nl/==891">
</p>
<div id="screenshots_div"></div>
<script type="text/javascript" charset="utf-8">
var screenshots_div = document.getElementById("screenshots_div");
for (screenshot in screenshots)
{
var s = screenshots[screenshot];
screenshots_div.innerHTML += '<h4>' + s[0] + '</h4>' + '<img width="500px" src="http://ss.frim.nl/==' + s[1] +'">';
}
</script>
<h3 id="screencaptures">
Screencaptures
</h3>
<p>
<ul>
<li><a href="http://gitx.frim.nl/Movies/GitX6.mov">See an old movie showing some features</a></li>
<li><a href="http://gitx.frim.nl/Movies/GitX9.mov">See how you can use GitX to show arbitrary diffs</a></li>
<li><a href="http://gitx.frim.nl/Movies/GitX10.mov">See how you can use GitX to paste to gist.github.com</a></li>
</ul>
</p>
<h3 id="screencasts">Screencasts</h3>
<div id="episodediv">
<div id="video_display">
<div id="video"><img src="images/qtime.png" width="568"></div>
<div id="video_description"></div>
</div>
<div id="episodebar">
<ul id="episodelist"></ul>
</div>
</div>
<div style="clear: both"></div>
<script type="text/javascript" charset="utf-8">
var episodelist = document.getElementById("episodelist");
for (screencast in screencasts)
{
var s = screencasts[screencast];
episodelist.innerHTML += '<li><a href="#" onclick="return show_video(' + screencast + ')">' + s[1] + '</a></li>';
}
</script>