Help:EmbedMovieInformation

 

A simple code snippet allows you to embed the omdb movie information into your website.

Examples

The subdomain in the url determines the language the movie information is displayed in (e.g. “en” in “en.omdb.org”):
  • www: The browser settings determine the language
  • de: German
  • en: English
  • fr: French
  • es: Spanish

Also the trailer (if present) is shown in the preferred language.

Iframe

The generell format is “https://www.omdb.org/movie/[omdb-id]/embed”

If the omdb id is unknwon, e.g. the IMDb id or the Wikidata id can be used. The format then is like “https://www.omdb.org/external/imdb/tt123456/embed” or “https://www.omdb.org/external/wikidata/Q123456789/embed”

www.omdb.org:

<iframe width="460" height="400" frameborder="0" 
  allowfullscreen="allowfullscreen" src="https://www.omdb.org/movie/185/embed">
</iframe>

de.omdb.org:

<iframe width="460" height="400" frameborder="0" 
  allowfullscreen="allowfullscreen" src="https://de.omdb.org/movie/185/embed">
</iframe>