Statocles-Plugin-VideoTag

 view release on metacpan or  search on metacpan

lib/Statocles/Plugin/VideoTag.pm  view on Meta::CPAN

has frameborder => (
    is      => 'ro',
    isa     => Int,
    default => sub { 0 },
);


has allow => (
    is      => 'ro',
    isa     => Str,
    default => sub { 'accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture' },
);


has allowfullscreen => (
    is      => 'ro',
    isa     => Int,
    default => sub { 1 },
);


lib/Statocles/Plugin/VideoTag.pm  view on Meta::CPAN

=head2 frameborder

Whether to have a frameborder on the iframe for a YouTube video.

Default: C<0>

=head2 allow

The iframe B<allow> attribute string for a YouTube video.

Default: C<accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture>

=head2 allowfullscreen

Whether to allow full-screen for the iframe for a YouTube video.

Default: C<1>

=head1 METHODS

=head2 video_tag



( run in 1.700 second using v1.01-cache-2.11-cpan-2398b32b56e )