Video plugin: show video controls

Previously this would have to be toggled in the right-click menu on Chrome, etc.
This commit is contained in:
Michael Hazell 2018-06-10 16:49:11 -04:00
parent 7471df0f2a
commit dcba80f141
No known key found for this signature in database
GPG key ID: FE75457D86B20A0D

View file

@ -345,7 +345,7 @@ plugins.factory('userPlugins', function() {
}
return function() {
var element = this.getElement(), src;
var velement = angular.element('<video autoplay loop muted></video>')
var velement = angular.element('<video autoplay controls loop muted></video>')
.addClass('embed')
.attr('width', '560');
// imgur doesn't always have webm for gifv so add sources for webm and mp4