Hi,
currently I am developing a music label site.
I have created a html5/Js player which should keep playing while the visitor is browsing the site.
How could I solve this without a frame set ?
Regards
Marc
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
November 15, 2011 7:11pm
Subscribe [2]#1 / Nov 15, 2011 7:11pm
Hi,
currently I am developing a music label site.
I have created a html5/Js player which should keep playing while the visitor is browsing the site.
How could I solve this without a frame set ?
Regards
Marc
#2 / Nov 15, 2011 8:13pm
A one page web site, completely ajax powered.
#3 / Nov 16, 2011 11:28am
Hm,
but how about SEO in that case?
The only solutions which comes to my mind are :
1) jquery Address (http://www.asual.com/jquery/address/)
2) using the HTML5 Session History API (http://fortuito.us/diveintohtml5/history.html)
Solution 2 is more of my taste, do you thing this could be integrated with codeigniter ?
It is possible to replace only parts of of a view using javascript within codeigniter ?
I just ask before I start developing with codeigniter (I just started with it) and later (after weeks?) find out that it is not possible.
So far I love codeigniter
By The way, Danke 😊
#4 / Nov 16, 2011 12:19pm
I’ve built many full page flash sites with deep linking in the past based on CodeIgniter. No problem there. I have no experiences with other frameworks, but integrating with CI was always very smooth.
If You want search engine indexation, You’ll have to offer all content tied to a page URL without hashes. You may keep all content on one page, but that approach is limited to small projects which won’t grow (!).
So, You end up with two applications, one server side delivering the content per URL either wrapped in a page for SEO/noscript/incompatible clients and the Javascript application which may kick in to override the requests.
If the Javascript application decides to kick in, it redirects once to the home page and then You’re ready to go. You’ll have to base Your Javascript URL’s on hashes, but You can already add support for the upcoming History API.
Before I did use swfaddress (from asual) but now I just use a setInterval to watch the hash in case the onhashchange event is not present.
Edit: Ah ja, ganz vergessen, Schöne Grüsse aus Paris 😉
#5 / Nov 16, 2011 1:36pm
I’ve built many full page flash sites with deep linking in the past based on CodeIgniter. No problem there. I have no experiences with other frameworks, but integrating with CI was always very smooth.
If You want search engine indexation, You’ll have to offer all content tied to a page URL without hashes.
Hi , thank you for the answer!
I have also experience with the Flash Platform, more precise, with Flex based RIAs.
Some time ago I have created a Flex Application to demonstrate the indexability of Flex Based RIAs using the HTML5 Session API:
Have you seen the #! syntax:
-> http://code.google.com/intl/de-DE/web/ajaxcrawling/docs/html-snapshot.html
What do you think about the approach which is described on the following page:
-> http://fortuito.us/diveintohtml5/history.html
Basically what he does is as far I understand the following:
Create a basic HTML Site (in my case using codeigniter)
Once sombody visit the site, a Browser check is performed to determine if the browser can handle the Session API, sometghing like this: -> http://fortuito.us/diveintohtml5/detect.html#history
If so disable the default action of the Navigation Links and handle the navigation with JS instead.
Sounds brilliant for me, since I can simply built a basic site , learn codeigniter and enhance it using JS :D
Essentially the same approach as u describe above, but without duplicated content.
...
Something else,
How about going the Frame route with CodeIgniter?
Could I just add a frame on runtime , and keep that open for the player ?
But that would mess up the Depplinks either no?
...
Gruesse aus Cuxhaven :D
#6 / Nov 16, 2011 7:55pm
Frames are a mess to deal with, bad for SEO. The other solution might be a little challenging for the moment but it’s clearly the future. I guess frames will disappear sooner or later, if it’s not already decided to do so ?
#7 / Nov 17, 2011 7:00am
Ok I go teh AJAX way 😊
Something interesting : wakanda.org