@api.video/video-uploader
Advanced tools
Comparing version 0.0.6 to 1.0.0
# Changelog | ||
All changes to this project will be documented in this file. | ||
## [1.0.0] - 2021-11-16 | ||
- Bump dependancies | ||
## [0.0.6] - 2021-11-10 | ||
@@ -5,0 +8,0 @@ - Add progressive upload feature |
{ | ||
"name": "@api.video/video-uploader", | ||
"version": "0.0.6", | ||
"version": "1.0.0", | ||
"description": "api.video video uploader", | ||
@@ -27,7 +27,7 @@ "repository": { | ||
"@types/jsdom": "^16.2.6", | ||
"@types/mocha": "^8.2.0", | ||
"@types/mocha": "^9.0.0", | ||
"chai": "^4.2.0", | ||
"jsdom": "^16.4.0", | ||
"jsdom-global": "^3.0.2", | ||
"mocha": "^8.2.1", | ||
"mocha": "^9.1.3", | ||
"ts-loader": "^9.2.6", | ||
@@ -34,0 +34,0 @@ "ts-node": "^9.1.1", |
@@ -1,14 +0,43 @@ | ||
[![badge](https://img.shields.io/twitter/follow/api_video?style=social)](https://twitter.com/intent/follow?screen_name=api_video) | ||
[![badge](https://img.shields.io/twitter/follow/api_video?style=social)](https://twitter.com/intent/follow?screen_name=api_video) [![badge](https://img.shields.io/github/stars/apivideo/api.video-typescript-uploader?style=social)](https://github.com/apivideo/api.video-typescript-uploader) [![badge](https://img.shields.io/discourse/topics?server=https%3A%2F%2Fcommunity.api.video)](https://community.api.video) | ||
![](https://github.com/apivideo/API_OAS_file/blob/master/apivideo_banner.png) | ||
<h1 align="center">api.video typescript video uploader</h1> | ||
[![badge](https://img.shields.io/github/stars/apivideo/php-api-client?style=social)](https://github.com/apivideo/php-api-client) | ||
![npm](https://img.shields.io/npm/v/@api.video/video-uploader) ![ts](https://badgen.net/badge/-/TypeScript/blue?icon=typescript&label) | ||
[![badge](https://img.shields.io/discourse/topics?server=https%3A%2F%2Fcommunity.api.video)](https://community.api.video) | ||
![](https://github.com/apivideo/API_OAS_file/blob/master/apivideo_banner.png) | ||
[api.video](https://api.video) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app. | ||
[api.video](https://api.video) is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. | ||
# Table of contents | ||
# api.video typescript video uploader | ||
![npm](https://img.shields.io/npm/v/@api.video/video-uploader) ![ts](https://badgen.net/badge/-/TypeScript/blue?icon=typescript&label) | ||
- [Table of contents](#table-of-contents) | ||
- [Project description](#project-description) | ||
- [Getting started](#getting-started) | ||
- [Installation](#installation) | ||
- [Installation method #1: requirejs](#installation-method-1-requirejs) | ||
- [Installation method #2: typescript](#installation-method-2-typescript) | ||
- [Simple include in a javascript project](#simple-include-in-a-javascript-project) | ||
- [Documentation - Standard upload](#documentation---standard-upload) | ||
- [Instanciation](#instanciation) | ||
- [Options](#options) | ||
- [Using a delegated upload token (recommended):](#using-a-delegated-upload-token-recommended) | ||
- [Using an access token (discouraged):](#using-an-access-token-discouraged) | ||
- [Common options](#common-options) | ||
- [Example](#example) | ||
- [Methods](#methods) | ||
- [`upload()`](#upload) | ||
- [`onProgress()`](#onprogress) | ||
- [Documentation - Progressive upload](#documentation---progressive-upload) | ||
- [Instanciation](#instanciation-1) | ||
- [Options](#options-1) | ||
- [Using a delegated upload token (recommended):](#using-a-delegated-upload-token-recommended-1) | ||
- [Using an access token (discouraged):](#using-an-access-token-discouraged-1) | ||
- [Common options](#common-options-1) | ||
- [Example](#example-1) | ||
- [Methods](#methods-1) | ||
- [`uploadPart(file: Blob)`](#uploadpartfile-blob) | ||
- [`uploadLastPart(file: Blob)`](#uploadlastpartfile-blob) | ||
- [`onProgress()`](#onprogress-1) | ||
# Project description | ||
Typescript library to upload videos to api.video using delegated upload token (or usual access token) from the front-end. | ||
@@ -20,6 +49,7 @@ | ||
# Getting started | ||
# Installation | ||
## Installation | ||
## Installation method #1: requirejs | ||
### Installation method #1: requirejs | ||
@@ -50,3 +80,3 @@ If you use requirejs you can add the library as a dependency to your project with | ||
## Installation method #2: typescript | ||
### Installation method #2: typescript | ||
@@ -78,3 +108,3 @@ If you use Typescript you can add the library as a dependency to your project with | ||
## Simple include in a javascript project | ||
### Simple include in a javascript project | ||
@@ -106,3 +136,3 @@ Include the library in your HTML file like so: | ||
# Usage - Standard upload | ||
# Documentation - Standard upload | ||
@@ -168,3 +198,3 @@ ## Instanciation | ||
#### Example | ||
**Example** | ||
@@ -190,3 +220,3 @@ ```javascript | ||
#### Example | ||
**Example** | ||
@@ -206,3 +236,3 @@ ```javascript | ||
# Usage - Progressive upload | ||
# Documentation - Progressive upload | ||
@@ -265,3 +295,3 @@ | ||
#### Example | ||
**Example** | ||
@@ -281,3 +311,3 @@ ```javascript | ||
#### Example | ||
**Example** | ||
@@ -299,3 +329,3 @@ ```javascript | ||
#### Example | ||
**Example** | ||
@@ -302,0 +332,0 @@ ```javascript |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
77559
1
330
0