jonnitto/plyr
composer require jonnitto/plyr
Plyr.io for Neos.io
3.1.5
- Requires
- neos/neos: ^5.3 || ^7.0 || ^8.0 || dev-master
- carbon/condition: ^1.1 || ^2.0 || dev-master
- carbon/eel: ^1.2 || ^2.0 || dev-master
- carbon/includeassets: ^4.0 || ^5.0 || ^6.0 || dev-master
- carbon/notification: ^1.2 || ^2.0 || dev-master
Jonnitto.Plyr
Version | Neos | Maintained |
---|---|---|
0.* | 2.* | ✗ |
> 2.2 | 3.*, 4.* + 5.* | ✓ |
Installation
Most of the time you have to make small adjustments to a package (e.g. configuration in Settings.yaml
). Because of that, it is important to add the corresponding package to the composer from your theme package. Mostly this is the site packages located under Packages/Sites/
. To install it correctly go to your theme package (e.g.Packages/Sites/Foo.Bar
) and run following command:
composer require jonnitto/plyr --no-update
To install the package under Neos 2.* you have to enter
composer require "jonnitto/plyr:^0.2" --no-update
The --no-update
command prevent the automatic update of the dependencies. After the package was added to your theme composer.json
, go back to the root of the Neos installation and run composer update
. Et voilà! Your desired package is now installed correctly.
FAQ
What are the differences from this package to the Jonnitto.PrettyEmbedYoutube, Jonnitto.PrettyEmbedVideo, the Jonnitto.PrettyEmbedVimeo the or the Jonnitto.PrettyEmbedAudio package?
Jonnitto.Plyr | Jonnitto.PrettyEmbedSeries | |
---|---|---|
YouTube Video | ✓ | PrettyEmbedYoutube |
YouTube Playlist | PrettyEmbedYoutube | |
Vimeo | ✓ | PrettyEmbedVimeo |
Native Audio | ✓ | PrettyEmbedAudio |
Native Video | ✓ | PrettyEmbedVideo |
Preview image | ✓ | ✓ |
Javascript API | ✓ | |
Filesize (JS & CSS) | big | small |
The PrettyEmbed series also has the benefit of a better frontend performance since the player gets only loaded on request.
So, no media get loaded until the user wants to consume it.
License
Licensed under MIT, see LICENSE