json data of video library is generated now by library.php