Skip to content

MST-SymphonyCMS/oembed_field

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Field: oEmbed

Version: 1.4

Easily embed videos/images from ANY* website that implements the oEmbed format

@see http://oembed.com

SPECS

  • Adds a field that takes as input the link to the page that has the embeded media
  • Caches the oEmbed XML info into the database
    • Easily incorporate this XML via your Data Sources
    • Refreshes the info each time the entry is saved
  • *Currently supported services:
    • Vimeo
    • Youtube
    • Dailymotion
    • Twitter
    • Flickr
    • Qik
    • Viddler
      • Anybody can add a service
        Just fork, code the missing Service Driver and request a pull!

REQUIREMENTS

  • Symphony CMS version 2.2.5 and up (as of the day of the last release of this extension)

INSTALLATION

  • Unzip the oembed_field.zip file
  • (re)Name the folder oembed_field
  • Put into the extension directory
  • Enable/install just like any other extension

Voila !

HOW TO USE

  • After installation, add a oEmbed field to a section
  • Configure the field
    • Select at least one supported driver
    • You can add extra parameters to the oEmbed request's query string
  • All the data will be available as xml in a datasource
  • Use the oembed tag for embeding the resource into your frontend

TODO

  • Adds a auto-refresh data mechanism
  • Automatically add sites in the JIT authorized sites (for thumbnail and image services)
  • Add MySpace driver: Waiting for MySpace to complete their oEmbed service

CREDITS

http://www.nitriques.com/open-source/

http://www.deuxhuithuit.com/

And thanks to everybody that added ServiceDrivers, reported bugs or submitted any improvements !