Dreamweaver to add player code to Web page

Source: Internet
Author: User

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 format ...) on the network, real Stream (RM,RMVB ...), and the MPEG Series encoding format (Mp4/mp3 format ...)

Windows Media Video, a streaming media format introduced by Microsoft, is an extension of the "Same Gate" ASF (Advanced stream format) format upgrade. In the same video quality, WMV format is very small, so it is suitable for playback and transmission online. Windows Media Player9 is compatible with all formats of WMV, the official encoder is Windows Media Encoder, but if you want to transform high-quality wmv files, then you must have a large memory to process the data ...

Inadvertently found that the Castpost player can define its own size, for the WMV format of online playback can be said to be fast enough, and then a great effort to put some of the highlights of the video and some of the classic MTV conversion WMV format to put up, although it can not download now, but as long as the number of connections is not too much, It's still a smooth ^_^.

WMP added an ActiveX decoder control, not only to play music, but also to put Flash and other video files

Want to use WMP continuous playback Please refer to the ASX meta File Usage explanation: Use ASX playlist

The player on the top is the old-fashioned one, version 6.4! New players appear after MediaPlayer9.0, that is, only 9.0 or more than 9.0 of the players installed to normal use.

--------------------------------------------------------------------------------

Here's a new player code that's a lot simpler than it used to be:

--------------------------------------------------------------------------------

RealOne Player Code:

--------------------------------------------------------------------------------

Look at a lot of very complex appearance, in fact, is more than some player parameters, you can not ...

Real Player web player parameter meaning

Parameters: Autostart Property: True or false: Specifies whether the specified source file is automatically played

Parameters: BackgroundColor Property: Any 16-value or any predefined color effect that begins with the symbol "#": Specifies the background color of the image window

Parameters: Center Property: TRUE or false: Specifies that the fragment plays with the initial encoding size and is in the center of the image window.

Parameters: ClassID Property: "clsid:cfcdaa03-8be4-1lcf-b84b0020afbbccfa:** function: Specifies the unique string identifier of an ActiveX control, which can be recognized as an embedded Realpalyer player."

Parameters: Console Property: Any string action: You can aggregate various RealPlayer controls on a Web page so that they can be used interactively or remain independent, and do not affect each other

Parameters: Controls Properties: Imagewindow,all,controlpanel,plavbutton,playonlybutton, Pausebutton,stopbutton,ffctrl,rwctrl, Mutectrl,mutevolume,volumeslider,position

Slider,tacctrl,homectrl,infovolumepanel,infopanel,statusbar,statusfield,positionfield function: Allows you to specify which controls are visible.

Parameters: Height Property: Any integer value function: Specifies the height of the RealPlayer element, in pixels

Parameters: id attribute: Any string action: Specifies a name for the RealPlayer element in the label.

Parameters: Imagestatus Property: True or false: Specifies whether state information is displayed in the Image window, and the default value is True

Parameters: Loop Property: True or False: Allows you to specify whether the fragment loop is infinite

Parameters: Maintainaspect Property: True or false: The default RealPlayer stretches all pieces to fill the entire image window.

Parameters: Name property: Any string action: Specify a name for the RealPlayer element in the label (use ID in the label)

Parameters: Nojava Property: True or false: Avoid starting Java virtual machines

Parameters: Nolabels Property: True or false: You can suppress the display of title or copyright information (realplayer5.0 above, it is garbage ...)

Parameters: Nologo Property: True or false: avoid displaying in the image window when RealPlayer is started

Parameters: Numloop Property: Any integer value function: Allows you to specify the number of times the file slice loop, do not need parameter loop

Parameters: Prefetch Property: True or false: Specifies whether RealPlayer can obtain flow description information before playback, the default value is False

Parameters: Region Property: Any string action: Used with SMIL. Allows you to specify the use of HTML instead of SMIL

Parameters: Scriptcallbacks Properties: comma-separated list function: Specify browser callback monitoring (good high-level Dongdong!)

Parameters: Shuffle Property: True or false: Used with multiple file slices of RAM or smil files.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.