Aimery Marsily
2015-05-29 11:49:07 UTC
Hi all !
I have create a directive to get a thumbnail from a Vimeo video Url. But
when calling the Vimeo API with $http I end up with an infinite loop. You
can see it here : http://plnkr.co/edit/oqXxr4GdkaaThUxGNlnW?p=preview
WARNING : the problem is in the getThumbnailUrl() method that create an
infinite loop, you have to uncomment the code in it and paste in the input
a Vimeo video
My directive should find the thumbnail of the video from the Vimeo API and
display it. I know I'm doing something wrong but can't find what. Any help
will be nice
Nota : The Plunker code is a quick example, sorry if it's not clean clean.
I have create a directive to get a thumbnail from a Vimeo video Url. But
when calling the Vimeo API with $http I end up with an infinite loop. You
can see it here : http://plnkr.co/edit/oqXxr4GdkaaThUxGNlnW?p=preview
WARNING : the problem is in the getThumbnailUrl() method that create an
infinite loop, you have to uncomment the code in it and paste in the input
a Vimeo video
My directive should find the thumbnail of the video from the Vimeo API and
display it. I know I'm doing something wrong but can't find what. Any help
will be nice
Nota : The Plunker code is a quick example, sorry if it's not clean clean.
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.