Nov 8, 2009

Help Needed In VB.NET - Video Player

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Programming General > BASIC / Visual Basic (.NET)

Help Needed In VB.NET - Video Player

rmdort
Can someone help me in coding a video player in VB.net

I have a button in my form . When i click it a new form will load which is a video player. It should play .avi files. I cant really get those codes... Thanks...

Comment/Reply (w/o sign-up)

onstage
QUOTE (rmdort @ Dec 16 2004, 05:38 AM)
Can someone help me in coding a video player in VB.net

I have a button in my form . When i click it a new form will load which is a video player. It should play .avi files. I cant really get those codes... Thanks...
*


(In the VB.Net code behind)

iframe.InnerHtml = "<object id=""mediaPlayer"" classid=" & _
" ""CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"" width=""944""
height=" & _
" ""536"" codebase=""http://activex.microsoft.com/activex/" & _
"controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"" standby= " & _
" ""Loading Microsoft Windows Media Player components.."" type= " & _
" ""application/x-oleobject""><param name=""fileName"" value=" & _
m_media.MediaURL & ">" & _
"<param name=""animationatStart"" value=""true"">" & _
"<param name=""transparentatStart"" value=""true"">" & _
"<param name=""autoStart"" value=""true"">" & _
"<param name=""showControls"" value=""true"">" & _
"<param name=""ShowDisplay"" value=""true"">" & _
"<param name=""loop"" value=""false"">" & _
"<param name=""stretchtofit"" value=""false"">" & _
"</object>"


but their is one problem with this script, the video is stretched to fill the player
window (which is sized to fit the iframe) causing a loss of
resolution

 

 

 


Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Needed Vbnet Video Player

  1. Visual Basic.NET Help Needed. - (8)
    I have a project to submit this wednesday, and i have to make it a working program. Not a big one ..
    but just sumthing small that includes : Splitter, Progress Bar & Track Bar. I thought of making
    sumthing like the picture below, I would enter the text and hit the button .. the text would come in
    BOTH the labels. Then i move the track bar on the left to increase the font or/and the track bar on
    the right to change the color ( RBG only 3 colors ). The progress bar at the bottom will show the
    progress every time i move either of the track bars to a level. Nothing fanc...
  2. Suggestions Needed For Latest Ycc Bot Maker Breakdown - (5)
  3. Direct-X And VB.NET - Help Needed. - Any resouces? (1)
    I'm going to build up a 3D app, but have no experience in this (sound funny?). I'm going to
    use DirectX framework. I'm looking for a book (an ebook is better), or some kind of document to
    begin. Is there any tools for manage the code in VB.NET for DirectX? Can I use DirectX lib for
    VB.NET....



Looking for needed, vb, net, video, player

See Also,

*SIMILAR VIDEOS*
Searching Video's for needed, vb, net, video, player
advertisement



Help Needed In VB.NET - Video Player

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com