src/js/site.js.templ
branchpopcorn-port
changeset 764 628ae65defa7
parent 747 21ca8cd8ac83
child 795 8b69c3dbbc18
--- a/src/js/site.js.templ	Thu Feb 02 15:13:05 2012 +0100
+++ b/src/js/site.js.templ	Thu Feb 02 15:30:39 2012 +0100
@@ -112,6 +112,16 @@
   };
 };
 
+/*
+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.user = {
+  "name" : "loic",
+  "avatar" : "http://a1.twimg.com/profile_images/39270812/loicempuria_normal.jpg"
+};
+*/
+
 IriSP.defaults.paths = {
 //  "imgs": "/tweetlive/res/metadataplayer/src/css/imgs"
   "imgs": "/mdp/src/css/imgs"