spectatr-player-sdk
Version:
A custom video player built with Stencil with Shaka Player integration
24 lines (20 loc) • 673 B
JavaScript
;
var videoService = require('./videoService-CFdDgSc0.js');
function format(first, middle, last) {
return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
}
async function getAllVideos(clientId, baseUrl = 'https://media-ingestion.antino.ca') {
if (!clientId) {
console.error('client id is required');
}
try {
return await videoService.fetchAllVideos(clientId, baseUrl);
}
catch (error) {
console.error('Error fetching all videos:', error);
}
}
exports.format = format;
exports.getAllVideos = getAllVideos;
//# sourceMappingURL=index.cjs.js.map
//# sourceMappingURL=index.cjs.js.map