Skip to content

This is an example showcasing how to use postmessage, onmessage and Quick App's Audio API to play uninterrupted audio in your H5 Quick App. It contains a very simple HTML page and a simple Quick App project.

Notifications You must be signed in to change notification settings

Muhammed55/H5-Quick-App-Audio-API-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

H5-Quick-App-Audio-API-Example

This is an example showcasing how to use postmessage, onmessage and Quick App's Audio API to play uninterrupted audio in your H5 Quick App. It contains a very simple HTML page and a simple Quick App project.

This project has a corresponding article that you can find in the Huawei Developers Forum. Please read it if you want to have more background information.

Most changes for the Quick App are made in the hello.ux file. Some minor changes are made in the Quick App's manifest.json file. Then there is the index.html page that is being displayed in the Quick App's Web component.

If you want to test out this Quick App, host the index.html file somewhere (I did it locally), import the Quick App Project into the Huawei QuickApp IDE and change the loadUrl value in the hello.ux file to whatever the URL is of the index.html page.

More information about Quick Apps can be found in Huawei's documentation.

About

This is an example showcasing how to use postmessage, onmessage and Quick App's Audio API to play uninterrupted audio in your H5 Quick App. It contains a very simple HTML page and a simple Quick App project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages