files_videoplayer icon indicating copy to clipboard operation
files_videoplayer copied to clipboard

Load scripts only when needed

Open juliusknorr opened this issue 7 years ago • 0 comments

Right now the javascript files from files_videoplayer are loaded for every app no matter if it is really needed.

https://github.com/nextcloud/files_videoplayer/blob/master/appinfo/app.php#L18-L19

Those should only be loaded for the files app similar to https://github.com/nextcloud/files_texteditor/blob/master/appinfo/app.php

juliusknorr avatar Feb 15 '18 16:02 juliusknorr