zoukankan      html  css  js  c++  java
  • 3. HTML音频

    一:

        1. 方法

          (1)<embed> 空元素, 注意关闭。

                 <embed height = "100" width = "100" src = "song.mp3" />

          (2)<object>

                 <object height = "100" width = "100" data = "song.mp3"></object>

           (3) <audio>

                <audio controls = "controls">

                    <source src = "song.mp3" type = "audio/mp3" />

                    <source src = "song.ogg" type = "audio/ogg" />

                </audio>

           (4) <a href>超链接url

                <a href = "song.mp3">Play the sound.</a>

            (5) 最好的解决方法。

                <audio controls = "controls" height = "100" width = "100">

                    <source src = "song.mp3" src = "audio/mp3" />

                    <source src = "song.ogg" src = "audio/ogg" />
                 <embed height = "100" widht = "100" src = "song.mp3" />

                </audio>

  • 相关阅读:
    03.yaml语法和playbook写法
    02.ansible的常用模块
    01.ansible基本配置与使用
    24.删除表名
    23.MySQL的备份与恢复
    22.更改表名
    MySQL的表操作
    MySQL的库操作
    MySQL的用户管理
    数据库及MySQL概述
  • 原文地址:https://www.cnblogs.com/gavinwu/p/3205439.html
Copyright © 2011-2022 走看看