no fucking license
Bookmark

Code For Google Drive Audio Embend Online play

Example online Play Audio

Code
<iframe allow="autoplay" height="180" src="/preview" width="440">
    </iframe>

Google Drive doesn't support direct embedding of audio files like it does for some other file types such as images or videos. However, you can share audio files stored on Google Drive in a way that allows others to listen to them.

Here's how you can do it:

1. **Upload the Audio File to Google Drive:**
   - First, upload your audio file to Google Drive if you haven't already. Go to [drive.google.com](https://drive.google.com), sign in if necessary, and upload your audio file.

2. **Share the Audio File:**
   - Right-click on the audio file you uploaded.
   - Select "Share" from the context menu.
   - In the sharing settings, change the sharing settings to either "Anyone with the link" or "Public" (depending on your preference for who can access the audio file).
   - Copy the sharing link provided.

3. **Create an Embed Code (Using Google Drive Player):**
   - Go to a website that provides Google Drive
   - Paste the sharing link you copied into the provided field on the website.
Link Like: https://drive.google.com/file/d/1StWYuR3T8CxrOILSDWNr5CLcRvEOs3tX Before (/preview)

4. **Embed the Code on Your Website:**
   - Copy the generated embed code.
   - If you have a website where you want to embed the audio file, paste the embed code into the HTML of your webpage where you want the audio player to appear.
   - Save or publish your webpage.

This method essentially creates a web player that streams the audio file from Google Drive. Keep in mind that Google Drive's terms of service and sharing settings apply, so make sure you're not violating any rules when sharing and embedding audio files.

How to use Code

Post a Comment

Post a Comment