当前位置:网站首页>Open the tutorial of adding and modifying automatically playing music on the open zone website
Open the tutorial of adding and modifying automatically playing music on the open zone website
2022-07-29 05:07:00 【V13807970340】
1、 Insert the code of music video
Insert playback sound in the web page ( Such as mp3 etc. )、AVI Animation and movie files ( Such as MPG etc. ) Code for :
In the code window <body> and </body> Insert the following code between :
<Embed src="url"width=" Width "height=" Height "AUTOSTART="TRUE│false" LOOP="TRUE"></Embed>
【 annotation 】
<EMBED………………… Start mark
SRC="url"…………… The source file name
width="450"………… The width of the player
height="380"………… The height of the player
HIDDEN="TRUE"……… Hidden way ( Useful for playing sound files , Useless for playing video )
AUTOSTART="TRUE"…… Auto play
autostart="false"…… No autoplay , Click the play button to play .
LOOP="TRUE"………… Loop Playback
NAME="MySound"……… Embedded object name
</EMBED>……………… End mark
【 example 3】 Open the web page and click the play button of the player before playing the video file kkk.mpg:
<Embed src="kkk.mpg"width="450"height="380" autostart="false" ></Embed>
【 skill 】 This method is particularly useful for making courseware , You can play video animation on the current page of the web page . however , When you open a web page, the player is always on the left side of the page , How to locate the player ? In fact, inserting this code can be done by using layers in the design view , The way to achieve this is : stay DW Design view in , Insert layer , The mouse is positioned in the layer , Insert code inside the layer ( Right click \ Point insertion HTML, In the pop-up “ Insert HTML<>” Parentheses in window <> Intermediate input code . If you want to edit and modify the code , To do so : Right click on the label \ Edit label .). The position of the player can be accurately located through the mobile layer .
【 Video format conversion 】 Use super solution or meeting sound and shadow to VCD A video file in (.DAT) Convert to video file (.mpg).
【 example 4】 Open the web page and play it automatically ( Like background music ) Sound files mlh.mp3:
<Embed src="mlh.mp3" HIDDEN="TRUE" AUTOSTART="TRUE"></Embed>
2、 Insert and play background music (wav、midi、mp3) Code for
Just in the code window <head> and </head> The following code between labels is enough :
<bgsound src="Music File Name" loop=n>
【 notes 】①Music File Name Is the background music file name , Its format can be :.mid,.mp3,.wav,.wma,.rmi.
②n Represents the number of cycles , if n by -1 Represents an infinite loop .
③ Web files and music files should be in the same folder .
【 example 5】 Infinite loop playing background music mlh.mp3:
<bgsound src="mlh.mp3" loop="-1">
边栏推荐
- P1009 [noip1998 popularization group] sum of factorials
- How to open IE browser by running win command
- Create a mindscore environment in modelars, install mindvision, and conduct in-depth learning and training (Huawei)
- Using jupyter (I), install jupyter under windows, open the browser, and modify the default opening address
- 搭建手机APP需要用到什么服务器
- 【微信小程序】swiper滑动页面,滑块左右各露出前后的一部分,露出一部分
- Improve the readability of your regular expressions a hundred times
- Stack and queue and priority queue (large heap and small heap) simulation implementation and explanation of imitation function
- Traffic flow prediction pit climbing record (I): traffic flow data set, original data
- IOS interview preparation - other articles
猜你喜欢

Google gtest事件机制

新产品上市最全推广方案

The song of the virtual idol was originally generated in this way!

Sparksql inserts or updates in batches and saves data to MySQL

Diagram of odoo development tutorial

Torch.nn.crossentropyloss() details

Big silent event Google browser has no title

How is the entered query SQL statement executed?

MySQL regularly calls preset functions to complete data update

Activity workflow table structure learning
随机推荐
2022杭电多校联赛第四场 题解
Numpy basic learning
How does WPS take quick screenshots? WPS quick screenshot method
Live in small private enterprises
[untitled]
Simple user-defined authentication interface rules
What servers are needed to build mobile app
【config】配置数组参数
How to solve the problem of configuring the progress every time Office2010 is opened?
[wechat applet] swiper slides the page, and the left and right sides of the slider show part of the front and back, showing part of the front and back
How is the entered query SQL statement executed?
Traffic flow prediction pit climbing record (I): traffic flow data set, original data
Office提示系统配置无法运行怎么办?
Introduction of JDBC preparestatement+ database connection pool
< El table column> place multiple pictures
Force deduction ----- sort odd and even subscripts respectively
新产品上市最全推广方案
Data Lake: spark, a distributed open source processing engine
How to debug UDP port
学习数据库的第一个程序