Diem plugins syndication

dmWidgetExternalVideoPlugin

Provides widgets to embed videos from youtube, dailymotion and vimeo

Installation

  • In a console, from your project root dir, run:
git clone git://github.com/ornicar/dmWidgetExternalVideoPlugin.git plugins/dmWidgetExternalVideoPlugin  
  • In config/ProjectConfiguration.class.php, add dmWidgetExternalVideoPlugin to the list of enabled plugins:
class ProjectConfiguration extends dmProjectConfiguration
{  
  public function setup()  
  {  
    parent::setup();  
 
    $this->enablePlugins(array(  
      // your enabled plugins  
      'dmWidgetExternalVideoPlugin'  
    ));  
  • In a console, from your project root dir, run:
php symfony dm:setup  

After installing the plugin, three new widgets are available: Youtube, Dailymotion and Vimeo.
Add a widget on a page. Give the video url, the width and the height.

The video url is the url visible in your browser address bar when browsing a video website.
Exemple of video urls:
youtube: "http://www.youtube.com/watch?v=LWbj7FYEi3M"
dailymotion: "http://www.dailymotion.com/video/xc1g5i_le-clarinettiste-raphael-severe_news"
vimeo: "http://vimeo.com/8461260"

If you want to host your videos, or need more customization, you should give a try to dmFlowPlayerPlugin

  • phpgeekJune 11, 2013 10:57 AM

    Youtube Video Not Working on My Project!

Add a comment

Impossible to fetch issues for this plugin.
Impossible to get this plugin changelog.

dmWidgetExternalVideoPlugin, created on March 25, 2010 by Thibault D, used by 2880 projects

Fork Diem on GitHub