git clone git://github.com/ornicar/dmWidgetExternalVideoPlugin.git plugins/dmWidgetExternalVideoPlugin
class ProjectConfiguration extends dmProjectConfiguration { public function setup() { parent::setup(); $this->enablePlugins(array( // your enabled plugins 'dmWidgetExternalVideoPlugin' ));
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
dmWidgetExternalVideoPlugin, created on March 25, 2010 by Thibault D, used by 2789 projects
phpgeekJune 11, 2013 10:57 AM
Youtube Video Not Working on My Project!