Giter Site home page Giter Site logo

sh20raj / sp-flamingo Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 267 KB

HTML5 Video Player | SopPlayer Skin

Home Page: https://sh20raj.github.io/sp-flamingo/

License: MIT License

CSS 4.80% JavaScript 95.20%
player html5-video-player html5-video-player-open-source sopplayer sh20raj videojs-skin videojs-custom-skin vjs-skin custom-video-player

sp-flamingo's Introduction

SP-FLAMINGO SopPlayer Skin Integration

Demo Website :- https://sopplayer.sh20raj.repl.co/flamingo

View on Repl.it :- https://replit.com/@SH20RAJ/SopPlayer#flamingo

GitHub

### Steps to Import :-

Steps :- 1 . Use class="sopplayer" in Your <video> Tag . 2 . And Add data-setup="{}", attribute like this .


HERE IS THE FULL VIDEO CODE

    <video id="my-video" poster="https://i.ytimg.com/vi/YE7VzlLtp-4/maxresdefault.jpg"  
        class="sopplayer" controls preload="auto" data-setup="{}" width="500px">
      <!--Use class="sopplayer" and data-setup="{}" -->
      <source src="https://commondatastorage.googleapis.com/gtv-videos-bucket/CastVideos/mp4/BigBuckBunny.mp4" type="video/mp4" />
    </video>

3 . Add the JavaScript CDN only before </body> Tag


HERE IS THE JAVASCRIPT CDN

<script src="https://cdn.jsdelivr.net/gh/SH20RAJ/Sopplayer/flamingo/sp-flamingo.min.js"></script>
<!--Here is the JavaScript Library-->

Here you have completed your Sopplayer-Flamingo Intgretion.

**Before Sopplayer**

After Sopplayer


SEE HOW FULL HTML WILL LOOK LIKE

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<center>
  <body>
    <video id="my-video" class="sopplayer" controls preload="auto" data-setup="{}" width="500px">
      <!--Use class="sopplayer" and data-setup="{}" -->
      <source src="sample.mp4" type="video/mp4" />
    </video>
    <script src="https://cdn.jsdelivr.net/gh//SH20RAJ/Sopplayer/flamingo/sp-flamingo.min.js"></script>
    <!--Here is the JavaScript Library-->
</center>
</body>

</html>
Visit [GitHub](https://github.com/SH20RAJ/Sopplayer/tree/main/flamingo) View [Demo](https://sopplayer.sh20raj.repl.co/flamingo/)

See Articles :-


https://codexdindia.blogspot.com/2021/02/sp-flamingo-sopplayer-skin-integration.html


https://dev.to/sh20raj/sp-flamingo-sopplayer-skin-integration-custom-video-player-4675/

sp-flamingo's People

Contributors

sh20raj avatar

Stargazers

 avatar

Watchers

 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.