22 lines
783 B
TypeScript
22 lines
783 B
TypeScript
// Module ID: 11232
|
|
// Function ID: 11233
|
|
// Name: getPreviewVideoAssetUrl
|
|
// Dependencies: [676, 2]
|
|
// Exports: default
|
|
|
|
// Module 11232 (getPreviewVideoAssetUrl)
|
|
import { Endpoints } from "ME";
|
|
|
|
const result = require("set").fileFinishedImporting("modules/activities/utils/getPreviewVideoAssetUrl.tsx");
|
|
|
|
export default function getPreviewVideoAssetUrl(closure_7, banner_asset_id) {
|
|
if (null != CDN_HOST) {
|
|
const _HermesInternal2 = HermesInternal;
|
|
let combined = "https://" + CDN_HOST + "/app-assets/" + closure_7 + "/store/" + banner_asset_id + ".mp4";
|
|
} else {
|
|
const _location = location;
|
|
const _HermesInternal = HermesInternal;
|
|
combined = "" + location.protocol + tmp + Endpoints.STORE_ASSET(closure_7, banner_asset_id, "mp4");
|
|
}
|
|
return combined;
|
|
};
|