Statocles::Plugin::VideoTag - Change video file anchors to video elements
version 0.0100
# site.yml site: class: Statocles::Site args: plugins: video_tag: $class: Statocles::Plugin::VideoTag $args: file_type: 'ogg'
Statocles::Plugin::VideoTag changes video file anchor elements to video elements.
Statocles::Plugin::VideoTag
The file type to replace.
Default: mp4
mp4
$page = $plugin->video_tag($page);
Process the video bits of a Statocles::Page.
Register this plugin to install its event handlers. Called automatically.
Statocles
Statocles::Plugin
Statocles::Plugin::AudioTag
https://ology.github.io/2020/12/06/making-a-statocles-plugin/
Gene Boggs <gene@cpan.org>
This software is copyright (c) 2021 by Gene Boggs.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Statocles::Plugin::VideoTag, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Statocles::Plugin::VideoTag
CPAN shell
perl -MCPAN -e shell install Statocles::Plugin::VideoTag
For more information on module installation, please visit the detailed CPAN module installation guide.