diff --git a/src/gui/css/mainStyleSheet.tw b/src/gui/css/mainStyleSheet.tw
index 656cfc6d1c260d1b3350c1d7795dc6c9985387f8..c1d02bb8de247a545c9aebfd8a1ffe281c9944b6 100644
--- a/src/gui/css/mainStyleSheet.tw
+++ b/src/gui/css/mainStyleSheet.tw
@@ -4,6 +4,7 @@
 .passage {
     transition: none;
     -webkit-transition: none;
+	overflow-x: hidden;
 }
 
 .passage-in {
@@ -35,7 +36,7 @@
     float: left;
 }
 
-.smlImg > img {
+.smlImg > img, .smlImg > video {
 	height: auto;
 }
 
@@ -45,7 +46,7 @@
     float: right;
 }
 
-.medImg > img {
+.medImg > img, .medImg > video {
 	height: auto;
 }
 
@@ -74,7 +75,7 @@
 	z-index: 1;
 }
 
-.lrgRender > img {
+.lrgRender > img, .lrgRender > video {
 	margin-left: -150px;
 	height: 531px;
 	width: auto;
@@ -87,7 +88,7 @@
 	z-index: 1;
 }
 
-.lrgVector > img {
+.lrgVector > img, .lrgVector > video {
 	margin-left: -150px;
 	height: 600px;
 	width: auto;
diff --git a/src/uncategorized/addCustomDescriptors.tw b/src/uncategorized/addCustomDescriptors.tw
index a77e501ee94d9ecd03b6f6378fb40a4db022d6e2..fda5e0b4bfbdc82dd8c2e995cd6f8ac05e15cfec 100644
--- a/src/uncategorized/addCustomDescriptors.tw
+++ b/src/uncategorized/addCustomDescriptors.tw
@@ -143,5 +143,16 @@ Assign her a custom image:
 <<else>>
 	<<textbox "$activeSlave.customImage" "" "Add custom descriptors">>
 <</if>>
-<<link "Reset">><<set $activeSlave.customImage = 0>><<goto "Add custom descriptors">><</link>>
-<br>&nbsp;&nbsp;&nbsp;&nbsp;//File must be in .png format. Place file in the \resources folder. Enter the filename without the .png extension. For example, for a file with the path \bin\resources\headgirl.png, enter headgirl.//
+<<link "Reset">><<set $activeSlave.customImage = 0, $activeSlave.customImageFormat = "png">><<goto "Add custom descriptors">><</link>>
+<br>&nbsp;&nbsp;&nbsp;&nbsp;//File must be in// <tt><select id="customImageFormatSelector" style="border: none;"><option value="png">PNG</option><option value="jpg">JPG</option><option value="gif">GIF</option><option value="webm">WEBM</option></select></tt> //format. Place file in the \resources folder. Enter the filename without the extension. For example, for a file with the path// <tt>\bin\resources\headgirl.<span id="customImageFormatValue">png</span></tt>, //enter //<tt>headgirl</tt>.
+<<script>>
+jQuery(function() {
+	jQuery("#customImageFormatValue").text(State.variables.activeSlave.customImageFormat || "png");
+	jQuery("#customImageFormatSelector")
+		.val(State.variables.activeSlave.customImageFormat || "png")
+		.on("change", function(e) {
+			State.variables.activeSlave.customImageFormat = this.value;
+			jQuery("#customImageFormatValue").text(this.value);
+		});
+});
+<</script>>
\ No newline at end of file
diff --git a/src/utility/artWidgets.tw b/src/utility/artWidgets.tw
index ba97fac5f151a666e1b2dc81a2f1789c75424bc9..636de29f1587df15d02732c4673365dfbe14cb9b 100644
--- a/src/utility/artWidgets.tw
+++ b/src/utility/artWidgets.tw
@@ -53,16 +53,19 @@ $args[2]: icon UI Display for vector art, 1 for on.
 <<if ndef $args[0].customImage>><<set $args[0].customImage = 0>><</if>>
 <<if $args[0].customImage != 0>>
 
-<<set _fileName = "'resources/" + $args[0].customImage + ".png' ">>
+<<set _fileFormat = ($args[0].customImageFormat || "png"),
+	_fileName = "'resources/" + $args[0].customImage + "." + _fileFormat + "' ",
+	_fileTypeStart = (_fileFormat === "webm" ? "video loop autoplay" : "img"),
+	_fileTypeEnd = (_fileFormat === "webm" ? "</video>" : "")>>
 
 <<if $args[1] == 3>>
-	<<print "<img src=" + _fileName + "style='float:right; border:3px hidden'/>">>
+	<<print "<" + _fileTypeStart + " src=" + _fileName + "style='float:right; border:3px hidden'>" + _fileTypeEnd>>
 <<elseif $args[1] == 2>>
-	<<print "<img src=" + _fileName + "style='float:right; border:3px hidden' width='300' height='300'/>">>
+	<<print "<" + _fileTypeStart + " src=" + _fileName + "style='float:right; border:3px hidden' width='300' height='300'>" + _fileTypeEnd>>
 <<elseif $args[1] == 1>>
-	<<print "<img src=" + _fileName + "style='float:left; border:3px hidden' width='150' height='150'/>">>
+	<<print "<" + _fileTypeStart + " src=" + _fileName + "style='float:left; border:3px hidden' width='150' height='150'>" + _fileTypeEnd>>
 <<else>>
-	<<print "<img src=" + _fileName + "style='float:left; border:3px hidden' width='120' height='120'/>">>
+	<<print "<" + _fileTypeStart + " src=" + _fileName + "style='float:left; border:3px hidden' width='120' height='120'>" + _fileTypeEnd>>
 <</if>>
 
 <<elseif $imageChoice == 1>> /* VECTOR ART BY NOX */