Skip to content

Commit eeefc12

Browse files
authored
Merge pull request #85 from otacke/add-gltf-file-format
Add gltf to list of allowed file extensions
2 parents 4599291 + a80773e commit eeefc12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

h5p.classes.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2083,7 +2083,7 @@ class H5PCore {
20832083
'js/h5p-utils.js',
20842084
);
20852085

2086-
public static $defaultContentWhitelist = 'json png jpg jpeg gif bmp tif tiff svg eot ttf woff woff2 otf webm mp4 ogg mp3 m4a wav txt pdf rtf doc docx xls xlsx ppt pptx odt ods odp xml csv diff patch swf md textile vtt webvtt';
2086+
public static $defaultContentWhitelist = 'json png jpg jpeg gif bmp tif tiff svg eot ttf woff woff2 otf webm mp4 ogg mp3 m4a wav txt pdf rtf doc docx xls xlsx ppt pptx odt ods odp xml csv diff patch swf md textile vtt webvtt gltf glb';
20872087
public static $defaultLibraryWhitelistExtras = 'js css';
20882088

20892089
public $librariesJsonData, $contentJsonData, $mainJsonData, $h5pF, $fs, $h5pD, $disableFileCheck;

0 commit comments

Comments
 (0)