Skip to content

Commit 871bd34

Browse files
committed
add class oharaEmbed gifv to imgur gifv video tag
Signed-off-by: Jessica González <suki@missallsunday.com>
1 parent e71aa11 commit 871bd34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OharaYTEmbed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ function OYTE_Gifv($data)
254254

255255
// Got something!
256256
else
257-
$result = '<video preload="auto" autoplay="autoplay" loop="loop" style="max-width: '. (empty($modSettings['OYTE_video_width']) ? '480' : $modSettings['OYTE_video_width']) .'px; max-height: '. (empty($modSettings['OYTE_video_height']) ? '270' : $modSettings['OYTE_video_height']) .'px;" src="//i.imgur.com/'. $videoID .'.webm">
257+
$result = '<video class="oharaEmbed gifv" preload="auto" autoplay="autoplay" loop="loop" style="max-width: '. (empty($modSettings['OYTE_video_width']) ? '480' : $modSettings['OYTE_video_width']) .'px; max-height: '. (empty($modSettings['OYTE_video_height']) ? '270' : $modSettings['OYTE_video_height']) .'px;" src="//i.imgur.com/'. $videoID .'.webm">
258258
<source src="//i.imgur.com/'. $videoID .'.webm" type="video/webm"></source>
259259
</video>';
260260

0 commit comments

Comments
 (0)