MemoVideo Final ver.

20090409_1

Create video log panel design

20090409_2

As I mentioned before1, I used a  Flex embedded youtube player2 component. It is workable in local PC. But it uploaded to web server, it doesn’t work. Therefore, i found another flex components for youtube player1-5. These youtube players can play youtube in web server. However, these players are not suitable for our LogFeild. For our project, there are more than one youtube player memos in the same canvas. Even i post two different videos, just only one video can play. These five players have a common attribute which used swfLoader to play youtube. When main application page loaded, players start to load. I tried to unload the swfLoader first, and then play a new video. It still didn’t work.  I found that the original verion player is different from the 5 players. It used the VideoDisplay. Moreover, I found that “Flex embedded youtube player" has one more lastest version3. It is necesary to a proxy or php script to cross domain. It used the curl session to get the information of youtube. 

The previous youtube version will automatically load the video when the memo added in the application. And then it will show the preview(the 1st frame) of video. If there was a few video memos. It may waste the time and resources to load all the videos. It may retard the running time. For reduce the workload for video memo,  I used the Loader and URLRequest to get the thumb image url and relatived information (eg. title,  total time). After clicking the play button, player starts to load. 

Reference:

1 Youtube memo

2 Flex embedded youtube player

3 Flex embedded youtube player  1.1

4 Flex:Accessing Data

5 Using a PHP Proxy with Flex to talk Cross Domain

6 PHP cURL XAMPP

Research:

1  TubeLoc  

2  Flex Youtube Grabber

3  Google as3youtubelib

4  Flash Youtube AS3

5  Embeded Youtube player with LocalConnetion

廣告

~ 由 shadow 於 四月 9, 2009.

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s

 
%d 位部落客按了讚: