openvibers/openvibe.live Commits
Drop unused pasteUrl builder from media client (#16)
Changes
@@@ -304,7 +304,6 @@ function generateThumbnail(kind, id, opts = {}) {function vodPlaybackUrl(id) { return `${MEDIA_PUBLIC_URL}/v/${id}`; }function clipUrl(id) { return `${MEDIA_PUBLIC_URL}/c/${id}`; }--function pasteUrl(slug) { return `${MEDIA_PUBLIC_URL}/p/${encodeURIComponent(slug)}`; }function pasteScreenshotUrl(slug) { return `${MEDIA_PUBLIC_URL}/p/${encodeURIComponent(slug)}/screenshot`; }function pasteRawUrl(slug) { return `${MEDIA_PUBLIC_URL}/p/${encodeURIComponent(slug)}/raw`; }function thumbUrl(id) { return `${MEDIA_PUBLIC_URL}/t/${id}`; }@@@ -418,5 +417,5 @@ module.exports = {uploadFile, getFileMeta, deleteFile,uploadThumbnail, generateThumbnail,// URL builders-- vodPlaybackUrl, clipUrl, pasteUrl, pasteScreenshotUrl, pasteRawUrl, thumbUrl, fileUrl, screenshotUrl, publicUrl,++ vodPlaybackUrl, clipUrl, pasteScreenshotUrl, pasteRawUrl, thumbUrl, fileUrl, screenshotUrl, publicUrl,};
@@ -304,7 +304,6 @@ function generateThumbnail(kind, id, opts = {}) {
@@ -304,7 +304,6 @@ function generateThumbnail(kind, id, opts = {}) {
function vodPlaybackUrl(id) { return `${MEDIA_PUBLIC_URL}/v/${id}`; }
function vodPlaybackUrl(id) { return `${MEDIA_PUBLIC_URL}/v/${id}`; }
function clipUrl(id) { return `${MEDIA_PUBLIC_URL}/c/${id}`; }
function clipUrl(id) { return `${MEDIA_PUBLIC_URL}/c/${id}`; }
-function pasteUrl(slug) { return `${MEDIA_PUBLIC_URL}/p/${encodeURIComponent(slug)}`; }
function pasteScreenshotUrl(slug) { return `${MEDIA_PUBLIC_URL}/p/${encodeURIComponent(slug)}/screenshot`; }
function pasteScreenshotUrl(slug) { return `${MEDIA_PUBLIC_URL}/p/${encodeURIComponent(slug)}/screenshot`; }
function pasteRawUrl(slug) { return `${MEDIA_PUBLIC_URL}/p/${encodeURIComponent(slug)}/raw`; }
function pasteRawUrl(slug) { return `${MEDIA_PUBLIC_URL}/p/${encodeURIComponent(slug)}/raw`; }
function thumbUrl(id) { return `${MEDIA_PUBLIC_URL}/t/${id}`; }
function thumbUrl(id) { return `${MEDIA_PUBLIC_URL}/t/${id}`; }
@@ -418,5 +417,5 @@ module.exports = {
@@ -418,5 +417,5 @@ module.exports = {
uploadFile, getFileMeta, deleteFile,
uploadFile, getFileMeta, deleteFile,
uploadThumbnail, generateThumbnail,
uploadThumbnail, generateThumbnail,
// URL builders
// URL builders
- vodPlaybackUrl, clipUrl, pasteUrl, pasteScreenshotUrl, pasteRawUrl, thumbUrl, fileUrl, screenshotUrl, publicUrl,
+ vodPlaybackUrl, clipUrl, pasteScreenshotUrl, pasteRawUrl, thumbUrl, fileUrl, screenshotUrl, publicUrl,
};
};