djoudi / Laravel-H5P

H5P Package for Laravel Framework
MIT License
21 stars 45 forks source link

The content directory was not created after saving #21

Open zw12579 opened 5 years ago

zw12579 commented 5 years ago

After I modify the source code, I can post the content and enter the edit page. However, when viewing, the image and video and the panorama image are not loaded. I finally found that the content directory was not created when the resource was created.

Can you help me, thanks

dailez commented 5 years ago

@zw12579 What did you change to get the code working? It seems that the latest version from djoudi is not up-to-date with the newest h5p library.

djoudi commented 5 years ago

is still not work ?

zw12579 commented 5 years ago

yes. It seems to be caused by this saveFile function in LaravelH5pStorage.php this function is removed in h5p-editor official library

image