spectatr-player-sdk
Version:
A custom video player built with Stencil with Shaka Player integration
22 lines (19 loc) • 730 B
JavaScript
import { f as fetchAllVideos } from './p-Bqc1mM21.js';
export { g as getAssetPath, r as render, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-Bqc1mM21.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