خرید بک لینک

Vote count: 0

I am trying to utilize angular's $http.jsonp() method to access data about a Vimeo video at an arbitrary url, say https://vimeo.com/176329517.

I want a reliable way to pull the video id for a video, so I figured accessing Vimeo's API endpoint would be the most flexible way to go. Any idea on why the below code isn't working?

// 'date' is new Date().getTime()
const api = `http://vimeo.com/api/oembed/.json?url=https://vimeo.com/176329517
callback=JSON_CALLBACK&_=${date}`;

$http.jsonp(req).then((resp) => {

    // trying to analyze JSON resp here

 });

asked 31 secs ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 8 مرداد 1395 ساعت: 4:58

صفحه بندی