Giter Club home page Giter Club logo

audiplay's Introduction

 

AudiPlay - HTML5 Audio Player

AudiPlay Integration - Free HTML5 Audio Player

See Integration Article :- https://codexdindia.blogspot.com/2021/02/audiplay-integration-free-html5-audio.html


Steps To Integrate

    Step 1 :- Use class="audiplay" in Your Audio Tag .


HERE IS THE AUDIO TAG

   

<audio controls class="audiplay" >
     <source
     src="https://cdn.jsdelivr.net/gh/sh20raj/AudiPlay/Ark.mp3"
     type="audio/mp3"/>
</audio>
<!--Here is the Audio Tag Library-->


Step 2 :- Add Javascript CDN Just Before </body> Tag


HERE IS THE JAVASCRIPT CDN

<script src="https://cdn.jsdelivr.net/gh/sh20raj/AudiPlay/audiplay.min.js"></script>
<!--Here is the JavaScript Library-->


You can also Use Style Attribute in your Audio Tag i.e. -:  style="width: 700px;" and You Will Get Responsive Audio Player .

Before Adding AudiPlay - Free HTML5 Audio Player





After Adding AudiPlay - Free HTML5 Audio Player


What You Can Do 

Add nodownload Attribute to Your Audio Tag To disable the Download Button .



Like This -

HERE IS THE AUDIO TAG
    <audio controls class="audiplay" nodownload>
        <source src="Ark.mp3" type="audio/mp3">
    </audio>
    <!--Here is the Audio Tag Library-->



Now You Will Get -

After Disableing Download using nodownload Attribute



Here how the Total HTML will look like ...


HERE IS THE FULL HTML EXAMPLE

<audio controls class="audiplay" style="width: 700px;">
 <source src="Ark.mp3" type="audio/mp3">
</audio>

<script src="https://cdn.jsdelivr.net/gh/sh20raj/AudiPlay/audiplay.min.js"></script>


audiplay's People

Contributors

sh20raj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.