af_redditimgur: add <video> controls

This commit is contained in:
Andrew Dolgov 2015-07-06 21:31:46 +03:00
parent 0989732107
commit 5dcc7bf1f6
1 changed files with 1 additions and 0 deletions
plugins/af_redditimgur

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');