title: magento get custom attribute label
body: <p>I've a problem, I want to show the label of a custom attribute in the product page.
  I explain me better, starting from this link because is what I want to do:
  <a href="http://www.customy.com/blog/how-to-display-video-on-magento-product-page/" rel="nofollow">http://www.customy.com/blog/how-to-display-video-on-magento-product-page/</a></p>
  
  <p>I want a video product in the sidebar of the product page, so I create a new custompage.phtml and i put this in the sidebar from catalog.xml, in my custompage.phtml I put this code to have the custom label:</p>
  
  getResource()->getAttribute('video')->getStoreLabel();?>
  
  <p>but I have this error:</p>
  
  <p>"Fatal error: Call to a member function getResource() on a non-object in ..path//"</p>
  
  <p>I have try different code but still have this problem.
  I think that I forget to put something in my .phtml but I'm new of Magento and I don't know what!</p>
  
  <p>Thank in advance!</p>