Commit d337ebf8 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1778792: PDF.js does not have the presentation mode option in Firefox and IE"

parents 342d97db 97ad9af7
......@@ -73,7 +73,7 @@ class PluginBlocktypePdf extends MaharaCoreBlocktype {
else if ($language == 'en') {
$language = 'en-GB';
}
$result = '<iframe src="' . $urlbase . 'artefact/file/blocktype/pdf/viewer.php?editing=' . $editing . '&ingroup=' . !empty($group) . '&file=' . $artefactid . '&lang=' . $language . '&view=' . $instance->get('view')
$result = '<iframe allowfullscreen src="' . $urlbase . 'artefact/file/blocktype/pdf/viewer.php?editing=' . $editing . '&ingroup=' . !empty($group) . '&file=' . $artefactid . '&lang=' . $language . '&view=' . $instance->get('view')
. ($versioning ? '&versioning=true' : '')
. '" class="pdfiframe"></iframe>';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment