Stop stripping HTML5 video tags (<video> and <source>) in HTML blocks
thenickdude
Registered Users Posts: 1,302 Major grins
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:
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.
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.
https://www.sherlockphotography.org/
Please check out my gallery of customisations for the New SmugMug, more to come!
Please check out my gallery of customisations for the New SmugMug, more to come!
0