Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
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
Advertisements
