This article mainly introduces the embedded codes of several old players, Windows Media Player, Real Player, and today it does seem to be somewhat nostalgic: D Friends who need it can refer to it
The players we see on the web page are nothing more than WMP/RealPlayer/Flash Player. The others are nothing more than different panels or other controls added. Some players installed on the computer are also integrated with encoding and decoder, and their core encoding and decoding technologies are the same. For example: the most popular Windows media streams (asf, wma, wmv format), Real streams (rm, rmvb format), and MPEG series encoding formats (MP4, MP3 format). Below are the common web player codes compiled by admin10000.com
1. Use Embed tag to play multimedia filesFormat<embed src=filename/>. The file name can be taken in any multimedia file format, such as test.wma, and a Windows Media Player player will be displayed on the web page (because wma is WMP-specific), and a Real Player player will be displayed on the web page, such as test.rm, and a Real Player player will be displayed on the web page. Of course, RealPlayer must be installed on your computer to display.
In fact, the embed tag can also display Flash animation (at this time the embed tag function is similar to using the object tag to display Flash animation). Example: <embed src=a.swf>
In short, the function of the inductive embed tag: Play the specified multimedia file on the web page.
2. Call Windows Media Player for playbackCan be used to play wmv, asf and other format files
XML/HTML Code Copy content to clipboard