# videojs-dynamic-overlay

> Dynamic Overlay Text On Video Js

Latest version **2.0.0** (published 2017-10-20) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install videojs-dynamic-overlay
pnpm add videojs-dynamic-overlay
yarn add videojs-dynamic-overlay
bun add videojs-dynamic-overlay
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2017-10-20 |
| First published | 2017-10-12 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Emre Karatasoglu |
| Maintainers | lethea |
| Keywords | videojs, videojs-plugin |

## Links

- npm: https://www.npmjs.com/package/videojs-dynamic-overlay
- Repository: https://github.com/Lethea/videojs-dynamic-overlay
- Homepage: https://github.com/Lethea/videojs-dynamic-overlay#readme
- Issues: https://github.com/Lethea/videojs-dynamic-overlay/issues
- npm.io page: https://npm.io/package/videojs-dynamic-overlay

## Dependencies (2)

- [global](https://npm.io/package/global.md) ^4.3.2
- [video.js](https://npm.io/package/video.js.md) ^5.19.2

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2017-10-20
- 1.0.3 — 2017-10-19
- 1.0.2 — 2017-10-19
- 1.0.1 — 2017-10-12
- 1.0.0 — 2017-10-12

## README

# videojs-newoverlay
Dynamic Overlay on Video For Education System
Video Üzerine Text Vb Dinamik Yer Değiştirme

## Table of Contents

<!-- START doctoc -->
<!-- END doctoc -->
## Installation

```sh
npm install --save videojs-dynamic-overlay
```

## Usage
Sample Image : https://prnt.sc/gwejew
To include videojs-newoverlay on your website or web application, use any of the following methods.

### `<script>` Tag

This is the simplest case. Get the script in whatever way you prefer and include the plugin _after_ you include [video.js][videojs], so that the `videojs` global is available.

```html
<script src="//path/to/video.min.js"></script>
<script src="//path/to/videojs-newoverlay.min.js"></script>
<script>
  var player = videojs('my-video');

  player.newoverlay();
  ################ OR ###############
  player.newoverlay({
          contentOfOverlay:"Sample Content",
          changeDuration:1000
        });
</script>
<style>
.vjs-emre{
    z-index:9999;
    color:black;
    background-color:brown;
    font-size:20px;
    position:absolute;
    right:20px;
  }
</style>
```

### No Need To Build

Working example with built scripts .

Quaility Selector
Dynamic Overlay that configurable

http://cdn.emrekaratasoglu.com/overlay_demo/

```html
<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>videojs-newoverlay Demo</title>
  <link href="video-js.css" rel="stylesheet">

</head>
<body>
  <video id="videojs-newoverlay-player" class="video-js vjs-default-skin" controls height="480" width="848" poster="http://vjs.zencdn.net/v/oceans.png">
    <source src="https://video-dev.github.io/streams/x36xhzz/x36xhzz.m3u8" type="application/x-mpegurl">
  </video>
  <script src="es5-shim.js"></script>
  <script src="video.js"></script>
  <script src="videojs-newoverlay.js"></script>
  <script src="videojs-contrib-hls.js"></script>
  <script src="videojs5-hlsjs-source-handler.js"></script>
  <script>
    (function(window, videojs) {
      var player = window.player = videojs('videojs-newoverlay-player');
      player.newoverlay({
        contentOfOverlay:"Emre Karataşoğlu ID NUMBER",
        changeDuration:10000
      });
	  player.qualityPickerPlugin();
    }(window, window.videojs));
  </script>
</body>
</html>
<style>
  .vjs-emre{
    z-index:9999;
    color:black;
    background-color:brown;
    font-size:20px;
    position:absolute;
    width: 170px; word-break: break-all; word-wrap: break-word;
	right:20px;


  }

</style>
```


## License

Apache-2.0. Copyright (c) Emre Karatasoglu &lt;emre.karatasoglu@hotmail.com&gt;


[videojs]: http://videojs.com/

---
_Source: https://npm.io/package/videojs-dynamic-overlay · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
