.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 3rd, 2008, 11:23 PM
phuc2583 phuc2583 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2007
Posts: 66 phuc2583 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 h 47 m 46 sec
Reputation Power: 2
Post ASP.Net/VB.Net - Video clip

Hello all
Please help me about the code media
I want to write the page that play on a music,a video clip.therefore i want to find out a tool(upload code ) to do that or something like that.Please let's me know about that.Thanks a lot
Regards
Hoang Phuc

Reply With Quote
  #2  
Old July 7th, 2008, 01:05 AM
godbless us godbless us is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 30 godbless us User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 15 m 29 sec
Reputation Power: 3
hi,

you have to embed Windows medis player or other players to play movie abd musics.
just follow this steps:

in your aspx page:

Code:
<div id ="divDisplay" runat ="server" style="left: 322px; position: absolute; top: 201px">
   <%--<embed type="application/x-mplayer2" src="<%=Variable%>" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" ShowStatusBar="true" EnableContextMenu="false" autostart="false" width="320" height="240" loop="false" />--%>
   <OBJECT id=music classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 style="width: 487px; height: 305px"> 
   <PARAM NAME="AutoStart" VALUE="-1"> 
   <PARAM NAME="Balance" VALUE="0"> 
   <PARAM NAME="DisplaySize" VALUE="1"> 
   <PARAM NAME="Filename" VALUE="<%=Variable%>"> 
   <PARAM NAME="Mute" VALUE="0"> 
   <PARAM NAME="SelectionStart" VALUE="-1"> 
   <PARAM NAME="SelectionEnd" VALUE="-1"> 
   <PARAM NAME="ShowControls" VALUE="-1"> 
   <PARAM NAME="ShowAudioControls" VALUE="-1"> 
   <PARAM NAME="ShowDisplay" VALUE="0"> 
   <PARAM NAME="ShowPositionControls" VALUE="-1"> 
   <PARAM NAME="Volume" VALUE="1"> 
   <PARAM NAME="AudioStream" VALUE="-1"> 
   <PARAM NAME="AutoSize" VALUE="0"> 
   <PARAM NAME="AnimationAtStart" VALUE="-1"> 
   <PARAM NAME="AllowScan" VALUE="-1"> 
   <PARAM NAME="AllowChangeDisplaySize" VALUE="-1"> 
   <PARAM NAME="AutoRewind" VALUE="1"> 
   <PARAM NAME="BaseURL" VALUE=""> 
   <PARAM NAME="BufferingTime" VALUE="5"> 
   <PARAM NAME="CaptioningID" VALUE=""> 
   <PARAM NAME="ClickToPlay" VALUE="-1"> 
   <PARAM NAME="CursorType" VALUE="0"> 
   <PARAM NAME="CurrentPosition" VALUE="-1"> 
   <PARAM NAME="CurrentMarker" VALUE="0"> 
   <PARAM NAME="DefaultFrame" VALUE=""> 
   <PARAM NAME="DisplayBackColor" VALUE="0"> 
   <PARAM NAME="DisplayForeColor" VALUE="16777215"> 
   <PARAM NAME="DisplayMode" VALUE="0"> 
   <PARAM NAME="Enabled" VALUE="-1"> 
   <PARAM NAME="EnableContextMenu" VALUE="-1"> 
   <PARAM NAME="EnablePositionControls" VALUE="-1"> 
   <PARAM NAME="EnableFullScreenControls" VALUE="0"> 
   <PARAM NAME="EnableTracker" VALUE="-1"> 
   <PARAM NAME="InvokeURLs" VALUE="-1"> 
   <PARAM NAME="Language" VALUE="-1"> 
   <PARAM NAME="PlayCount" VALUE="1"> 
   <PARAM NAME="PreviewMode" VALUE="0"> 
   <PARAM NAME="Rate" VALUE="1"> 
   <PARAM NAME="SAMILang" VALUE=""> 
   <PARAM NAME="SAMIStyle" VALUE=""> 
   <PARAM NAME="SAMIFileName" VALUE=""> 
   <PARAM NAME="SendOpenStateChangeEvents" VALUE="-1"> 
   <PARAM NAME="SendWarningEvents" VALUE="-1"> 
   <PARAM NAME="SendErrorEvents" VALUE="-1"> 
   <PARAM NAME="SendKeyboardEvents" VALUE="0"> 
   <PARAM NAME="SendMouseClickEvents" VALUE="0"> 
   <PARAM NAME="SendMouseMoveEvents" VALUE="0"> 
   <PARAM NAME="SendPlayStateChangeEvents" VALUE="-1"> 
   <PARAM NAME="ShowCaptioning" VALUE="0"> 
   <PARAM NAME="ShowGotoBar" VALUE="0"> 
   <PARAM NAME="ShowStatusBar" VALUE="0"> 
   <PARAM NAME="ShowTracker" VALUE="-1"> 
   <PARAM NAME="TransparentAtStart" VALUE="-1"> 
   <PARAM NAME="VideoBorderWidth" VALUE="0"> 
   <PARAM NAME="VideoBorderColor" VALUE="0"> 
   <PARAM NAME="VideoBorder3D" VALUE="0"> 
   <PARAM NAME="WindowlessVideo" VALUE="0"> 
   
</OBJECT> 

</div>
-------------------------------------------------
in code behind:
public string ReturnPath()
            {

                return c:/asp.wmv;             
            
            }


just change the return path as like your need.


good luck

Reply With Quote
  #3  
Old July 8th, 2008, 08:17 PM
phuc2583 phuc2583 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2007
Posts: 66 phuc2583 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 h 47 m 46 sec
Reputation Power: 2
Quote:
Originally Posted by godbless us
hi,

you have to embed Windows medis player or other players to play movie abd musics.
just follow this steps:

in your aspx page:

Code:
<div id ="divDisplay" runat ="server" style="left: 322px; position: absolute; top: 201px">
   <%--<embed type="application/x-mplayer2" src="<%=Variable%>" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" ShowStatusBar="true" EnableContextMenu="false" autostart="false" width="320" height="240" loop="false" />--%>
   <OBJECT id=music classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 style="width: 487px; height: 305px"> 
   <PARAM NAME="AutoStart" VALUE="-1"> 
   <PARAM NAME="Balance" VALUE="0"> 
   <PARAM NAME="DisplaySize" VALUE="1"> 
   <PARAM NAME="Filename" VALUE="<%=Variable%>"> 
   <PARAM NAME="Mute" VALUE="0"> 
   <PARAM NAME="SelectionStart" VALUE="-1"> 
   <PARAM NAME="SelectionEnd" VALUE="-1"> 
   <PARAM NAME="ShowControls" VALUE="-1"> 
   <PARAM NAME="ShowAudioControls" VALUE="-1"> 
   <PARAM NAME="ShowDisplay" VALUE="0"> 
   <PARAM NAME="ShowPositionControls" VALUE="-1"> 
   <PARAM NAME="Volume" VALUE="1"> 
   <PARAM NAME="AudioStream" VALUE="-1"> 
   <PARAM NAME="AutoSize" VALUE="0"> 
   <PARAM NAME="AnimationAtStart" VALUE="-1"> 
   <PARAM NAME="AllowScan" VALUE="-1"> 
   <PARAM NAME="AllowChangeDisplaySize" VALUE="-1"> 
   <PARAM NAME="AutoRewind" VALUE="1"> 
   <PARAM NAME="BaseURL" VALUE=""> 
   <PARAM NAME="BufferingTime" VALUE="5"> 
   <PARAM NAME="CaptioningID" VALUE=""> 
   <PARAM NAME="ClickToPlay" VALUE="-1"> 
   <PARAM NAME="CursorType" VALUE="0"> 
   <PARAM NAME="CurrentPosition" VALUE="-1"> 
   <PARAM NAME="CurrentMarker" VALUE="0"> 
   <PARAM NAME="DefaultFrame" VALUE=""> 
   <PARAM NAME="DisplayBackColor" VALUE="0"> 
   <PARAM NAME="DisplayForeColor" VALUE="16777215"> 
   <PARAM NAME="DisplayMode" VALUE="0"> 
   <PARAM NAME="Enabled" VALUE="-1"> 
   <PARAM NAME="EnableContextMenu" VALUE="-1"> 
   <PARAM NAME="EnablePositionControls" VALUE="-1"> 
   <PARAM NAME="EnableFullScreenControls" VALUE="0"> 
   <PARAM NAME="EnableTracker" VALUE="-1"> 
   <PARAM NAME="InvokeURLs" VALUE="-1"> 
   <PARAM NAME="Language" VALUE="-1"> 
   <PARAM NAME="PlayCount" VALUE="1"> 
   <PARAM NAME="PreviewMode" VALUE="0"> 
   <PARAM NAME="Rate" VALUE="1"> 
   <PARAM NAME="SAMILang" VALUE=""> 
   <PARAM NAME="SAMIStyle" VALUE=""> 
   <PARAM NAME="SAMIFileName" VALUE=""> 
   <PARAM NAME="SendOpenStateChangeEvents" VALUE="-1"> 
   <PARAM NAME="SendWarningEvents" VALUE="-1"> 
   <PARAM NAME="SendErrorEvents" VALUE="-1"> 
   <PARAM NAME="SendKeyboardEvents" VALUE="0"> 
   <PARAM NAME="SendMouseClickEvents" VALUE="0"> 
   <PARAM NAME="SendMouseMoveEvents" VALUE="0"> 
   <PARAM NAME="SendPlayStateChangeEvents" VALUE="-1"> 
   <PARAM NAME="ShowCaptioning" VALUE="0"> 
   <PARAM NAME="ShowGotoBar" VALUE="0"> 
   <PARAM NAME="ShowStatusBar" VALUE="0"> 
   <PARAM NAME="ShowTracker" VALUE="-1"> 
   <PARAM NAME="TransparentAtStart" VALUE="-1"> 
   <PARAM NAME="VideoBorderWidth" VALUE="0"> 
   <PARAM NAME="VideoBorderColor" VALUE="0"> 
   <PARAM NAME="VideoBorder3D" VALUE="0"> 
   <PARAM NAME="WindowlessVideo" VALUE="0"> 
   
</OBJECT> 

</div>
-------------------------------------------------
in code behind:
public string ReturnPath()
            {

                return c:/asp.wmv;             
            
            }


just change the return path as like your need.


good luck

Thanks so much to your help.
So you can help me detail to do that.From the bottom of my heart i want to thanks you a lot
Regards
Hoang Phuc

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > ASP.Net/VB.Net - Video clip


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT