- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to keep audio playing while navigating through pages?
To continue loading audio to play while you are navigating through pages, try the following:
- Use Ajax to load content
- History API’s pushState() can also be used to alter URL without page reload.
- History.js should be used for consistent behavior across multiple browsers.
The pushState() has three parameters:
- State object For new entry created by pushState()
- Title: You can pass a short title
- URL: New history entry's URL
- Related Articles
- HTML5 check if audio is playing
- HTML5 audio not playing in PhoneGap App
- How do we embed audio in web pages in HTML5?
- How can we use hub pages to find authoritative pages?
- How do we specify that the audio/video will start playing as soon as it is ready in HTML?
- While playing tug of war, Preeti felt that the rope was slipping through her hands. Suggest a way out for her to prevent this."
- How to play HTML5 Audio Randomly
- Navigating your dashboard in Canva
- How to detect HTML5 audio MP3 support
- How to install GoldWave Audio Editing Software?
- How to turn wikipedia pages into ebooks
- How to include CSS in HTML Pages
- How to author fast-loading HTML pages?
- What are the best practices to keep in mind while using packages in Java?
- 7 audio cassettes and 3 video cassettes cost ₹ 1110, while 5 audio cassettes and 4 video cassettes cost ₹ 1350. Find the cost of an audio cassette and a video cassette.

Advertisements