How to access office 365 videos using rest api from on premise sharepoint 2013 site

HI Team,

Am facing issue (404 error) while accessing office 365 videos rest api from my on premise sharepoint 2013 site. Am using jquery ajax call to get data. Both are in differenet domains.

below is my sample rest api url to get video from channel and ajax call,

Rest Api url

_api/VideoService/Channels('channelId')/Videos

Ajax Call

$.ajax({
type: 'GET',
url: url,
async: false,
crossDomain: true,
contentType: "application/json",
dataType: 'jsonp',
success: function () {
},
error: function (err) {
}
});

Thanks in ad

September 4th, 2015 10:31am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics