html 要求插入 音乐,HTML插入背景音乐(HTML inserts background music).doc

编程入门 行业动态 更新时间:2024-10-12 12:28:07

html  要求插入 音乐,HTML插入<a href=https://www.elefans.com/category/jswz/34/1761360.html style=背景音乐(HTML inserts background music).doc"/>

html 要求插入 音乐,HTML插入背景音乐(HTML inserts background music).doc

HTML插入背景音乐(HTML inserts background music)

HTML插入背景音乐(HTML inserts background music)

The first: add this code between the in the page code.

What I want to say here is that the value in "loop" is the number of musical cycles, which can be set to any positive integer. If it is "-1", the music will go forever.

This background music is played directly after the leaves are opened, and there is no display on the page. This is the simplest kind.

The second type: this method is slightly more complicated, but more parameters can be set. Still, a Embed tag is added between the tags in the page code, and the simplest form is like this:

The difference is that we can set up more content here. Here are the details:

SRC address of background music (i.e., URL).

Whether autostart is played automatically, true is played immediately after the music file is read, and false is not immediately played. The default value is "false""

The number of loop cycles is set to "true" for the permanent loop. "False" is played only once, and if it is set as any positive integer, the number of times the loop is entered.

Volume sets the volume, and the range is 0-100. The default is the current volume of the system.

Starttime sets the time the music starts playing. The format is "minutes: seconds"",

Such as: starttime = "00:10", that is, from tenth seconds to play.

Endtime set the end of the music playback time, the specific format ibid.

Width sets the width of the music playback control panel.

Height sets the height of the music playback control panel.

Controls sets the appearance of the music play control panel,

"Console" is the usual panel;

"Smallconsole" is a small panel.

"PlayButton" to show whether the play button is displayed;

"PauseButton" to show whether the pause button is displayed;

"STOPButton" to show whether the stop button is displayed;

"Volumelever" for whether

更多推荐

html 要求插入 音乐,HTML插入背景音乐(HTML inserts background music).doc

本文发布于:2024-02-12 12:07:59,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1687730.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:背景音乐   音乐   HTML   html   doc

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!