Click the button at the front end for audio playback.

as shown in the figure:
the front end needs to display and play the audio submitted through the mobile phone on the page. Second, you can play the dash video when you click the button in the water bar area below. This audio is similar to the language of Wechat on the mobile phone, which is played after clicking. If you use the audio tag, it seems to have the interface of that player. There is a big god who has achieved similar functions, please give me a demo.

clipboard.png

Feb.21,2022

you can new a audio , or property setting to hide, click the area to use audio api to control playback


audio/video tag controls attribute if this attribute appears, the control is displayed to the user, such as a play button.

if you are not satisfied, you can use play () / pause () to control playback and stop playback. Use timer + ended to get the current playback status control button status

Menu