Fixes #3297 - Videos embedded in Knowledge Base do not allow full screen mode
This commit is contained in:
parent
f851b58062
commit
024000b98a
2 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ class App.KnowledgeBaseReaderController extends App.Controller
|
|||
|
||||
return match unless url
|
||||
|
||||
"<div class='videoWrapper'><iframe id='#{settings.provider}#{settings.id}' type='text/html' src='#{url}' frameborder='0'></iframe></div>"
|
||||
"<div class='videoWrapper'><iframe allowfullscreen id='#{settings.provider}#{settings.id}' type='text/html' src='#{url}' frameborder='0'></iframe></div>"
|
||||
|
||||
renderAttachments: (attachments) ->
|
||||
@answerAttachments.html App.view('generic/attachments')(
|
||||
|
|
|
@ -44,7 +44,7 @@ module KnowledgeBaseRichTextHelper
|
|||
|
||||
return match if !url
|
||||
|
||||
"<div class='videoWrapper'><iframe id='#{settings[:provider]}#{settings[:id]}' type='text/html' src='#{url}' frameborder='0'></iframe></div>"
|
||||
"<div class='videoWrapper'><iframe allowfullscreen id='#{settings[:provider]}#{settings[:id]}' type='text/html' src='#{url}' frameborder='0'></iframe></div>"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue