Merge pull request #1014 from Techman-/master+videocontrols
Video plugin: show video controls
This commit is contained in:
commit
88a8265661
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ plugins.factory('userPlugins', function() {
|
||||||
}
|
}
|
||||||
return function() {
|
return function() {
|
||||||
var element = this.getElement(), src;
|
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')
|
.addClass('embed')
|
||||||
.attr('width', '560');
|
.attr('width', '560');
|
||||||
// imgur doesn't always have webm for gifv so add sources for webm and mp4
|
// imgur doesn't always have webm for gifv so add sources for webm and mp4
|
||||||
|
|
Loading…
Reference in a new issue