I'm relatively new to rails (and web development).
I want to insert a video into my site which can keep playing even when
the user is browsing between pages. Should i do this with Frames or
iFrames?
I tried to implement it using frames but got a little stuck...
My site has the welcome (home) page which contains no frames:
www.mysite.com (www.mysite.com/home/index).
Then there is the page to display once someone has logged in:
www.mysite.com/projects/list
All pages except the home page use the application.html.erb layout.
I'm not sure how to integrate the frames html when I am using the
application layout.
Unfortunately this is just rendering a blank frame.
I have a whole bunch of other stuff I need to include like headers and
footers which also previously went in application.html.erb, but I am
unsure where to put that code now. How do I still include them?
Also, is frames even the best way to do this??
I did a little test and it seems the URL will not change as I browse
through my site when I am using frames. It will only keep original page
with the frameset in the URL bar rather than the URL of the individual
active frame.
Surely there is a better way of doing this?