PHP Classes

You tube videos

Recommend this page to a friend!

      EmbeVi  >  All threads  >  You tube videos  >  (Un) Subscribe thread alerts  
Subject:You tube videos
Summary:Can't embed shortUrls such as youtu.be/
Messages:1
Author:JMB
Date:2012-12-09 08:29:34
 

  1. You tube videos   Reply   Report abuse  
Picture of JMB JMB - 2012-12-09 08:29:34
Hi,

And first, thank you for yoour class which is really well built & understandable.
I do however have a basic question : I have tried to copy paste the usual youtube short url issued by the youtube site through the 'SHARE' button, such as 'http://youtu.be/v8HoVdenZFM' into the forms of eah of your examples, but it won'y get the said video (won't parse teh url correctly , wont find the short url in the class's array ? both ?)

I have tried to add 'youtu.be' into the shorturrl array, but won't work either ...
Any explanation ?
Am I doing something wrong ?
Thanks for your help,
JMB