sc-three-stage-video

WebJar for sc-three-stage-video

Лицензия

Лицензия

MIT
Категории

Категории

IDE Инструменты разработки
Группа

Группа

org.webjars.bowergithub.supportclass
Идентификатор

Идентификатор

sc-three-stage-video
Последняя версия

Последняя версия

1.2.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

sc-three-stage-video
WebJar for sc-three-stage-video
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/SupportClass/sc-three-stage-video

Скачать sc-three-stage-video

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.supportclass/sc-three-stage-video/ -->
<dependency>
    <groupId>org.webjars.bowergithub.supportclass</groupId>
    <artifactId>sc-three-stage-video</artifactId>
    <version>1.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.supportclass/sc-three-stage-video/
implementation 'org.webjars.bowergithub.supportclass:sc-three-stage-video:1.2.1'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.supportclass/sc-three-stage-video/
implementation ("org.webjars.bowergithub.supportclass:sc-three-stage-video:1.2.1")
'org.webjars.bowergithub.supportclass:sc-three-stage-video:jar:1.2.1'
<dependency org="org.webjars.bowergithub.supportclass" name="sc-three-stage-video" rev="1.2.1">
  <artifact name="sc-three-stage-video" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.supportclass', module='sc-three-stage-video', version='1.2.1')
)
libraryDependencies += "org.webjars.bowergithub.supportclass" % "sc-three-stage-video" % "1.2.1"
[org.webjars.bowergithub.supportclass/sc-three-stage-video "1.2.1"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)

Модули Проекта

Данный проект не имеет модулей.

<sc-three-stage-video> Published on webcomponents.org Build Status Coverage Status Polymer 2 only

A Polymer 2.x element for playing video assets with discrete enter, exit, and loop parts.

Motivation

Sometimes we have assets that just doesn't make sense to implement purely in code. The asset might be too complex, too performance-intensive, or maybe we just don't have the time. In these cases, we often will pre-render the asset and slice it into discrete enter, loop, and exit parts.

Installation

bower install --save SupportClass/sc-three-stage-video

Example

<sc-three-stage-video
	id="demo"
	enter-src="demo/enter.webm"
	loop-src="demo/loop.webm"
	exit-src="demo/exit.webm">
</sc-three-stage-video>

<button onclick="demo.enterAndLoop()">Enter and Loop</button>
<button onclick="demo.exit()">Exit</button>
<button onclick="demo.exit(true)">Fast Exit</button>

How do I make transparent videos like the demo?

Some browsers (only Chrome and Firefox at the time of this writing) support an alpha channel in .webm videos. However, most tools don't actually have support for rendering or encoding a .webm with this alpha channel, so you will probably have to first render out in a format that does support alpha (such as .avi or .mov) and then encode the .webm using FFmpeg:

# This is just an example. There's tons of parameters that you can play with, but this will get you going.
ffmpeg.exe -i enter.avi -c:v libvpx -b:v 3000k -c:a libvorbis -b:a 128k enter.webm
org.webjars.bowergithub.supportclass

Support Class

We design and develop professional livestreams.

Версии библиотеки

Версия
1.2.1