--- a/src/js/site.js.templ Thu Feb 09 11:56:33 2012 +0100
+++ b/src/js/site.js.templ Thu Feb 09 11:56:57 2012 +0100
@@ -115,12 +115,13 @@
/*
Override this if you want to change the info the player receives about the user.
It's typically overrided in server-side templates with user-specific data.
+*/
+IriSP.defaults.user = function() { return {
+ "name" : "Anonymous user",
+ "avatar" : IriSP.paths.imgs + "/user_default_icon.png"
+ }
+};
-IriSP.user = {
- "name" : "loic",
- "avatar" : "http://a1.twimg.com/profile_images/39270812/loicempuria_normal.jpg"
-};
-*/
IriSP.defaults.paths = {
// "imgs": "/tweetlive/res/metadataplayer/src/css/imgs"