当前位置:网站首页>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">
边栏推荐
- IOS interview preparation - Online
- [untitled]
- 怎样监测微型的网站服务
- 那个准时上下班,从不愿意加班加点的人,在我前面升职了...
- How to solve the problem of configuring the progress every time Office2010 is opened?
- SparkSql批量插入或更新,保存数据到Mysql中
- 时间序列分析的表示学习时代来了?
- C language implementation of three chess
- ODOO开发教程之透视表
- SGuard64.exe ACE-Guard Client EXE:造成磁盘经常读写,游戏卡顿,及解决方案
猜你喜欢

Northeast University Data Science Foundation (matlab) - Notes

学习数据库的第一个程序

Solve the warning prompt of MySQL mapping file

What if the office prompts that the system configuration cannot run?

2021-10-23

自贸经济中架起的“隐形桥梁”:国货精品与中国AI力量

SSM integration, addition, deletion, modification and query

Jackson解析JSON详细教程

荣耀2023内推,内推码ambubk

Un7.28: common commands of redis client.
随机推荐
Spark的算子操作列表
Traffic flow prediction pit climbing record (I): traffic flow data set, original data
【微信小程序--解决display:flex最后一行对齐问题。(不连续排列会分到两边)】
A little knowledge about management
[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
Huawei ilearning AI mathematics foundation course notes
SparkSql批量插入或更新,保存数据到Mysql中
On prepayment of house purchase
Use annotation test in idea
Big silent event Google browser has no title
自贸经济中架起的“隐形桥梁”:国货精品与中国AI力量
Quick start JDBC
TCP三次握手四次挥手
使用Jstack、Jconsole和jvisualvm进行死锁分析
时间序列分析的表示学习时代来了?
Solution | get the relevant information about the current employees' highest salary in each department |
让你的正则表达式可读性提高一百倍
Academic | [latex] super detailed texlive2022+tex studio download installation configuration
How does excel filter out the content you want? Excel table filtering content tutorial
[untitled]