Answer the question
In order to leave comments, you need to log in
HTML with Flash music playback
Good day, I have a question.
There is a web resource project. On which there is a flash drive that plays music.
The problem is that when you move from page to page, the track starts playing from the beginning.
How to actually get around this?
Answer the question
In order to leave comments, you need to log in
In any case, it will be “interrupted”, even if you put a mark in the track before moving to a new page, and start playing from the mark on the next page.
The only way out is to load all changing data (including other pages) via AJAX.
You can, of course, implement it through an iframe, but frames are evil.
In one of the projects on jquerymobile, I implemented something similar. The player (jplayer) put in a "dialog" that was called from the page header. And all the content was located in dive "page". With jquerymobile out of the box, all links inside the "page" container are handled by ajax and dynamically load the content into the "page". Accordingly, when surfing the site, all content is loaded only dynamically, and at the same time, the container with the dialog, and therefore with the player, is not overloaded. The player plays all the time. This is a special implementation case.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question