diff --git a/angular-fluidVid.js b/angular-fluidVid.js index be0220c..2bb3c15 100644 --- a/angular-fluidVid.js +++ b/angular-fluidVid.js @@ -14,7 +14,7 @@ angular.module('tinacious.fluidVid', []) } if (!videoType) { - $log.error('Specify type, either \'youtube\' or \'vimeo\''); + $log.error('Specify type, either \'youtube\', \'vimeo\' or \'facebook\''); } // video code based on video type @@ -27,7 +27,11 @@ angular.module('tinacious.fluidVid', []) case 'vimeo': videoCode = ''; break; - + + case 'facebook': + videoCode = ''; + break; + default: $log.error('Sorry, the type "' + videoType + '" is not currently supported. Please use either \'youtube\' or \'vimeo\''); }