{"id":221737,"date":"2014-05-04T22:21:02","date_gmt":"2014-05-04T18:21:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=221737"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=221737","title":{"rendered":"<span class=\"post_title\">Mediabox<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \tMediabox \u2013 GPL3 web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b, \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c audio \u0438 video \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 <a href=\"http:\/\/mediaelementjs.com\">medialement js<\/a>, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u043c\u0435\u0442\u043a\u0438 \u043d\u0430 \u043d\u0438\u0445, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u0435\u0433\u0438 \u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/ad1\/c50\/c40\/ad1c50c40c818de9124b0f70ed5c26c7.png\"\/><\/p>\n<p>  Mediabox \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0438\u0434\u0435\u0438 \u043f\u0440\u043e\u0448\u043b\u044b\u0445 Ostora <a href=\"https:\/\/github.com\/Zazza\/fm\">FM<\/a> \u0438 <a href=\"https:\/\/github.com\/Zazza\/photo\">Photo<\/a>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u043c Mediabox \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Xvid.<\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0441\u0442\u0430\u0434\u0438\u0438 beta \u0443\u0436\u0435 \u0434\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, \u043d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d\u043e open source \u0434\u0430\u0432\u043d\u043e \u043f\u043e\u0440\u0430 \u0435\u0433\u043e \u0432\u044b\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u043e\u0431\u0449\u0438\u0439 \u0434\u043e\u0441\u0442\u0443\u043f. \u0412\u0441\u044f\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438, \u043f\u0440\u0430\u0432\u043a\u0438 \u0438 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f.<br \/>  \u041b\u043e\u0433\u043e\u0442\u0438\u043f, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0430\u043c\u0438 CSS \u0441\u0442\u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u044b \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0435\u0439 XVID \u0438 \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c\u0438.<\/p>\n<p>  \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0442\u0440\u0451\u0445 \u0447\u0430\u0441\u0442\u0435\u0439:<\/p>\n<p>  1) <b>Frontend <\/b>. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a:<br \/>   \u2014 Jquery<br \/>   \u2014 Kendo UI Web, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u0432\u0435\u0440\u0441\u0438\u044e 2013.3.1119.open-source (https:\/\/github.com\/Zazza\/Kenju)<br \/>   \u2014 bootstrap2 \u2013 JS \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f dropdown<br \/>   \u2014 medialement \u2013 \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f audio \u0438 video \u0444\u0430\u0439\u043b\u043e\u0432<br \/>   \u2014 jquery.Jcrop \u2013 \u0447\u0442\u043e\u0431\u044b \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u043c\u0435\u0442\u043a\u0438 \u043d\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u0445<br \/>   \u2014 jquery.timer.js \u2013 \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f swipebox<br \/>   \u2014 jquery.swipebox.js \u2013 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u043d\u0430 \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d \u0438 slideshow<br \/>   \u2014 shift.jquery.js \u2013 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c (CTRL, SHIFL)<br \/>   \u2014 load-image.js \u2013 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 preview \u0438\u0437\u043e\u0431\u0440\u0430\u0434\u0435\u043d\u0438\u0439 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 frontend<br \/>   \u2014 webtoolkit.url.js \u2013 UTF8 URL decode<\/p>\n<p>  \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e JS \u0444\u0430\u0439\u043b\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f RequireJS.<br \/>  Frontend \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 Backend \u0438 Storage \u0447\u0435\u0440\u0435\u0437 API.<\/p>\n<p>  2) <b>Backend<\/b>. \u0425\u0440\u0430\u043d\u0438\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u0444\u0430\u0439\u043b\u0430\u0445 (\u0432\u043a\u043b\u044e\u0447\u0430\u044f preview), \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0440\u0435\u0436\u0438\u043c \u0438 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438.<br \/>  \u041f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e backend \u0431\u044b\u043b \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 JS (<a href=\"http:\/\/threecrickets.com\/prudence\/\">Prudence<\/a>). Frontend \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u044c\u044e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0441\u043b\u0430\u0431\u043e \u0441\u0432\u044f\u0437\u0430\u043d \u0441 backend. \u0422\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434, \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e, \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b \u0441\u043e\u0437\u0434\u0430\u0442\u044c backend \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 PHP, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Yii. \u041f\u0435\u0440\u0435\u043d\u043e\u0441 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 PHP \u0431\u044b\u043b \u0441\u0434\u0435\u043b\u0430\u043d \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0441\u043c\u043e\u0433\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 mediabox. \u042f \u043d\u0435 \u044f\u0432\u043b\u044f\u044e\u0441\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043f\u043e\u043a\u043b\u043e\u043d\u043d\u0438\u043a\u043e\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a Yii, \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441 \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c. \u041d\u043e \u0442\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u043e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043d\u0443\u0436\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043c\u043e\u0449\u043d\u043e\u043c\u0443 Active Record \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u0421\u0445\u0435\u043c\u0430 \u0411\u0414:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/097\/67a\/ee6\/09767aee634c0c2236ecd0ad1d26a3d6.png\"\/><\/p>\n<p>  3) <b>Storage<\/b>. \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c\u0441\u044f, \u043d\u0430 \u043b\u044e\u0431\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u043c \u0434\u043b\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f mediabox. \u0417\u0430\u0434\u0430\u0447\u0430 storage \u0445\u0440\u0430\u043d\u0438\u0442\u044c, \u0447\u0438\u0442\u0430\u0442\u044c \u0438 \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0432 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u0422\u0435\u043e\u0440\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438 storage \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u0430\u043a \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0438\u043b\u0438 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u0443\u044e \u0424\u0421, \u0442\u0430\u043a \u0438 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430: Amazon S3, Google Drive, Yandex \u0434\u0438\u0441\u043a \u0438 \u0442.\u043f.<br \/>  &lt;a href=\u201d <a href=\"https:\/\/github.com\/Zazza\/mediabox-storage\">github.com\/Zazza\/mediabox-storage<\/a>\u201d&gt;Simple Mediabox Storage \u2014 PHP \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a Silex. \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0411\u0414, \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c. API \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f Storage, \u043a\u0430\u043a \u0441 \u0411\u0414, \u0442\u0430\u043a \u0438 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u043e\u0431\u043b\u0430\u043a\u0435.<\/p>\n<h5>Demo<\/h5>\n<p>  <b>URL:<\/b> <a href=\"http:\/\/mediabox.8x86.ru\/\">mediabox.8&#215;86.ru\/<\/a><br \/>  <b>Login\/Password:<\/b> test\/test<\/p>\n<h5>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h5>\n<p>  Github: <a href=\"https:\/\/github.com\/Zazza\/mediabox-php-yii\">github.com\/Zazza\/mediabox-php-yii<\/a><\/p>\n<p>  \u0418\u0437 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 SQL \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0411\u0414 \u0444\u0430\u0439\u043b\u044b mediabox-structure.sql \u0438 mediabox-data.sql.<\/p>\n<p>  \u0417\u0430\u0442\u0435\u043c \u0432 \/app\/config\/main.php \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c:  <\/p>\n<pre><code class=\"php\">'db'=&gt;array(     'connectionString' =&gt; 'mysql:host=localhost;dbname=mediabox',     'emulatePrepare' =&gt; true,     'username' =&gt; 'mediabox',     'password' =&gt; 'mediabox',     'charset' =&gt; 'utf8', ), <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b backend \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u0444\u0430\u0439\u043b\u044b \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 YII, \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f framework \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043c \u0436\u0435, \u0433\u0434\u0435 app \u0438 web.<\/p>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Simple Storage:<br \/>  Github: <a href=\"https:\/\/github.com\/Zazza\/mediabox-storage\">github.com\/Zazza\/mediabox-storage<\/a><\/p>\n<pre><code class=\"bash\">cd mediabox-storage\/silex\/ php composer.phar install <\/code><\/pre>\n<h5>API<\/h5>\n<h6>\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430\u043c\u0438<\/h6>\n<table>\n<tr>\n<td><b>URL<\/b><\/td>\n<td><b>\u0417\u0430\u043f\u0440\u043e\u0441<\/b><\/td>\n<td><b>\u041e\u0442\u0432\u0435\u0442<\/b><\/td>\n<td><b>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/b><\/td>\n<\/tr>\n<tr>\n<td>\/fm\/fs\/<\/td>\n<td>$_GET[\u00abid\u00bb]<\/td>\n<td>JSON<br \/>  {<br \/>  text: \u2026,<br \/>  id: \u2026,<br \/>  hasChildren: [true or false],<br \/>  spriteCssClass: &quot;[folder]&quot;<br \/>  }  <\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0439 \u0434\u043b\u044f treeview<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/chdir\/<\/td>\n<td>$_GET[\u00abid\u00bb]<\/td>\n<td>*File JSON Object<\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/upload\/<\/td>\n<td>$_GET[\u00abfile\u00bb]<br \/>  $_GET[\u00absize\u00bb] <br \/>  $_GET[\u00abextension\u00bb]<\/td>\n<td>*File JSON Object<\/td>\n<td>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0432 \u0411\u0414 \u0437\u0430\u043f\u0438\u0441\u044c \u043e \u043d\u043e\u0432\u043e\u043c \u0444\u0430\u0439\u043b\u0435<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/thumb\/[FILE_ID]\/<\/td>\n<td>$_POST[\u00abdata\u00bb]<\/td>\n<td><\/td>\n<td>\u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 preview, \u0435\u0441\u043b\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u2014 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/getThumb\/<\/td>\n<td>$_GET[\u00abname\u00bb], \u0433\u0434\u0435 name = file_id<\/td>\n<td>Content-Type: image\/png<br \/>  Binary data<\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 preview<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/copy\/<\/td>\n<td>$_POST[\u00abfile\u00bb](\u043c\u0431 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e)<br \/>  $_POST[\u00abfolder\u00bb](\u043c\u0431 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e)<\/td>\n<td><\/td>\n<td>\u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0432 \u0441\u0435\u0441\u0441\u0438\u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u0434\u043b\u044f \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/restore\/<\/td>\n<td>$_POST[\u00abfile\u00bb](\u043c\u0431 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e)<br \/>  $_POST[\u00abfolder\u00bb](\u043c\u0431 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e)<\/td>\n<td><\/td>\n<td>\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0438\u0437 \u043a\u043e\u0440\u0437\u0438\u043d\u044b<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/getTypesNum\/<\/td>\n<td>$_GET[\u00abid\u00bb]<\/td>\n<td>JSON<br \/>  {<br \/>  all =&gt; [\u0432\u0441\u0435\u0433\u043e \u0444\u0430\u0439\u043b\u043e\u0432],<br \/>  image =&gt; [\u043a\u043e\u043b-\u0432\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439],<br \/>  video =&gt; [\u043a\u043e\u043b-\u0432\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u0432\u0438\u0434\u0435\u043e],<br \/>  audio =&gt; [\u043a\u043e\u043b-\u0432\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u0430\u0443\u0434\u0438\u043e],<br \/>  other =&gt; [\u043a\u043e\u043b-\u0432\u043e \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432],<br \/>  path =&gt; [HTML STRING]<br \/>  }<\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043a\u043e\u043b-\u0432\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u043f \u043e \u0442\u0438\u043f\u0430\u043c \u0438 HTML \u0441\u0442\u0440\u043e\u043a\u0443 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u043f\u0443\u0442\u0438 \u0432 \u0424\u0421<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/create\/<\/td>\n<td>$_GET[\u00abname\u00bb]<\/td>\n<td>**Folder JSON Object<\/td>\n<td>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0430\u043f\u043a\u0443<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/getTrash\/<\/td>\n<td>$_GET[\u00abid\u00bb](\u043c\u043d\u043e\u0433\u043e)<\/td>\n<td>*File JSON Object<\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0435<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/fileToTrash\/<\/td>\n<td>$_GET[\u00abid\u00bb](\u043c\u043d\u043e\u0433\u043e)<\/td>\n<td><\/td>\n<td>\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/folderToTrash\/<\/td>\n<td>$_GET[\u00abid\u00bb](\u043c\u043d\u043e\u0433\u043e)<\/td>\n<td><\/td>\n<td>\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/remove\/<\/td>\n<td>$_GET[\u00abid\u00bb]<\/td>\n<td><\/td>\n<td>\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0438\u0437 \u0411\u0414 \u0438 storage<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/rmFolder\/<\/td>\n<td>$_GET[\u00abid\u00bb]<\/td>\n<td><\/td>\n<td>\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0438\u0437 \u0411\u0414 \u0438 storage  <\/td>\n<\/tr>\n<tr>\n<td>\/fm\/removeFileByName\/<\/td>\n<td>$_GET[\u00abname\u00bb]<\/td>\n<td>PLAIN TEXT<br \/>  return file_id<\/td>\n<td>\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0438\u0437 \u0411\u0414 \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u043f\u043e \u0438\u043c\u0435\u043d\u0438 (\u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u043e\u0442\u043c\u0435\u043d\u044b \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438)<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/buffer\/<\/td>\n<td>*File JSON Object<\/td>\n<td><\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u0431\u0443\u0444\u0435\u0440\u0435 (\u0434\u043b\u044f \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f)<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/past\/<\/td>\n<td><\/td>\n<td><\/td>\n<td>\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u0442 \u0444\u0430\u0439\u043b\u044b \u0438\u0437 \u0441\u0435\u0441\u0441\u0438\u0438 \u0432 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/deleteFileFromBuffer\/  <\/td>\n<td>$_GET[\u00abid\u00bb]<\/td>\n<td>*File JSON Object<\/td>\n<td>\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0438\u0437 \u0431\u0443\u0444\u0435\u0440\u0430 (\u043d\u0430 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435)<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/clearBuffer\/<\/td>\n<td><\/td>\n<td><\/td>\n<td>\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0431\u0443\u0444\u0435\u0440(\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435)  <\/td>\n<\/tr>\n<tr>\n<td>\/fm\/sort\/<\/td>\n<td>$_GET[\u00abtype\u00bb]<\/td>\n<td><\/td>\n<td>\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0443 \u0444\u0430\u0439\u043b\u043e\u0432<\/td>\n<\/tr>\n<tr>\n<td>\/fm\/view\/<\/td>\n<td>$_GET[\u00abview\u00bb] <\/td>\n<td><\/td>\n<td>\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0435\u0436\u0438\u043c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432  <\/td>\n<\/tr>\n<tr>\n<td>\/fm\/types\/<\/td>\n<td>$_GET[\u00abother\u00bb]<br \/>  $_GET[\u00abimage\u00bb]<br \/>  $_GET[\u00abvideo\u00bb]<br \/>  $_GET[\u00abmusic\u00bb]<\/td>\n<td><\/td>\n<td>\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u2013 \u043a\u0430\u043a\u0438\u0435 \u0442\u0438\u043f\u044b \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c, \u0430 \u043a\u0430\u043a\u0438\u0435 \u043d\u0435\u0442<\/td>\n<\/tr>\n<\/table>\n<p>  *File JSON Object:  <\/p>\n<pre><code class=\"javascript\">{     id: \u2026,     name: \u2026,     shortname: \u2026,     obj: file\u201d,      type: [video,audio,\u2026],     mimetype: \u2026,     size: \u2026,     date: \u2026,     ico: \u2026,     src: \u2026,     ext: \u2026, } <\/code><\/pre>\n<p>  **Folder JSON Object:  <\/p>\n<pre><code class=\"nginx\">{     Id: \u2026,     name: \u2026,     shortname: \u2026,     obj: &quot;folder&quot;,     date: \u2026,     size: \u2026,     ico: \u2026,     parent: [ID \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0432\u044b\u0448\u0435 \u0443\u0440\u043e\u0432\u043d\u0435\u043c] } <\/code><\/pre>\n<h6>\u0410\u0443\u0434\u0438\u043e<\/h6>\n<table>\n<tr>\n<td><b>URL<\/b><\/td>\n<td><b>\u0417\u0430\u043f\u0440\u043e\u0441<\/b><\/td>\n<td><b>\u041e\u0442\u0432\u0435\u0442<\/b><\/td>\n<td><b>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/b><\/td>\n<\/tr>\n<tr>\n<td>\/audio\/saveList\/<\/td>\n<td>$_POST[\u00abtrack\u00bb](\u043c\u043d\u043e\u0433\u043e)<\/td>\n<td>\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0442\u0440\u0435\u043a \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442\u0435<\/td>\n<\/tr>\n<tr>\n<td>\/audio\/createList\/<\/td>\n<td>$_GET[\u00abname\u00bb]<\/td>\n<td><\/td>\n<td>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442<\/td>\n<\/tr>\n<tr>\n<td>\/audio\/showList\/<\/td>\n<td>JSON<br \/>  {<br \/>  Id: \u2026,<br \/>  name: \u2026<br \/>  }<\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442\u043e\u0432<\/td>\n<\/tr>\n<tr>\n<td>\/audio\/getTracksList\/<\/td>\n<td>JSON<br \/>  {<br \/>  Id: \u2026,<br \/>  name: \u2026<br \/>  }<\/td>\n<td><\/td>\n<td>\u0422\u0435\u043a\u0443\u0449\u0438\u0435 \u0442\u0440\u0435\u043a\u0438 \u0432 default \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442\u0435<\/td>\n<\/tr>\n<tr>\n<td>\/audio\/setPlaylist\/<\/td>\n<td>$_GET[\u00abplaylist-id\u00bb]<\/td>\n<td><\/td>\n<td>\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043b\u0435\u043b\u0438\u0441\u0442 \u0442\u0435\u043a\u0443\u0449\u0438\u043c<\/td>\n<\/tr>\n<tr>\n<td>\/audio\/deletePlaylist\/<\/td>\n<td>$_GET[\u00abplaylist-id\u00bb]<\/td>\n<td><\/td>\n<td>\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442<\/td>\n<\/tr>\n<tr>\n<td>\/audio\/volume\/<\/td>\n<td>$_GET[\u00ablevel\u00bb]<\/td>\n<td>\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c<\/td>\n<\/tr>\n<\/table>\n<h6>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f<\/h6>\n<p>  <\/p>\n<table>\n<tr>\n<td><b>URL<\/b><\/td>\n<td><b>\u0417\u0430\u043f\u0440\u043e\u0441<\/b><\/td>\n<td><b>\u041e\u0442\u0432\u0435\u0442<\/b><\/td>\n<td><b>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/b><\/td>\n<\/tr>\n<tr>\n<td>\/image\/setCrop\/<\/td>\n<td>$_GET[&quot;_id&quot;]<br \/>  $_GET[\u00abdesc\u00bb]<br \/>  $_GET[\u00abws\u00bb]<br \/>  $_GET[\u00abx1\u00bb]<br \/>   $_GET[\u00abx2\u00bb]<br \/>  $_GET[\u00aby1\u00bb]<br \/>   $_GET[\u00aby2\u00bb]<\/td>\n<td><\/td>\n<td>\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u043e\u043c\u0435\u0442\u043a\u0443 \u043d\u0430 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438<\/td>\n<\/tr>\n<tr>\n<td>\/image\/addTag\/<\/td>\n<td>$_GET[&quot;_id&quot;]<br \/>  $_GET[\u00abtag\u00bb]<\/td>\n<td><\/td>\n<td>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0435\u0433<\/td>\n<\/tr>\n<tr>\n<td>\/image\/getCrops\/ <\/td>\n<td>$_GET[\u00abid\u00bb]<\/td>\n<td> JSON<br \/>  {<br \/>  x1: \u2026,<br \/>  x2: \u2026, <br \/>  y1: \u2026,<br \/>  y2: \u2026,<br \/>  ws: [\u0432\u044b\u0441\u043e\u0442\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u043a\u043e\u0433\u0434\u0430 \u0441\u0442\u0430\u0432\u0438\u043b\u0430\u0441\u044c \u043f\u043e\u043c\u0435\u0442\u043a\u0430],<br \/>  description: \u2026,<br \/>  }<\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u043e\u043c\u0435\u0442\u043a\u0438 (\u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0438 \u0442\u0435\u043a\u0441\u0442) \u0434\u043b\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f<\/td>\n<\/tr>\n<tr>\n<td>\/image\/getTags\/<\/td>\n<td>$_GET[\u00abid\u00bb]<\/td>\n<td>JSON<br \/>  {<br \/>  tag: \u2026<br \/>  }<\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0435\u0433\u0438 \u0434\u043b\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f<\/td>\n<\/tr>\n<tr>\n<td>\/image\/addComment\/<\/td>\n<td>$_GET[\u00abid\u00bb]<br \/>  $_GET[\u00abtext\u00bb]<\/td>\n<td><\/td>\n<td>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439<\/td>\n<\/tr>\n<tr>\n<td>\/image\/getComments\/<\/td>\n<td>$_GET[\u00abid\u00bb]<\/td>\n<td> JSON<br \/>  {<br \/>  text: \u2026,<br \/>  user: \u2026,<br \/>  timestamp: \u2026,<br \/>  }<\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u0434\u043b\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f<\/td>\n<\/tr>\n<tr>\n<td>\/image\/getAllTags\/ <\/td>\n<td><\/td>\n<td>JSON<br \/>  {<br \/>  \u0442\u0435\u0433, \u0442\u0435\u0433,\u2026<br \/>  }<\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u0442\u0435\u0433\u043e\u0432<\/td>\n<\/tr>\n<tr>\n<td>\/image\/getAllCrops\/<\/td>\n<td><\/td>\n<td> JSON<br \/>  {<br \/>  \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043a\u0438, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043a\u0438,\u2026<br \/>  }<\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u043f\u043e\u043c\u0435\u0442\u043e\u043a<\/td>\n<\/tr>\n<tr>\n<td>\/image\/selTag\/<\/td>\n<td>$_GET[\u00abtag\u00bb]<\/td>\n<td><\/td>\n<td>\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0442\u0435\u0433 \u2013 \u0432\u0435\u0440\u043d\u0451\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0442\u0435\u0433\u043e\u0432 \u0438 \u043f\u043e\u043c\u0435\u0442\u043e\u043a \u0434\u043b\u044f \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u043b\u044f \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0445\u0441\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f<\/td>\n<\/tr>\n<tr>\n<td>\/image\/selCrop\/<\/td>\n<td>$_GET[\u00abcrop\u00bb]<\/td>\n<td><\/td>\n<td>\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u043e\u043c\u0435\u0442\u043a\u0443 \u2013 \u0432\u0435\u0440\u043d\u0451\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0442\u0435\u0433\u043e\u0432 \u0438 \u043f\u043e\u043c\u0435\u0442\u043e\u043a \u0434\u043b\u044f \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u043b\u044f \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0445\u0441\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f<\/td>\n<\/tr>\n<tr>\n<td>\/image\/getFsImg\/<\/td>\n<td><\/td>\n<td>*File JSON Object:<br \/>  {<br \/>  id: \u2026,<br \/>  name: \u2026,<br \/>  shortname: \u2026,<br \/>  obj: file\u201d, <br \/>  type: [video,audio,\u2026],<br \/>  mimetype: \u2026,<br \/>  size: \u2026,<br \/>  date: \u2026,<br \/>  ico: \u2026,<br \/>  src: \u2026,<br \/>  ext: \u2026,<br \/>  }<\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u044e\u0449\u0438\u0445 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u043c \u0442\u0435\u0433\u0430\u043c \u0438 \u043f\u043e\u043c\u0435\u0442\u043a\u0430\u043c.<\/td>\n<\/tr>\n<\/table>\n<h6>API Storage<\/h6>\n<table>\n<tr>\n<td><b>URL<\/b><\/td>\n<td><b>\u0417\u0430\u043f\u0440\u043e\u0441<\/b><\/td>\n<td><b>\u041e\u0442\u0432\u0435\u0442<\/b><\/td>\n<td><b>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/b><\/td>\n<\/tr>\n<tr>\n<td>\/save\/<\/td>\n<td>$_POST[\u00abid\u00bb]<br \/>  $_POST[\u00abname\u00bb] + \u0444\u0430\u0439\u043b<\/td>\n<td>\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0444\u0430\u0439\u043b<\/td>\n<\/tr>\n<tr>\n<td>\/get\/<\/td>\n<td>$_GET[\u00abid\u00bb]<\/td>\n<td>File streaming<\/td>\n<td>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0444\u0430\u0439\u043b<\/td>\n<\/tr>\n<tr>\n<td>\/remove\/ <\/td>\n<td>$_GET[\u00abid\u00bb]<\/td>\n<td><\/td>\n<td>\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0444\u0430\u0439\u043b<\/td>\n<\/tr>\n<\/table>\n<p>  P.S.<br \/>  <a href=\"https:\/\/github.com\/Zazza\/mediabox\">\u0421\u0442\u0430\u0440\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f<\/a> \u0441 \u0434\u0440\u0443\u0433\u0438\u043c backend.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/221737\/\"> http:\/\/habrahabr.ru\/post\/221737\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \tMediabox \u2013 GPL3 web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b, \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c audio \u0438 video \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 <a href=\"http:\/\/mediaelementjs.com\">medialement js<\/a>, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u043c\u0435\u0442\u043a\u0438 \u043d\u0430 \u043d\u0438\u0445, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u0435\u0433\u0438 \u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/ad1\/c50\/c40\/ad1c50c40c818de9124b0f70ed5c26c7.png\"\/><\/p>\n<p>  Mediabox \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0438\u0434\u0435\u0438 \u043f\u0440\u043e\u0448\u043b\u044b\u0445 Ostora <a href=\"https:\/\/github.com\/Zazza\/fm\">FM<\/a> \u0438 <a href=\"https:\/\/github.com\/Zazza\/photo\">Photo<\/a>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u043c Mediabox \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Xvid.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-221737","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/221737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=221737"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/221737\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=221737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=221737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=221737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}