diff --git a/pages/API/inner-audio/inner-audio-format.uvue b/pages/API/inner-audio/inner-audio-format.uvue
index 7b9fb1756de1bd5f9dff67bc9043372fa862fcba..9eec12ab2d87765e5714e46acebbf83d37cd6014 100644
--- a/pages/API/inner-audio/inner-audio-format.uvue
+++ b/pages/API/inner-audio/inner-audio-format.uvue
@@ -8,6 +8,14 @@
{{item.format}}
+
+
+ 不支持的音频格式
+
+
+ {{item.format}}
+
+
@@ -53,18 +61,24 @@
format: 'wav',
src: 'https://web-ext-storage.dcloud.net.cn/uni-app-x/audio/ForElise.wav'
},
- // {
- // format: 'wma',
- // src: 'https://web-ext-storage.dcloud.net.cn/uni-app-x/audio/ForElise.wma'
- // },
- // {
- // format: 'aiff',
- // src: 'https://web-ext-storage.dcloud.net.cn/uni-app-x/audio/ForElise.aiff'
- // },
- // {
- // format: 'caf',
- // src: 'https://web-ext-storage.dcloud.net.cn/uni-app-x/audio/ForElise.caf'
- // },
+ ] as Array,
+ notSupportFormats:[
+ {
+ format: 'wma',
+ src: 'https://web-ext-storage.dcloud.net.cn/uni-app-x/audio/ForElise.wma'
+ },
+ {
+ format: 'aiff',
+ src: 'https://web-ext-storage.dcloud.net.cn/uni-app-x/audio/ForElise.aiff'
+ },
+ {
+ format: 'caf',
+ src: 'https://web-ext-storage.dcloud.net.cn/uni-app-x/audio/ForElise.caf'
+ },
+ {
+ format: '错误格式',
+ src: 'https://web-ext-storage.dcloud.net.cn/uni-app-x/audio/ForElise.wmaa'
+ },
] as Array
}
},
diff --git a/pages/API/inner-audio/inner-audio-path.uvue b/pages/API/inner-audio/inner-audio-path.uvue
index 003320d640b9275da2366f991367730e9953b1b0..3b9ad2ae460f1ed9f5aa75e8b974a8d932bba0a1 100644
--- a/pages/API/inner-audio/inner-audio-path.uvue
+++ b/pages/API/inner-audio/inner-audio-path.uvue
@@ -2,7 +2,7 @@
- 支持的音频路径示例
+ 音频路径示例
{{item.description}}
@@ -36,6 +36,14 @@
description: '网络路径',
src: 'https://web-ext-storage.dcloud.net.cn/uni-app-x/audio/ForElise.mp3'
},
+ {
+ description: '不存在的音频',
+ src: 'https://web-ext-storage.dcloud.net.cn/uni-app-x/audio/invalid_url.mp3'
+ },
+ {
+ description: '错误路径',
+ src: '../static/test-audio/ForElise.mp3'
+ },
] as Array
}
},
diff --git a/pages/API/inner-audio/inner-audio.uvue b/pages/API/inner-audio/inner-audio.uvue
index bf4991c4d681a35964e11ad3357511375b42cd32..1f3b7e008d072e55273f958bea07ff9729312a85 100644
--- a/pages/API/inner-audio/inner-audio.uvue
+++ b/pages/API/inner-audio/inner-audio.uvue
@@ -35,7 +35,7 @@
-
+