A
A
Anton Pronin2011-10-25 05:24:21
HTML
Anton Pronin, 2011-10-25 05:24:21

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

3 answer(s)
R
Ruslan Leviev, 2011-10-25
@nightw0rk

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.

P
pav, 2011-10-25
@pav

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.

F
Finom, 2011-10-27
@Finom

Google History API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question