C # How do I write the path code of the video file to be played by the player! [Closed, closed by: xiangjiajin]
Add as a friend
Send private message
Online Chat
Xiangjiajin
Xiangjiajin
Level:
Available levels:Poor farmers
Total technical experts:46
Total technical
press idle, in fact, this is very loss, you and the dragon words, may have won more than 10, lose will lose a! And you anti-dragon, only can win a only, which cost oneself calculate! Very dragon I personally recommend flat note with, the fourth and sixth cage the most easy to fall! Experience!Next is the mentality of the routine, careful you may be able to find that you always slowly camp (Ying) up, and then a few books (SHU) down! Even the book (SHU) is the most easy to put their mind to crash
Http://www.ask123.net/player/vcastr22.swf This requires the server to support SWF format otherwise can not call the remote video if it is local, you can only call local video such as: Call local vcastr22.swf can only call local 7.mp4 instead of calling remote 7.mp4 filesVideo Player Code detailed
Simple SWF video player codeSWF Video player Code dangerous Show:
The code is as follows:
This article is from: http://www.u8.blog.163.com/blog/static/735525892008320103024698/
Drinking Water Source: The Blue leaf blog: http://lanye.org/web/136.htmlsina's video recorder is very cool. You can switch between normal and high-definition video quality.
And no advertisement, playing smoothly, the blue leaf for some time, the Sina playerCodeFound
This makes it easy to call Sina's blockbuster sites. The following is 《Shaolin TempleMovie demonstration.
The following describes how
1, the web player can not play the problem
Coding problems. Need is H.264 encoding, not this encoded in some Flash version or OS will not put out video problems, you can use 3GP, MP4 Video Conversion Wizard (Brvideoconverter) transcoding.
2, can not play at the bottom of the problem
MP4 video has metadata, usually
several paragraphs saved to the server, play when you need to get a video address list. Each static shard can only be requested from the beginning of the request from the middle of the slice. This is the easiest way to do it and perform well.
Static Shard +start parameter: The improvement of the first scenario, which can support starting requests from the middle of a shard to the end of a shard. That's what Youku potatoes do. This facilitates see
independently of several paragraphs saved to the server, play when you need to get a video address list. Each static shard can only be requested from the beginning of the request from the middle of the slice. This is the easiest way to do it and perform well.
Static Shard +start parameter: The improvement of the first scenario, which can support starting requests from the middle of a shard to the end of a shard. That's what Youku potatoes do. Thi
(Bundle savedInstanceState ){Super. onCreate (savedInstanceState );SetContentView (R. layout. main );NameText = (EditText) findViewById (R. id. filename );SurfaceView = (SurfaceView) findViewById (R. id. surfaceview );// Directly display the video image sent to surfaceview to the screen. do not maintain its own buffer zone.SurfaceView. getHolder (). setType (SurfaceHolder. SURFACE_TYPE_PUSH_BUFFERS );SurfaceView. getHolder (). setFixedSize (176,144);
FLV videos are very popular. Some website programs do not support this function. I found a powerful FLV Video Player Plug-in that allows you to customize the player UI color and set the player's default image, we recommend it to you. It is very easy to use. You only need to modify the corresponding parameters, so there is no need to talk about it here. Let's look
FLV videos are very popular. some website programs do not support this function. I found a powerful FLV video player plug-in that allows you to customize the player UI color and set the player's default image, we recommend it to you. It is very easy to use. you only need to modify the corresponding parameters, so there is no need to talk about it here. let's look
HTML5 video tag (player) learning notes (2): playback control, html5videoThis article mainly introduces the HTML5 video tag (player) learning notes (2): playback control, this article describes how to get the total video duration, play, pause, obtain the
Http://www.ruochi.com/main/2008/03/19/vcastr-30/
Vcastr 3.0-Flash video (FLV) player (Open Source)
Insert code to directly write the parameter "/>
Use XML to PASS Parameters Parameter description
All parameters that can be set in XML and default values Lt; contralpanelalpha gt; 0.75 lt;/contralpanelalpha gt;
The following describes the XML tree structure with "." and describes the function of parameters
Provides various official and user-released code examples. For code reference, you are welcome to learn about Flowplayer, a free WEB video player. It supports playing flv, swf, and other streaming media and image files. It can play video files smoothly and supports custom configurations and extensions.
The demo and Free Download Links are available at the botto
Step for inserting a VLC player into the webpage to play the rtsp video stream, vlcrtsp
1. Follow the steps in the http://download.csdn.net/detail/haowenxin123456789/8044245;
2. Download The http://www.videolan.org/vlc/index.html from the vlc-2.2.1-win32.exe and install it under the D: \ ProgramFiles folder;
3. Run: vegsvr32 D: \ ProgramFiles \ VideoLAN \ VLC \ axvlc. dll;
4. The code of the test.html file
The idea is to first obtain the file type and select different webpage player codes according to the type .. 3, 5, go, 2 ..... at the same time, in order to reuse the code in the future, a general call function is written. facilitate future calls in other systems ..
The source code is as follows:
Copy codeThe Code is as follows: Sub SelPlay (strUrl, strWidth, StrHeight)
Dim Exts, isExt
If strUrl IsExt = LCase (Mid (strUrl, limit Rev (strUrl, ".") + 1
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.