---
name: "MojoMojo::Formatter::YouTube"
section: "3pm"
platform: "linux"
package: "libmojomojo-perl"
version: "1.12+dfsg-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/MojoMojo::Formatter::YouTube"
---

# MojoMojo::Formatter::YouTube(3pm)

Embed YouTube player

### module\_loaded

Return true if the module is loaded.

## NAME

MojoMojo::Formatter::YouTube - Embed YouTube player

## DESCRIPTION

Embed YouTube video player for given video by writing {{youtube \<url\>}}.

## METHODS

### format\_content\_order

Format order can be 1-99. The YouTube formatter runs on 10.

### format\_content

Calls the formatter. Takes a ref to the content as well as the context object.

### process

Do the meat of inserting a youtube movie into a wiki page.

## SEE ALSO

MojoMojo, Module::Pluggable::Ordered, URI::Fetch

## AUTHORS

Robert 'LiNiO' Litwiniec \<linio@wonder.pl\>

## LICENSE

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
