decord/alpha/source/modules/activities/utils/getPreviewVideoAssetUrl.tsx
github-actions 45f5884862 chore: update source for alpha 348.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5012.js (118.4 MB)
2026-09-23 06:49:31 +00:00

24 lines
849 B
TypeScript

// Module ID: 12391
// Function ID: 12392
// Name: getPreviewVideoAssetUrl
// Dependencies: [1074, 2]
// Exports: default
// Module 12391 (getPreviewVideoAssetUrl)
import Constants from "Constants" /* 1074 */;
import size from "module_2" /* 2 */;
const Endpoints = Constants.Endpoints;
const result = size.fileFinishedImporting("modules/activities/utils/getPreviewVideoAssetUrl.tsx");
export default function getPreviewVideoAssetUrl(arg0, banner_asset_id) {
if (null != CDN_HOST) {
const _HermesInternal2 = HermesInternal;
let combined = "https://" + CDN_HOST + "/app-assets/" + arg0 + "/store/" + banner_asset_id + ".mp4";
} else {
const _location = location;
const _HermesInternal = HermesInternal;
combined = "" + location.protocol + tmp + Endpoints.STORE_ASSET(arg0, banner_asset_id, "mp4");
}
return combined;
};