@diplodoc/transform
Version:
A simple transformer of text in YFM (Yandex Flavored Markdown) to HTML
30 lines • 1.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaults = exports.VideoService = void 0;
const utils_1 = require("./utils");
/** Supported services */
var VideoService;
(function (VideoService) {
VideoService["YouTube"] = "youtube";
VideoService["Vimeo"] = "vimeo";
VideoService["Vine"] = "vine";
VideoService["Prezi"] = "prezi";
VideoService["Osf"] = "osf";
VideoService["Yandex"] = "yandex";
VideoService["Vk"] = "vk";
VideoService["Rutube"] = "rutube";
VideoService["url"] = "url";
})(VideoService = exports.VideoService || (exports.VideoService = {}));
exports.defaults = {
videoUrl: utils_1.videoUrl,
youtube: { width: 640, height: 390 },
vimeo: { width: 500, height: 281 },
vine: { width: 600, height: 600, embed: 'simple' },
prezi: { width: 550, height: 400 },
osf: { width: '100%', height: '100%' },
yandex: { width: 640, height: 390 },
vk: { width: 640, height: 390 },
rutube: { width: 640, height: 390 },
url: { width: 640, height: 390 },
};
//# sourceMappingURL=const.js.map