Closed kitzberger closed 2 years ago
👍
Hi @kitzberger,
Thank you for your merge request. As commented in #47 I can't find any problem with media files currently. Furthermore your approach would not load the expected video but a hard-coreded one which might result in unexpected behaviour for other people. If you want to offer additional resource handler for filefill I highly recommend to join forces with @baschny (#44) and create an own extension for filefill resource handler that can be used by other people as well.
@IchHabRecht I discussed this with Philipp, and indeed my first impuls was also to integrate that into our own extension. But on the other hand, filefill is currently not shipping with any meaningful "replacement strategy" for video (or .txt files), and this would be a very simple one to start with. Currently the extension is not really "filefill", its only "imagefill" :) - and we thought that it would thus make sense to integrate this simple one to the core of the extension already, since it does not depend on any other external sources. The "hard-coded" video is configurable and it might be more expected to see a "video" instead of seeing an exception (or no content at all) where videos are expected (in case we do not have any fileadmin synchronisation from the live-system).
Add new resources handler 'ascii', to fake content of ascii files such as
*.youtube
and*.vimeo
Resolves: #47