look_up_content


Description:

[ Version ( deprecated = true , deprecated_since = "0.17.0" ) ]
public unowned YouTubeContent look_up_content (string type)

Warning: look_up_content is deprecated since 0.17.0.

Looks up a YouTubeContent from the video with the given MIME type.

Note:

This is no longer supported by Google, and will always return null. To view a video, open the URI returned by get_player_uri in a web browser.

The video's list of contents is a list of URIs to various formats of the video itself, such as its SWF URI or RTSP stream.

Parameters:

this

a YouTubeVideo

type

the MIME type of the content desired

Returns:

a YouTubeContent matching type, or null