af_redditimgur: add <video> controls
This commit is contained in:
parent
0989732107
commit
5dcc7bf1f6
|
@ -195,6 +195,7 @@ class Af_RedditImgur extends Plugin {
|
||||||
|
|
||||||
$video = $doc->createElement('video');
|
$video = $doc->createElement('video');
|
||||||
$video->setAttribute("autoplay", "1");
|
$video->setAttribute("autoplay", "1");
|
||||||
|
$video->setAttribute("controls", "1");
|
||||||
$video->setAttribute("loop", "1");
|
$video->setAttribute("loop", "1");
|
||||||
|
|
||||||
$source = $doc->createElement('source');
|
$source = $doc->createElement('source');
|
||||||
|
|
Loading…
Reference in New Issue