Skip to content

Commit a80773e

Browse files
authored
Add binary variant of glTF files
glTF files can also be compressed making them smaller
1 parent ce37320 commit a80773e

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
@@ -2021,7 +2021,7 @@ class H5PCore {
20212021
'js/h5p-utils.js',
20222022
);
20232023

2024-
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';
2024+
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';
20252025
public static $defaultLibraryWhitelistExtras = 'js css';
20262026

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

0 commit comments

Comments
 (0)