spectatr-player-sdk
Version:
A custom video player built with Stencil with Shaka Player integration
21 lines (18 loc) • 616 B
JavaScript
import { f as fetchAllVideos } from './videoService-iOhrDaXh.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 fetchAllVideos(clientId, baseUrl);
}
catch (error) {
console.error('Error fetching all videos:', error);
}
}
export { format, getAllVideos };
//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map