Git Product home page Git Product logo

clappr-core's Introduction

Huge changes in the latest version. See 0.4.0 version changelog for more information

jsDelivr hits (npm scoped)


Clappr Monorepo

Look for Clappr and related packages under the /packages directory. Applications like the clappr.io documentation site are under the /apps directory.

Documentation

Visit https://clappr.github.io to view the full documentation.

Run the Development Server

  1. Run yarn install to install all dependencies
  2. Run yarn dev will start the development server.
  3. Visit http://localhost:8080 to view your application.

clappr-core's People

Contributors

afonsocdaniel avatar alvynmcq avatar andrefilimono avatar andrepolischuk avatar argoilves avatar ariselseng avatar barbosa avatar bikegriffith avatar davidjb avatar dayvson avatar dependabot[bot] avatar felipecesr avatar flavioribeiro avatar gamtiq avatar greenkeeper[bot] avatar greenkeeperio-bot avatar jhonatangcavalcanti avatar joaopaulovieira avatar kslimani avatar leandromoreira avatar leaofelipe avatar leftees avatar niko78 avatar paluh avatar pedrochamberlain avatar tchakabam avatar thiagopnts avatar tjenkinson avatar towerz avatar vagnervjs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

clappr-core's Issues

Can it play MPEG1streams ?

Currently we are using JSMPEG player for playing MPEG1 streams which are converted from RTSP ( live CCTV camera) .

I found Clappr is more interesting and rich in feature. but i am not able to conclude that how can i fit it in our case.

options :
1 . replace JSMPEG with Clappr to run MPEG1
2. Play RTSP directly ( somehow without flash ) as chrome has stopped support of flash.

Controls Show animated sin graph

**What do you want to do with Clap
Play server hosted mp4, webm files.

What have you tried so far?

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/clappr@latest/dist/clappr.min.js"> </script>
      <div id="player"></div>
      <script>
        var player = new Clappr.Player({
          source: "https://file-examples.com/storage/fee3d1095964bab199aee29/2017/04/file_example_MP4_640_3MG.mp4",
          parentId: "#player",
          
        });
      </script>

image

Issue is that it does not show the controls properly. Is this something I need to enable?

feat: official Vue wrapper

What do you want to do with Clappr?
Create an official Vue wrapper for Clappr.

What have you tried so far?
N/A.

Description
Hey! I refactored my v-clappr wrapper for Clappr using TypeScript and was wondering since we don't have official typings or wrapper(s) for clappr, v-clappr could be the place to go & maybe once I figure out all typings for core I can add it in the @types/clappr-core GitHub repo.

No EXTM3U delimiter

What do you want to do with Clappr?

I have a server running LAL and producing a HLS playlist that I can access using HTTPS.

Unfortunatelly I got an error "no EXTM3U delimiter".

The same playlist can be viewed by VLC without any problem.

What have you tried so far?

My viewer HTML page has the code as described on the docs:

`

<script> var playerElement = document.querySelector(".player"); var player = new Clappr.Player({ source: "https://mydomain.com/hls/x/playlist.m3u8", parent: playerElement, }); </script>`

Obviously the source points to my server.

The contents of my playlist.m3u8 follow:

`#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:621

#EXTINF:10.000,
teste-1686243931790-621.ts
#EXTINF:10.000,
teste-1686243941797-622.ts
#EXTINF:10.000,
teste-1686243951795-623.ts
#EXTINF:10.000,
teste-1686243961795-624.ts
#EXTINF:10.000,
teste-1686243971788-625.ts
#EXTINF:10.000,
teste-1686243981796-626.ts
`

Any hints?

Why do we need to specify engines in `package.json`?

What do you want to do with Clappr?

I want to install @clappr/core in my project using docusaurus and node 16, but I've gotten the following error:

image

What have you tried so far?

I've tried to install @clappr/core, but It's not possible because the minimum supported node version in docusaurus is 16 and @clappr/core expects node 14.

It doesn't make sense because @clappr/core should be bundled by the app to run in browsers.

What do you think about remove engines property from package.json?

Preventing Controls from Hiding Video

Is your feature request related to a problem? Please describe.
In some cases it is a problem that the video controls hide the bottom of the video.

Describe the solution you'd like
A configuration value for the video controls to be below the video instead of covering it.

Describe alternatives you've considered
Using another video player

isHD Function.

Good day to you all

So im looking for some information on the isHD function within the Clappr Player, i have a source that is offering TrueHD only on there service and i seem to be only getting audio and no video on the source.

Please find my code bellow.

` var playerobj = new Clappr.Player(
{
source: "////.m3u8",
parentId: "#livevideo",
autoPlay: true,
isHD: true,
mediacontrol: {seekbar: "#E113D3", buttons: "#66B2FF"},
height: 'auto',
width: '100%',
poster: "",
watermark: "assets//img/logo-player.png",
watermarkLink: "#",
position: 'top-left'

                }
            );
        </script>
 <?php } ?>`

If there is any information or help so i can allow the system to play (with picture), that would be perfect.

How to get the Clappr instance from a div ID?

What do you want to do with Clappr?

Any way to get the Clappr instance from a div ID?

I know I can simply store the instance when creating but the target in question is a third party site.

What have you tried so far?
Reading the docs.

Internationalization of accessibility

The string.js plugin is missing labels used for accessibility.

For example, I would like to be able to dynamically change the aria-label of the fullscreen button based on the current language:
English:
<button aria-label="fullscreen"></button>
French:
<button aria-label="plein écran"></button>

Bug with height in % not working

working:
http://clappr.io/demo/#dmFyIHBsYXllckVsZW1lbnQgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgicGxheWVyLXdyYXBwZXIiKTsKCnZhciBwbGF5ZXIgPSBuZXcgQ2xhcHByLlBsYXllcih7CiAgc291cmNlOiAnaHR0cDovL2NsYXBwci5pby9oaWdobGluZS5tcDQnLAogIHBvc3RlcjogJ2h0dHA6Ly9jbGFwcHIuaW8vcG9zdGVyLnBuZycsCiAgbXV0ZTogdHJ1ZSwKICBoZWlnaHQ6ICcxMDAnLAogIHdpZHRoOiA2NDAKfSk7CgpwbGF5ZXIuYXR0YWNoVG8ocGxheWVyRWxlbWVudCk7Cg==

not working:
http://clappr.io/demo/#dmFyIHBsYXllckVsZW1lbnQgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgicGxheWVyLXdyYXBwZXIiKTsKCnZhciBwbGF5ZXIgPSBuZXcgQ2xhcHByLlBsYXllcih7CiAgc291cmNlOiAnaHR0cDovL2NsYXBwci5pby9oaWdobGluZS5tcDQnLAogIHBvc3RlcjogJ2h0dHA6Ly9jbGFwcHIuaW8vcG9zdGVyLnBuZycsCiAgbXV0ZTogdHJ1ZSwKICBoZWlnaHQ6ICcxMDAlJywKICB3aWR0aDogNjQwCn0pOwoKcGxheWVyLmF0dGFjaFRvKHBsYXllckVsZW1lbnQpOwo=

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.