<small id='pYfjS'></small><noframes id='pYfjS'>

  • <tfoot id='pYfjS'></tfoot>

        • <bdo id='pYfjS'></bdo><ul id='pYfjS'></ul>
      1. <i id='pYfjS'><tr id='pYfjS'><dt id='pYfjS'><q id='pYfjS'><span id='pYfjS'><b id='pYfjS'><form id='pYfjS'><ins id='pYfjS'></ins><ul id='pYfjS'></ul><sub id='pYfjS'></sub></form><legend id='pYfjS'></legend><bdo id='pYfjS'><pre id='pYfjS'><center id='pYfjS'></center></pre></bdo></b><th id='pYfjS'></th></span></q></dt></tr></i><div id='pYfjS'><tfoot id='pYfjS'></tfoot><dl id='pYfjS'><fieldset id='pYfjS'></fieldset></dl></div>
      2. <legend id='pYfjS'><style id='pYfjS'><dir id='pYfjS'><q id='pYfjS'></q></dir></style></legend>

        HTML 音频标签卷

        HTML audio tag volume(HTML 音频标签卷)

        <legend id='WVoN7'><style id='WVoN7'><dir id='WVoN7'><q id='WVoN7'></q></dir></style></legend>

            • <tfoot id='WVoN7'></tfoot>
              <i id='WVoN7'><tr id='WVoN7'><dt id='WVoN7'><q id='WVoN7'><span id='WVoN7'><b id='WVoN7'><form id='WVoN7'><ins id='WVoN7'></ins><ul id='WVoN7'></ul><sub id='WVoN7'></sub></form><legend id='WVoN7'></legend><bdo id='WVoN7'><pre id='WVoN7'><center id='WVoN7'></center></pre></bdo></b><th id='WVoN7'></th></span></q></dt></tr></i><div id='WVoN7'><tfoot id='WVoN7'></tfoot><dl id='WVoN7'><fieldset id='WVoN7'></fieldset></dl></div>
                <tbody id='WVoN7'></tbody>

              <small id='WVoN7'></small><noframes id='WVoN7'>

                • <bdo id='WVoN7'></bdo><ul id='WVoN7'></ul>
                  本文介绍了HTML 音频标签卷的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在我的网站中嵌入了一个背景音频,它会在访问时自动播放.

                  I embedded a background audio into my website which autoplays on visit.

                  音频的来源是一个在线流热链接.

                  The source of the audio is a online stream hotlink.

                  <audio autoplay>
                        <source src="http://lel.com/link/to/stream.m3u">
                      </audio>
                  

                  我已经做到了,而且效果很好.

                  I already managed to do that and it's working well.

                  现在我想调低流的音量,因为音频应该只是留在背景中并娱乐访问者,而不是因为响度而使他们患上耳癌.

                  Now I want to turn down the volume of the stream because the audio should just stay in the background and entertain the visitors instead of giving them ear cancer due to loudness.

                  我已经搜索了论坛,但总能找到调高视频音量的解决方案.

                  I already searched the forums but I always found solutions for turning the volume of a video.

                  我也搜索了音频标签的参数,但音频标签似乎没有音量参数.

                  I also searched for the parameters of the audio tag but there seems no volume parameter for the audio tag.

                  不用担心合法性.我用于网站的流没有版权,我被允许在我的网站上使用它.

                  Don't worry about legalities. The stream I use for the website has no copyright and I am permitted to use it on my website.

                  推荐答案

                  浏览器不支持volume属性,所以必须在JavaScript中设置volume属性

                  Theres no volume attribute supported by browsers so you must set the volume property in JavaScript

                  <audio autoplay id="myaudio">
                    <source src="http://lel.com/link/to/stream.m3u">
                  </audio>
                  
                  <script>
                    var audio = document.getElementById("myaudio");
                    audio.volume = 0.2;
                  </script>
                  

                  参见http://jsfiddle.net/sjmcpherso/6r1emoxq/

                  这篇关于HTML 音频标签卷的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  quot;Status Code:200 OK (from ServiceWorker)quot; in Chrome Network DevTools?(“状态码:200 OK(来自 ServiceWorker)在 Chrome 网络开发工具中?)
                  What is quot;X-Content-Type-Options=nosniffquot;?(什么是“X-Content-Type-Options=nosniff?)
                  SmtpJs API not working! is there any way to send emails using SMTP server with JavaScript or JQuery(SmtpJs API 不工作!有没有办法使用带有 JavaScript 或 JQuery 的 SMTP 服务器发送电子邮件)
                  Can I send email using javascript(我可以使用 javascript 发送电子邮件吗)
                  Select All the objects on canvas using Fabric.js(使用 Fabric.js 选择画布上的所有对象)
                  Crop the image using JavaScript(使用 JavaScript 裁剪图像)
                • <small id='nNp30'></small><noframes id='nNp30'>

                    <tbody id='nNp30'></tbody>

                  <tfoot id='nNp30'></tfoot>
                  <legend id='nNp30'><style id='nNp30'><dir id='nNp30'><q id='nNp30'></q></dir></style></legend>

                        • <bdo id='nNp30'></bdo><ul id='nNp30'></ul>
                          <i id='nNp30'><tr id='nNp30'><dt id='nNp30'><q id='nNp30'><span id='nNp30'><b id='nNp30'><form id='nNp30'><ins id='nNp30'></ins><ul id='nNp30'></ul><sub id='nNp30'></sub></form><legend id='nNp30'></legend><bdo id='nNp30'><pre id='nNp30'><center id='nNp30'></center></pre></bdo></b><th id='nNp30'></th></span></q></dt></tr></i><div id='nNp30'><tfoot id='nNp30'></tfoot><dl id='nNp30'><fieldset id='nNp30'></fieldset></dl></div>