<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>webfraggle &#187; video</title>
	<atom:link href="http://www.ketzler.de/tag/video/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ketzler.de</link>
	<description>Christoph Ketzler&#039;s Blog</description>
	<lastBuildDate>Tue, 03 Jan 2012 13:30:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Build an iPad app in a few hours.</title>
		<link>http://www.ketzler.de/2011/09/build-an-ipad-app-in-a-few-hours/</link>
		<comments>http://www.ketzler.de/2011/09/build-an-ipad-app-in-a-few-hours/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 11:08:29 +0000</pubDate>
		<dc:creator>webfraggle</dc:creator>
				<category><![CDATA[Appcelerator Titanium]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[Appcelerator]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Studio]]></category>
		<category><![CDATA[Titanium]]></category>
		<category><![CDATA[Titanium Studio]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.ketzler.de/?p=687</guid>
		<description><![CDATA[The challenge: &#8220;We need a small iPad app. Just four buttons, every button opens a video. Today!&#8221; I thought, &#8220;OK&#8221;. I had only a freshly installed Mac and an Apple developer account. Install Appcelerator Titanium Studio Update the SDK to 1.8 Go through the Apple Certification Process to get a new private key, your certificate [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The challenge: </strong><br />
&#8220;We need a small iPad app. Just four buttons, every button opens a video. Today!&#8221;<br />
I thought, &#8220;OK&#8221;. I had only a freshly installed Mac and an Apple developer account.<br />
<span id="more-687"></span></p>
<ol>
<li>Install <a href="http://www.appcelerator.com/" target="_blank">Appcelerator Titanium Studio</a></li>
<li>Update the SDK to 1.8</li>
<li>Go through the Apple Certification Process to get a new private key, your certificate and a provisioning profile</li>
<li>Setup a new project in Titanium Studio</li>
<li>Code and test the app</li>
</ol>
<p>And I love Appcelerator Titanium because these few lines had done the job:</p>
<pre class="brush: jscript; title: ; notranslate">Titanium.UI.setBackgroundColor('#000');
Titanium.UI.orientation = Titanium.UI.LANDSCAPE_LEFT;
win = Titanium.UI.createWindow({
    title:'win1',
    backgroundColor:'#fff',
    navBarHidden:true,
    fullscreen:true
});
win.orientationModes = [ Titanium.UI.LANDSCAPE_LEFT ];

var videoPlayer = Titanium.Media.createVideoPlayer({
      backgroundColor:'#000',
      movieControlMode:Titanium.Media.VIDEO_CONTROL_FULLSCREEN,
      scalingMode:Titanium.Media.VIDEO_SCALING_ASPECT_FIT,
      autoplay:false,
      visible:false
});

videoPlayer.addEventListener('complete',function(e)
{
		videoPlayer.stop();
		videoPlayer.hide();
		Ti.UI.iPhone.hideStatusBar();
		win.hideNavBar();
});

var bg = Titanium.UI.createImageView({image:'img/bg.png',top:0,left:0,width:1024,height:768});
win.add(bg);

var button = Titanium.UI.createButton({
   backgroundImage:'img/btn.png',
   width: 442,height:228,top:155,left:65
});

var button2 = Titanium.UI.createButton({
   backgroundImage:'img/btn2.png',
   width: 442,height:228,top:155,left:519
});

var button3 = Titanium.UI.createButton({
   backgroundImage:'img/btn3.png',
   width: 442,height:228,top:398,left:65
});
var button4 = Titanium.UI.createButton({
   backgroundImage:'img/btn4.png',
   width: 442,height:228,top:398,left:519
});

button.addEventListener('click',buttonClicked);
button2.addEventListener('click',buttonClicked);
button3.addEventListener('click',buttonClicked);
button4.addEventListener('click',buttonClicked);
win.add(button);
win.add(button2);
win.add(button3);
win.add(button4);
win.add(videoPlayer);
win.open();
Ti.UI.iPhone.hideStatusBar();
win.hideNavBar();

function buttonClicked(e)
{
   var videoUrl = &quot;&quot;;
   switch (e.source)
   {
   		case button:
   			videoUrl = 'videos/video01.mp4';
   		break;
   		case button2:
   			videoUrl = 'videos/video02.mp4';
   		break;
   		case button3:
   			videoUrl = 'videos/video03.mp4';
   		break;
   		case button4:
   			videoUrl = 'videos/video04.mp4';
   		break;
   }
	showVideo(videoUrl);
}

function showVideo(w)
{
	videoPlayer.setUrl(w);
	videoPlayer.show();
	videoPlayer.play();
}</pre>
<p>And the whole job was only done in about two hours.</p>
<p><a href="http://www.ketzler.de/wp-content/uploads/2011/09/iPadApp.jpg"><img src="http://www.ketzler.de/wp-content/uploads/2011/09/iPadApp.jpg" alt="" title="iPadApp" width="500" height="368" class="aligncenter size-full wp-image-690" /></a></p>
<p>]]></content:encoded>
			<wfw:commentRss>http://www.ketzler.de/2011/09/build-an-ipad-app-in-a-few-hours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 FLVPlayback smoothing the scaling.</title>
		<link>http://www.ketzler.de/2010/07/as3-flvplayback-smoothing-the-scaling/</link>
		<comments>http://www.ketzler.de/2010/07/as3-flvplayback-smoothing-the-scaling/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 10:33:35 +0000</pubDate>
		<dc:creator>webfraggle</dc:creator>
				<category><![CDATA[Adobe Flash Platform]]></category>
		<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[FLVPlayback]]></category>
		<category><![CDATA[scaling]]></category>
		<category><![CDATA[smooth]]></category>
		<category><![CDATA[smoothing]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.ketzler.de/?p=552</guid>
		<description><![CDATA[I searched a little while, found only AS2 workarounds, but here is the AS3 version of interpolated, smooth video scaling of a FLVPlayback. //playback is your FLVplayback instance playback.getVideoPlayer(playback.activeVideoPlayerIndex).smoothing = true; I use it after the ready event was send.]]></description>
			<content:encoded><![CDATA[<p>I searched a little while, found only AS2 workarounds, but here is the AS3 version of interpolated, smooth video scaling of a FLVPlayback.</p>
<p><code>//playback is your FLVplayback instance<br />
playback.getVideoPlayer(playback.activeVideoPlayerIndex).smoothing = true;</code></p>
<p>I use it after the ready event was send.</p>
<p>]]></content:encoded>
			<wfw:commentRss>http://www.ketzler.de/2010/07/as3-flvplayback-smoothing-the-scaling/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>xmoovStream, php Streaming Server</title>
		<link>http://www.ketzler.de/2010/01/xmoovstream-php-streaming-server/</link>
		<comments>http://www.ketzler.de/2010/01/xmoovstream-php-streaming-server/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 22:14:21 +0000</pubDate>
		<dc:creator>webfraggle</dc:creator>
				<category><![CDATA[Adobe Flash Platform]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[xmoov]]></category>
		<category><![CDATA[xmoovStream]]></category>

		<guid isPermaLink="false">http://www.ketzler.de/?p=356</guid>
		<description><![CDATA[Ich habe den xmoovStream Server von Eric getestet und finde, dass das Teil ziemliches Potenzial hat. Wer selbst mal probieren will, kann es auf meinen meinem Server http://stream.xplore-it.com/xsexamples, oder auch auf dem xmoovStream Server tun. Ich wurde auch dankend erw&#228;hnt]]></description>
			<content:encoded><![CDATA[<p>Ich habe den xmoovStream Server von Eric getestet und finde, dass das Teil ziemliches Potenzial hat. Wer selbst mal probieren will, kann es auf meinen meinem Server <a href="http://stream.xplore-it.com/xsexamples">http://stream.xplore-it.com/xsexamples</a>, oder auch auf dem <a href="http://stream.xmoov.com/blog/xmoovstream-server-version-0-8-4b/">xmoovStream Server</a> tun.</p>
<p>Ich wurde auch dankend erw&#228;hnt <img src='http://www.ketzler.de/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>]]></content:encoded>
			<wfw:commentRss>http://www.ketzler.de/2010/01/xmoovstream-php-streaming-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

