<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
   <channel>
      <title>research:log</title>
      <link>http://shigekifactory.com/researchlog/</link>
      <description>...trace of my thoughts...</description>
      <language>en</language>
      <copyright>Copyright 2009</copyright>
      <lastBuildDate>Wed, 03 Oct 2007 16:22:53 +1000</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=4.2rc4-ja</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

      
      <item>
         <title>Playing YouTube videos continuously in your flash application</title>
         <description><![CDATA[<p>Although YouTube (Google Code) provides fantastic <a href="http://www.youtube.com/dev" target="_blank">APIs</a> for developing your own YouTube-based applications, somehow a very simple API does not exist: detecting the end of video event.</p>

<p><br />
I don't even know if YouTube videos dispatches the end-of-video event at all, but according to the discussions in the forum, it seems that it does not exist anyway. I have struggled with this problem for about a month or so.</p>

<p><br />
At this moment, duration information in the meta-data of a video is the only solution (let me know if there is another way):</p>

<p><br />
1. List video IDs that you want to play continuously<br />
2. Play the first video and set a Timer object with its duration<br />
3. When the Timer object reaches the time, it dispatches the "timer" event<br />
4. Then the timer event handler call the function that plays the next video<br />
5. Repeat 2-4 until the end of the list</p>

<p>... it is just simple, however, it took a month for me to reach this conclusion. Because of the confidentiality of the project, I cannot distribute the code, but perhaps someday I might write a pseudo-code for this in a paper.</p>

<p>Now I can get on to the next step!!!! Well, I have to finish off a paper for <a href="http://www.chi2008.org/interactivity.html" target="_blank">CHI2008: interactivity</a>, though.</p>

<p><br />
</p>]]></description>
         <link>http://shigekifactory.com/researchlog/2007/10/playing_youtube_videos_continu.html</link>
         <guid>http://shigekifactory.com/researchlog/2007/10/playing_youtube_videos_continu.html</guid>
         <category>Flex/Flash/ActionScript</category>
         <pubDate>Wed, 03 Oct 2007 16:22:53 +1000</pubDate>
      </item>
      
      <item>
         <title>Thoughts on blogging</title>
         <description><![CDATA[<p>I made up my mind just now that I will blog this blog first, and then proceed to my Japanese one. As I am fluent in Japanese, it is a blog-like-talking process in the Japanese blog,  whereas this blog requires certain concentration. </p>

<p><br />
I hope this declaration makes it a rule for me to keep blogging here...</p>]]></description>
         <link>http://shigekifactory.com/researchlog/2007/09/thoughts_on_blogging.html</link>
         <guid>http://shigekifactory.com/researchlog/2007/09/thoughts_on_blogging.html</guid>
         <category></category>
         <pubDate>Wed, 19 Sep 2007 08:37:45 +1000</pubDate>
      </item>
      
      <item>
         <title>KES2007</title>
         <description><![CDATA[<div style="float: right; padding-left: 10px; padding-right: 2px; padding-top: 2px; padding-bottom: 2px;">
<img src="http://ultimavi.arc.net.my/ave/KES2007/Photo/P1110181.JPG" width="160">
</div>

<p>I have attended to the conference <a href="http://kes2007.kesinternational.org/" target="_blank">KES2007</a> in Vietri sul Mare, Italy. Amalfi Coast is beautiful...</p>

<p><br />
</p>]]></description>
         <link>http://shigekifactory.com/researchlog/2007/09/kes2007.html</link>
         <guid>http://shigekifactory.com/researchlog/2007/09/kes2007.html</guid>
         <category>Conference</category>
         <pubDate>Wed, 19 Sep 2007 08:13:09 +1000</pubDate>
      </item>
      
      <item>
         <title>Detecting the end of .flv file</title>
         <description><![CDATA[<p>There must be an event listener that detects the end of .flv file. What I want to do is to play movies one after another, which is not complex at all...</p>]]></description>
         <link>http://shigekifactory.com/researchlog/2007/09/detecting_the_end_of_flv_file.html</link>
         <guid>http://shigekifactory.com/researchlog/2007/09/detecting_the_end_of_flv_file.html</guid>
         <category>Flex/Flash/ActionScript</category>
         <pubDate>Tue, 04 Sep 2007 23:30:43 +1000</pubDate>
      </item>
      
      <item>
         <title>Servlet thorough a proxy server</title>
         <description><![CDATA[<p>Finally I found how to make a servlet go through the UTS proxy server for it to access <a href="http://www.youtube.com" target="_blank">YouTube</a>.</p>

<p><br />
My web application (to be available online soon...) calls a Java servlet that does HTTP requests to YouTube server. See <a href="http://youtube.com/dev" target="_blank">YouTube Developer Area</a> for more information. There are nice example web apps.</p>

<p><br />
I had a proxy problem ... well not really a problem, but it was a problem for me due to my lack of knowledge. While the process takes about 2 minutes without the proper setting, it only takes 200 msec with the appropriate setting. The URL should be set as below:</p>

<pre>
URL url = new URL("http", proxyHost, proxyPort, youtubeGetVideoByTagString);
</pre>

<p></p>

<p>... This is to make a Java servlet use a specific proxy server. </p>]]></description>
         <link>http://shigekifactory.com/researchlog/2007/09/servlet_thorough_a_proxy_serve.html</link>
         <guid>http://shigekifactory.com/researchlog/2007/09/servlet_thorough_a_proxy_serve.html</guid>
         <category>Java</category>
         <pubDate>Mon, 03 Sep 2007 23:28:07 +1000</pubDate>
      </item>
      
      <item>
         <title>Resuming research log</title>
         <description><![CDATA[<p>I finally decided to come back to loggin a trace of my thoughts, along with renewing my main web site <a href="http://shigekifactory.com" target="_blank">shigekifactory.com</a>.</p>

<p><br />
I am getting familiar with <a href="http://www.joomla.org" target="_blank">Joomla!</a>, one of the most popular content management systems. I chose this because some parts of my research involve it.</p>

<p><br />
And these days I strongly feel it is VERY important to advertise yourself as a researcher with your own web site as well as papers, posters, etc. It is your responsibility to let people know what you are doing, rather than people finding you.</p>

<p><br />
And it is also very important to be able to track your thoughts. We need to somehow visualise what you were doing so that you can reflect on it and think about what you have done.</p>

<p><br />
Static contents, such as your affiliateion, publication list (not really static, though), involved projects, etc. goes to the main web site, whereas dynamic / sporadical / unorganised contents such as what I did / read / found / etc. come to this blog.</p>

<p><br />
See how it goes...:-).</p>]]></description>
         <link>http://shigekifactory.com/researchlog/2007/09/resuming_research_log.html</link>
         <guid>http://shigekifactory.com/researchlog/2007/09/resuming_research_log.html</guid>
         <category></category>
         <pubDate>Mon, 03 Sep 2007 23:15:57 +1000</pubDate>
      </item>
      
   </channel>
</rss>
