Script to enhance videos!
Create your own envideo
Documentation
Captions
c.text = "";
c.color = 0xFFFFFF; // for html use "#FFFFFF" format
c.verticalAlign = "bottom";
c.borderColor = 0x000000;
c.fontFamily = "Arial";
c.fontSize = 24;
c.align = "center";
c.horizontalCenter = 0;
c.captionTop = null;
c.captionBottom = 7;
c.captionHeight = 20;
c.htmlDivId = null;
Dual
c.rightOnTop = true;
// Right layer
c.rightLayerAlpha = 0;
c.rightLayerGlowColor = 0x000000;
c.rightLayerGlowBlur = 0;
c.rightLayerScale = 0.1;
c.rightLayerX = 100;
c.rightLayerY = -50;
// Left layer
c.leftLayerAlpha = 1;
c.leftLayerGlowColor = 0x000000;
c.leftLayerGlowBlur = 0;
c.leftLayerScale = 1;
c.leftLayerX = 0;
c.leftLayerY = 0;
Image
c.imageUrl = "";
c.imageTop = null;
c.imageBottom = null;
c.imageRight = null;
c.imageLeft = null;
c.imageHeight = 100;
c.imageWidth = 100;
c.alpha = null;
c.fit = "width";
Video, YouTubeVideo
c.videoId = ""; // URL for Video; youtube video id, eg "skd234kskd" for youtube
c.baseTime = 0;
All layer types
renderMethod: layer / html, // also set htmlDivId if set to html and add custom html below with that div
alpha: 0,
height: 100,
width: 100,
x: 0,
y: 0
Age of Conan - Swimming in Moonlight
envideo:
title: Age of Conan
height: 450
width: 750
layers:
- [vid1, Video, {videoId: "http://tgngames.com/videos/age-of-conan/swimming-in-moonlight/swimming-in-moonlight.f4v", aspectRatio: "16:9"}]
- [logo, Image, {imageUrl: "http://www.thegamenet.com/_/rsrc/1256065900159/config/app/images/customBackground/44d613c3b0d1aecd.jpg", imageTop: 1, imageRight: 1, imageWidth: 30, alpha: 0.7}]
- [cap, Caption, {captionBottom: 10, align: center, color: 0xffffff }]
# - [cap, Caption, {captionBottom: 10, align: center, color: 0xffffff, renderMethod: html, htmlDivId: captions }]
events:
- [0, logo, on]
- [0, vid1, on]
- [0, cap, on, {text: "Age of Conan\nSwimming in Moonlight video"}]
- [3, cap, on, {text: brought to you by}]
- [6, cap, on, {text: THEGAMENET}]
- [11, cap, off]
- [100, vid1, off]