++ed by:
BEROV

1 PAUSE user(s)

Jan Henning Thorsen

NAME

Mojolicious::Plugin::LinkEmbedder::Link::Video::Youtube - youtube.com link

DESCRIPTION

https://developers.google.com/youtube/player_parameters#Embedding_a_Player

This class inherit from Mojolicious::Plugin::LinkEmbedder::Link::Text::HTML.

ATTRIBUTES

media_id

Returns the "v" query param value from "url".

provider_name

METHODS

learn

pretty_url

Returns "url" without "eurl", "mode" and "search" query params.

to_embed

Returns the HTML code for an iframe embedding this movie.

AUTHOR

Marcus Ramberg