Title: L47 Audio Player for Google Drive
Author: lucas47
Published: <strong>13.4.2026</strong>
Last modified: 13.4.2026

---

Hae lisäosia

![](https://ps.w.org/l47-audio-player-for-google-drive/assets/icon-256x256.png?rev
=3505480)

# L47 Audio Player for Google Drive

 [lucas47](https://profiles.wordpress.org/lucas47/)

[Lataa](https://downloads.wordpress.org/plugin/l47-audio-player-for-google-drive.1.5.0.zip)

 * [Tiedot](https://fi.wordpress.org/plugins/l47-audio-player-for-google-drive/#description)
 * [Arvostelut](https://fi.wordpress.org/plugins/l47-audio-player-for-google-drive/#reviews)
 *  [Asennus](https://fi.wordpress.org/plugins/l47-audio-player-for-google-drive/#installation)
 * [Kehitys](https://fi.wordpress.org/plugins/l47-audio-player-for-google-drive/#developers)

 [Tuki](https://wordpress.org/support/plugin/l47-audio-player-for-google-drive/)

## Kuvaus

L47 Audio Player for Google Drive allows you to embed audio files hosted on Google
Drive directly into WordPress posts and pages using a simple shortcode.

The plugin connects to the Google Drive API v3 to retrieve and stream the audio 
file. A built-in server-side download proxy is included so that your API Key is 
never exposed to visitors — download links are generated by your own WordPress server.

### Features

 * Custom audio player with dark mode support (glassmorphism skin).
 * Shortcode-based: `[l47ap_audio id="FILE_ID"]`.
 * Configurable download button: proxy (recommended), direct Google Drive link, 
   or disabled.
 * Fallback to native Google Drive player (iframe) if the audio stream is unavailable.
 * Settings panel to configure your API Key, player skin, timeout, and custom CSS.
 * Assets (CSS/JS) are only loaded on pages where the shortcode is used.

### External Services

This plugin connects to the **Google Drive API**, a third-party external service
provided by Google LLC.

**What is it and what is it used for?**
 The Google Drive API v3 is used to:

 1. Retrieve audio file metadata (file name, MIME type) for the file ID specified in
    the shortcode.
 2. Stream the audio file content to the visitor’s browser for playback.
 3. Serve secure file downloads via a server-side proxy (when the proxy download mode
    is enabled in the settings).

**What data is sent and when?**
 The following data is sent to Google’s servers 
whenever a visitor loads a page containing the `[l47ap_audio]` shortcode and the
audio is played or a proxy download is triggered:

 * The Google Drive File ID (a non-personal, public identifier that you provide 
   in the shortcode).
 * Your Google Drive API Key (sent server-to-server only; never exposed to front-
   end visitors when using proxy mode).
 * A `Referer` HTTP header containing your site’s home URL.

No visitor personal data (IP address, cookies, user accounts, etc.) is sent to Google
by this plugin.

**Links:**
 – [Google Drive API documentation](https://developers.google.com/drive/api)–
[Google Terms of Service](https://policies.google.com/terms) – [Google Privacy Policy](https://policies.google.com/privacy)

## Kuvankaappaukset

[⌊Settings panel with API Key, skin and download mode options.⌉⌊Settings panel with
API Key, skin and download mode options.⌉[

Settings panel with API Key, skin and download mode options.

[⌊Audio player with playback controls, volume slider, speed selector and download
button.⌉⌊Audio player with playback controls, volume slider, speed selector and 
download button.⌉[

Audio player with playback controls, volume slider, speed selector and download 
button.

## Asennus

 1. Upload the plugin folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ’Plugins’ menu in WordPress.
 3. Go to **Settings > L47 Audio Player** to configure your Google Drive API Key.
 4. Insert the shortcode `[l47ap_audio id="FILE_ID"]` in any post or page.

## UKK

### Where do I get the Google Drive API Key?

Create a project in the [Google Cloud Console](https://console.cloud.google.com/),
enable the ”Google Drive API”, and create an ”API Key” credential. It is recommended
to restrict the key to your server’s IP address.

### Do the files need to be public?

Yes. The file sharing permission in Google Drive must be set to ”Anyone with the
link” so the player can access the content.

### Does the plugin use my server’s bandwidth for streaming?

Playback (streaming) occurs directly from Google’s servers. Only the optional Proxy
download mode routes traffic through your server — this protects your API Key from
being exposed to visitors.

### Does this plugin track users or collect personal data?

No. The plugin does not collect, store, or transmit any personal data about visitors.
The only external requests made are to the Google Drive API to retrieve audio file
metadata and content. No visitor data is included in these requests.

## Arvostelut

There are no reviews for this plugin.

## Avustajat & Kehittäjät

“L47 Audio Player for Google Drive” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt
ovat osallistuneet tämän lisäosan kehittämiseen.

Avustajat

 *   [ lucas47 ](https://profiles.wordpress.org/lucas47/)

[Käännä “L47 Audio Player for Google Drive” omalle kielellesi.](https://translate.wordpress.org/projects/wp-plugins/l47-audio-player-for-google-drive)

### Oletko kiinnostunut kehitystyöstä?

[Browse the code](https://plugins.trac.wordpress.org/browser/l47-audio-player-for-google-drive/),
check out the [SVN repository](https://plugins.svn.wordpress.org/l47-audio-player-for-google-drive/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/l47-audio-player-for-google-drive/)
by [RSS](https://plugins.trac.wordpress.org/log/l47-audio-player-for-google-drive/?limit=100&mode=stop_on_copy&format=rss).

## Muutosloki

#### 1.5.0

 * Fix: Replaced WP_Filesystem file-reading block with `readfile()` + `wp_delete_file()`.
   Eliminates the prohibited `require_once ABSPATH` call and streams audio directly
   to output without loading the entire file into memory.

#### 1.3.0

 * Compliance: Removed arbitrary custom CSS field (no longer permitted by WordPress.
   org guidelines).
 * Compliance: Removed direct `require_once` of WordPress core HTTP file.
 * Compliance: Renamed main plugin file to match the plugin slug (`l47-audio-player-
   for-google-drive.php`).
 * Compliance: Translated all Settings API label strings to English as required 
   by Plugin Check.
 * Compliance: Renamed include files from `class-dap-*` to `class-l47ap-*` to fully
   align with the `l47ap` prefix standard.

#### 1.2.0

 * Compliance: Renamed plugin and slug to comply with WordPress.org Plugin Directory
   Guidelines.
 * Compliance: Updated all code prefixes to `l47ap_` / `L47AP_` for functions, classes,
   options and registered names.
 * Documentation: Added `External Services` section describing Google Drive API 
   usage, data sent and privacy links.
 * Documentation: Rewrote description to remove promotional language.
 * Documentation: Updated Contributors field to reflect the WordPress.org account
   of the plugin owner.

#### 1.1.0

 * Improvement: New design with glassmorphism skin.
 * Improvement: Integrated SVG icons.
 * Security: Refined download proxy with nonce validation and WP_Filesystem usage.
 * Internationalization: Full i18n support.

#### 1.0.0

 * Initial release.

## Metatiedot

 *  Version **1.5.0**
 *  Last updated **6 kuukautta sitten**
 *  Active installations **10+**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **6.9.10**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/l47-audio-player-for-google-drive/)
 * Tags
 * [audio](https://fi.wordpress.org/plugins/tags/audio/)[google drive](https://fi.wordpress.org/plugins/tags/google-drive/)
   [player](https://fi.wordpress.org/plugins/tags/player/)[podcast](https://fi.wordpress.org/plugins/tags/podcast/)
   [shortcode](https://fi.wordpress.org/plugins/tags/shortcode/)
 *  [Edistynyt näkymä](https://fi.wordpress.org/plugins/l47-audio-player-for-google-drive/advanced/)

## Arvosanat

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/l47-audio-player-for-google-drive/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/l47-audio-player-for-google-drive/reviews/)

## Avustajat

 *   [ lucas47 ](https://profiles.wordpress.org/lucas47/)

## Tuki

Onko sinulla jotain sanottavaa? Tarvitsetko apua?

 [Tukifoorumi](https://wordpress.org/support/plugin/l47-audio-player-for-google-drive/)