af_redditimgur: add <video> controls

This commit is contained in:
Andrew Dolgov 2015-07-06 21:31:46 +03:00
parent 0989732107
commit 5dcc7bf1f6

View file

@ -195,6 +195,7 @@ class Af_RedditImgur extends Plugin {
$video = $doc->createElement('video');
$video->setAttribute("autoplay", "1");
$video->setAttribute("controls", "1");
$video->setAttribute("loop", "1");
$source = $doc->createElement('source');