Computed property on a view not working


#1

Hi

i am building a video viewing app. today i was working on the Search feature of it ! when i start a search, i got results but when i click on a resultrow ( a view ) the selected_item is bound to a controller. Now i want to have a DetailedResultView that will be showing all info about the selected video. this is my view code : MyApp.DetailedResult = Ember.View.extend({ videoBinding : “MyApp.selectedVideo”,

  videoTitre: function(){
    var vid = this.get('video');
    return vid ? vid.titre : "No video";
  }.property('video')

});

no errors, no bugs

but when i use this view on search template … nothing shows up