|> 2.2||3.* + 4.*|
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
--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.
|Preview image for Youtube||✓|
|Preview image for Vimeo||✓|
|Picture in picture||✓|
|Filesize (JS & CSS)||smaller||bigger||smaller|
Jonnitto.PrettyembedYoutube and Jonnitto.PrettyEmbedVimeo also has the benefit
of a better frontend performance since the player gets only loaded on request.
So, no iframe until the user wants to watch a video.
Licensed under MIT, see LICENSE