Ihidan
Ihidan

Reputation: 568

Iframe to display a video

I need to create a side screen to play a video while the user browser my site. But the video most keep playing while the user load differents pages of the site. Is it possible to be done? How?

I have no idea how to google it. Any help is appreciated.

Upvotes: 0

Views: 43

Answers (1)

Anfuca
Anfuca

Reputation: 1329

You can accomplish this using Ajax.

From wikipedia:

[..] With Ajax, web applications can send data to and retrieve from a server asynchronously (in the background) without interfering with the display and behavior of the existing page.[..]

Other way to make that is, to make a single page with all the sections, and with CSS, set the video position: fixed (the element is positioned relative to the browser window) so while the user scroll vertically, the video follow the movement...

Upvotes: 1

Related Questions