alchemy / embed-bundle
Embed resources bundle
Installs: 600
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 6
Forks: 9
Open Issues: 13
Language:TypeScript
Requires (Dev)
- phpunit/phpunit: ~6.0
- silex/silex: ~2.0
- squizlabs/php_codesniffer: ^2.3
- symfony/symfony: ~2.6
- 4.1.0
- 3.0.x-dev
- 2.0.x-dev
- 2.0.16
- 2.0.15
- 2.0.14
- 2.0.13
- 2.0.12
- 2.0.11
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.0.x-dev
- dev-master / 1.0.x-dev
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.5.3
- v0.5.2
- v0.5.1
- v0.4.4
- v0.4.3
- v0.4.2
- v0.4.1
- v0.4.0
- 0.3.x-dev
- 0.3.10
- 0.3.9
- 0.3.8
- 0.3.7
- 0.3.6
- 0.3.5
- v0.3.4
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.0
- v0.1.1
- v0.1.0
- dev-PHRAS-3935-use-instance_id
- dev-PHRAS-3930-fix-matomo-media
- dev-PHRAS-3930-matomo-media-player-tracking
- dev-dependabot/npm_and_yarn/qs-6.5.3
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/terser-5.14.2
- dev-dependabot/npm_and_yarn/jquery-3.5.0
- dev-dependabot/npm_and_yarn/video.js-7.14.3
- dev-dependabot/npm_and_yarn/ini-1.3.8
- dev-dependabot/npm_and_yarn/underscore-1.12.1
- dev-dependabot/npm_and_yarn/lodash.merge-4.6.2
- dev-PHRAS-3514_pdf-preview-blank_bis
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/yargs-parser-5.0.1
- dev-dependabot/npm_and_yarn/y18n-3.2.2
- dev-dependabot/npm_and_yarn/mixin-deep-1.3.2
- dev-SILEX2
This package is not auto-updated.
Last update: 2024-10-26 19:48:33 UTC
README
Installation
Add embed bundle to Phraseanet:
composer require alchemy/embed-bundle:^2.0.0
Deploy embed players in Phraseanet assets path:
gulp build-alchemy-embed
Configuration
configuration options for phraseanet in config/configuration.yml
yaml example:
embed_bundle:
video:
player: videojs
autoplay: false
message_start: StartOfMessage
cover_subdef: previewx4
available_speeds:
- 1
- '1.5'
- 3
audio:
player: videojs
autoplay: false
cover_subdef: thumbnail
document:
player: flexpaper
enable_pdfjs: true
Field mapping
Video captions (subtitles and chapters) can be added via Phraseanet Fields setup: field name matching table:
VTT file formats
Subtitles valid field content
WEBVTT
1
00:00:00.000 --> 00:00:04.000
This is a sample subtitle track <b>with</b> formating
Chapter 2
00:00:04.000 --> 00:00:08.000
As you can see, that's <c.highlight>easy</c>
Chapters valid field content
WEBVTT
Chapter 1
00:00:00.000 --> 00:00:04.000
{
"title":"Chapter 1",
"image":"asset/img/chapter_1.png"
}
Chapter 2
00:00:04.000 --> 00:00:08.000
{
"title":"Chapter 2",
"image":"asset/img/chapter_2.png"
}