Sourcefabric Manuals

 English |  Español |  Français |  Italiano |  Português |  Русский |  Shqip

Newscoop 4.1 Cookbook

Location multimedia

Maps require jQuery : In order to use display maps you must include jQuery in the header of your document, with a link like this:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">

The location multimedia object is usually initialized inside an Article Location object. It is not initialized at the beginning of the template and cannot be initialized by other Newscoop functions. The location multimedia object has the following properties:

  • src: the media URL (for images), identifier (for YouTube, Vimeo videos), or file name (for flash, flv videos)
  • type: can be "image" or "video"
  • spec: for video type it can return the following: "youtube", "vimeo", "flash", "flv"; for image the empty string
  • width: integer specifying the media frame width in pixels; the media is resized to this width (if non-zero)
  • height: integer specifying the media frame height in pixels; the media is resized to this height (if non-zero)

There has been error in communication with Booktype server. Not sure right now where is the problem.

You should refresh this page.