bestautions
New Member
this app http://video-player-sample.appspot.com/ is supposed to display episode and video data as in here:http://www.i-programmer.info/news/87-web-development/3579-googles-open-source-video-player.htmlsource is here: http://code.google.com/p/video-player-sample/source/browse/#git/sourceand the documentation is here: http://docs.video-player-sample.appspot.com/jsdocs/index.htmlthe data is stored in data.json and accessed through config.jsonThis link : http://video-player-sample.appspot.com/#/shows yields an empty page. However it should be initialized to the episodes in data.json via the initialize call in ShowGrid.js.Running the app locally, when i insert a console.log in ShowGrid.js like so:\[code\]gva.component.ShowGrid.prototype.initialize = function($context) { // Call super method. this.constructor.superClass_.initialize.call(this, $context); // Get instances. this._userModel = gva.model.UserModel.getInstance(); this._dataModel = gva.model.DataModel.getInstance(); console.log($context); // Set up the fixed grid cell size. this._grid.initialize($context, 200, 380, 30, 30);};\[/code\]it outputs all the relevant episodes in the data.json file but sets the display to "none" like so:\[code\]<section class="show-grid grid" data-component="gva.component.ShowGrid" data-component_id="15474509"> <article class ="show" data-showid ="C001" style="display: none;"> <article class= "show" data-showid="C002" style="display:none;">\[/code\]An ugly hack might be to fix it in jquery after the fact...but that just seems so ugly and defeats the purpose of using all this structure.Any thoughts on what might be the problem?