About this plugin
LF Drive connects WordPress to the LF Drive cloud file storage and sharing service.
Browse your library, search files, choose projects, upload files, copy links and view file statistics from WordPress.
Insert files using the LF Drive tab in the media dialog, dedicated blocks, shortcodes or the Elementor widget.
Features include:
* A shared media library and dedicated image, video, audio and PDF blocks.
* Custom video and audio controls, including playback, seeking, volume and speed.
* A PDF reader with page navigation, zoom and text selection.
* Download buttons, paid file cards and visitor upload forms.
* Individual block colors, typography, spacing, width and rounded corners.
* File replacement without changing the public link, when permitted by your LF Drive plan.
The plugin is free. An LF Drive account and a dedicated WordPress integration token are required. Service features and storage limits depend on your LF Drive plan.
Paid links and upload forms must be available and configured in your account. This plugin does not move an existing WordPress media library to LF Drive automatically.
External services
php over HTTPS after the user connects an account.
The WordPress server sends the authorization token, library requests, selected upload files, file and project IDs, search terms, statistics parameters and form titles to LF Drive to provide the requested actions.
When visitors view embedded files or forms, their browser requests content from LF Drive. Forms send visitor-provided data and files to LF Drive according to the form owner’s settings.
The PDF reader first requests a public document directly. If browser cross-origin restrictions prevent loading, WordPress may retrieve the document through a signed, public LF Drive file URL. The proxy accepts only signed public file URLs, checks safe redirects and PDF content, and limits documents to 32 MB.
Temporary files are deleted after retrieval. LF Drive remains responsible for file access rules.
The integration token is encrypted in the WordPress database using a key derived from WordPress salts. Changing salts requires reconnecting the account.
ru/
html
html
Third-party libraries and source code
0. It is not loaded from a third-party CDN.
License: assets/pdfjs/LICENSE
js
299
299
js#building-pdfjs
The package includes the module, worker, CMaps, standard fonts and WASM assets with their included licenses.
The LF Drive plugin JavaScript and CSS are provided as readable source files in assets.