Streaming (video) does not pause when refreshing the page

0

I need to make a player (streaming) when navigating between pages, it does not pause, as if it were something external, but it has on every page, an example, it would be the facebook chat, that we can go changing page , and it always stays the same way.

I made a test by adding a YouTube iframe in facebook chat and I gave play on it, and browsing between other pages of facebook itself, the video did not come to pause, as if it were an external page, which has nothing to do with the main one, can you tell me if this is a feature of the browser itself, or some way to do that?

    
asked by anonymous 29.08.2014 / 16:04

1 answer

2

You could build your application as a single page, the content would be reloaded and your video would become a static area. I took a quick look at facebook and apparently it is built like this. If you open the browser debug you will realize that the page is not fully reloaded when you click on a link.

Take a look at this link to get some ideas.

link

    
29.08.2014 / 16:20