. However, in this universal player era, basically all the mainstream players can provide support for WMV format.
What player does WMV play with?
WMV Player recommended: RealPlayer
RealPlayer
RealPlayer supports pl
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 media player can play the WMV, but the tmediaplayer cannot. Why? Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiMultimedia/html/delphi_2006120509535089.html
Compile a video playback software using tmediaplayer,
We originally intended to use a newer twindowsmediaplayer. However, the latter does not support alignclient, that is, it is completely filled and can only be scaled according to the prop
1. mediaplay player Insertion Method
Insert-media-ActiveX
Property settings:
Classid: CLSID: 6bf52a52-394a-11d3-b153-00c04f79faa6
Parameters:
URL: file path name
Playcount: integer
Autostart: automatic playback: 1 no playback: 0
Fullscreen: whether to enable automatic full screen 0 not 1 is
Volume: 0-100
Code
1. Window. Media. Player
How to Use selectionstart selectionend in it. Can we control the
Nailwl
Note: many of my friends asked me if the video can be played online. I will summarize the webpage code of some video files of different formats as follows, hoping to help you. usage instructions: You should change the video path in the following code to a relative or absolute path suitable for the content on your website. The player window size can be changed to the parameter of height and width.
In web development often encounter some simple video playback function, but now the video format is different, and can be dynamically added, so we have to save the video to the data Oh, OK, let's look at the paragraph I wrote a simple PHP video web player code bar.
Copy the Code code as follows:
Include './admin/connect.php ';@extract ($db->get_one ("select * from Movieinfo where.$_get[' id '].");$db->query ("Update movieinfo set playnum=playnum+1
JW player is a simple and fully functional Online FLV Flash Player with many optional control parameters.Multiple parameters can be used in combination. The following describes how to use them:File (FLV file address. If not set, the default value is video. FLV in the same directory of JW player FLV web
Web page | online
The players we see on the Web page are no more than Wmp/realone/macromedia Flash player, other than the panel is different, or add other controls, for the computer installed some of the players are encoding and decoder integration, The core coding and decoding techniques are the same. For example, the most popular Windows Media stream (asf,wma,wmv
PrefaceIf you don't want to watch videos on your own, you can watch TV in the traditional way, such as CCTV and Hunan TV. This chapter collects the addresses of hundreds of TV stations on the Internet and presents them in multi-level classification mode, greatly enriching the content of online playback.
StatementWelcome to repost, but please keep the original source of the article :) blog Park: http://www.cnblogs.com farmer UNCLE: http://over140.cnbl
Objective
If you do not want to find the video, the traditional way to watch TV is also good, such as CCTV, Hunan TV and so on. This chapter collects hundreds of television stations from the network address, uses the multi-level classification method to present, greatly enriches the on-line broadcast part the content.
Series
1. Android uses Vitamio to build its own universal player (1)--ready
2, Android uses Vitamio to build its own universal
1.avi format
File:///D|/work/vod/Mbar.avi "> "File:///D|/work/vod/Mbar.avi "src=" Mbar.avi ">
2.mpg format
3.RM format
4.wmv format
The simplest playback code
Autostart= "true" loop= "true" width= "height=" >Just change this URL http://wmt2.aboutmedia.com.tw/Aboutmedia/warner/mtv/naying-021011_01v_120k.wmv to the movie you want to see.
RM format with Image:
No image RM format: such as Crosstalk, so
----------- review the split line-----------This series aims to develop an online version of the "who is undercover + killing games" Ghost game , recording the whole process of development starting from the analysis game , through this project to familiarize yourself with the object-oriented solid principles, improve the understanding of design patterns, refactoring.Index Directory :0. Index (in continuous update)1. Game Flow Introduction and technolo
Online 1.avi format
2.mpg format
3.RM format
4.wmv format
Http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version =6,4,5,715 "standby=" Loading Microsoft Windows Media Player components ... "type= application/x-oleobject" Align= "Right" hspace= "5" >
The simplest playback code
http://wmt2.aboutmedia.com.tw/Aboutmedi
In fact, php video playback code is basically supported in common video formats. It uses regular expressions to match file extensions and calls the corresponding online player code based on different file extensions.
In fact, php video playback code is basically supported in common video formats. It uses regular expressions to match file extensions and calls the corresponding
1. avi format
2. mpg format
3. rm format
4. wmv Format
Simplest playback code
Autostart = "true" loop = "true" width = "200" height = "150">Upload this URL
Rm format with images:
Rm format without images: such as crosstalk, songs...
The simplest media format player .. Automatically identifies images, but the version is yours!Media players with images automatically call
addition, you can add error handlers yourself. If the Senderrorevents property is set to True, the error box is not displayed, but the error event is sent, and if the Senderrorevents property is set to False, an error box is sent and an error event is delivered.Media Player supports the following error handling events:Error event, refers to the occurrence of dangerous errors;Warning event, refers to the occurrence of non-dangerous errors;When your ap
Objective
In order to ensure a weekly progress, and because the new version of Vitamio has not been released, decided to postpone the local playback of some features (screenshots, video time, size, etc.), skip directly write the section of the online play part. As you can see from Vitamio's introduction, it supports a variety of network protocols such as HTTP, m3u8, and this chapter will write examples of playing Youku videos.
Series
1. Android use
Popular network movie is the world's first to realize the edge of the film to see the technology download and watch software, has become more and more netizens online watch film and television preferred. "On-demand" and "look at the bottom" is popular different from other network TV software and BT software, the biggest bright spot, it helps you to solve the live TV can only watch "playing" and can not watch the problem, but also for BT users to solve
Php web player code used to play online videos (automatically determines and selects the video file type ). Some simple video playing functions are often encountered in web development, but the video formats are different and can be dynamically increased. Therefore, we must save the video to data, well, some simple video playing functions are often used in web development. However, the video formats are dif
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.