Saturday, January 7

Source Code of the Free ASP.NET QuickTimePlayer Control

Playing QuickTime movies from an ASP.NET Web form can be a little tricky. At first it may not seem difficult, but there are a lot of little details to worry about — such as browser differences, ActiveX activation, and the list of acceptable parameters. The QuickTimePlayer control detailed here (and shown in Figure 1) takes care of all those issues, reducing the task to drag-and-drop simplicity.


Figure 1: The QuickTimePlayer control eliminates the chores involved with playing QuickTime movies.

How to Use It

The QuickTimePlayer.dll can be added to your Visual Studio toolbox via right-click just like any other control (see end of article for download details). When that task is done, it can be dragged from the toolbox onto any ASP.NET Web form, where a definition similar to this will be rendered to the ASPX:
<cc2:QTPlayer
    ID="QTPlayer1"
    runat="server"
    MOVFile="Sample.mov"
    Width="250" Height="270"
    AutoPlay="true"
    ShowMenu="false">
</cc2:QTPlayer>

The source code for this article is available for download here.
 If you dont have QuickTimePlayer control you can download it from following url:

https://swdlp.apple.com/cgi-bin/WebObjects/SoftwareDownloadApp.woa/wa/getProductData?localang=en_us&grp_code=quicktime&returnURL=http://www.apple.com/quicktime/download 

Thanks
    Shibashish mohanty  

No comments:

Post a Comment

Please don't spam, spam comments is not allowed here.

ShibashishMnty
shibashish mohanty