Options

Stop stripping HTML5 video tags (<video> and <source>) in HTML blocks

thenickdudethenickdude Registered Users Posts: 1,302 Major grins
edited October 18, 2013 in SmugMug Feature Requests
This request is for the SmugMug HTML validator/cleaner to allow HTML5 video tags (<video>, <source>, and possibly <audio> and <track>) in HTML blocks.

This would allow video to be played as part of design elements that the default SmugMug video block does not support, such as in page and element backgrounds, demonstrated here:

http://www.sherlockphotography.org/Japan/Current-trip/Todoroki-Ravine-Park

The unsupported code used there is:
<video loop autoplay style="top:-21%">
	<source src="http://s3.sherlockphotography.org/gallery-resources/todoroki-ravine-park/header.mp4?v=1" type="video/mp4">
	<source src="http://s3.sherlockphotography.org/gallery-resources/todoroki-ravine-park/header.ogv?v=1" type="video/ogg">
</video>

Allowing <audio> tags could potentially add support for background music playing, although without freeform-JS it might be impossible to provide pause controls which might render that tag unattractive for use until a dedicated Music widget is introduced.
Sign In or Register to comment.