CSS play-during property

PHPz
Release: 2023-08-25 19:17:08
forward
1037 people have browsed it

CSS play-during 属性

This attribute specifies the sound that plays in the background while the element's contents are spoken. Possible values can be any of the following -

  • ##URI- Thisspecifies the sound to be played in the background while the element's content is
  • mix- When present, this keyword means that the sound inherited from the parent element'splay-duringattribute continues to play and that the sound specified byuriis mixed with it. Ifmixis not specified, the element's background sound replaces the parent element's background sound.
  • repeat- When present, this keyword means that the sound will repeat if it is too short to fill the entire duration of the element. Otherwise, the sound plays once and then stops.
  • auto- The parent element's sound continues to play.
  • None>− This keyword means mute.
Example

You can try to use the following code to implement the CSS play-during property -

Copy after login

The above is the detailed content of CSS play-during property. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!