Info

Category: widgets
Licence: GNU General Public License (GPL) version 2
Updated: 125 days ago
Downloaded: 7027

Releases

Author Recommended: 0.9

Previous releases:

Images

More projects by Cash:

1

Recommendations

Summary:

Add videos from Youtube, Hulu, Vimeo, Metacafe to user profiles or front page

Full description:

Features:

  1. Extremely easy to add videos to your front page
  2. Enables users to easily add videos to the profile pages (as many as they want)
  3. Supports youtube, hulu, vimeo, google video, metacafe, veoh, daily motion, blip.tv, teacher tube
  4. Supports both url and embed code for most sites
  5. Allows admin to set video width to fit theme
  6. Works with activity plugin of Elgg 1.5 (river integration for 1.2 commented out)
  7. Lightweight plugin

Description: This plugin provides a widget for embedding video in a user profile or for an admin to embed a video on the front page. The videos must be flash videos from sites like youtube. The plugin will handle the video url or the <embed> code. More than one video can be added to a profile by adding the widget more than once. The user can add a title and a single comment about the video through the widget edit area.

 

Installation: Unzip and place in mod directory. Activate through Tools Administration. There is an admin setting for video width that can be changed after activation. Just reload the Tools Administration and click "more info". This allows Elgg sites with custom themes to adjust the widget to fit their theme. To upgrade, just copy the files over the old ones.

Usage: As currently configured, this plugin enables users to add videos to their profiles. The user needs to add the video widget to the profile page, edit the widget and then paste the url or embed code into the video url textbox. Hulu and blip.tv only accept embed codes and not the page url.

Administrators can use this to easily add a video to their Elgg front page. Set the video url and width in the Tool Administration settings. Then insert the function embedvideo_frontpage() in your front page plugin. It might look something like $content .= embedvideo_frontpage();

 

Requirements:Tested with 1.2, 1.5, 1.6, 1.7

Bug Reports: Please include the actual url text that was pasted.

Video Sites Supported: youtube, hulu, google, vimeo, metacafe, veoh, daily motion, blip.tv, teacher tube

 

Release notes:

  • Added support for Hulu (embed code only)
  • Added support for Teacher Tube URLs
  • Updated support for Google, Metacafe, Veoh, Dailymotion, blip.tv, and Teacher Tube

Can you elaborate more on how to embed a video into a blog post. Many thanks

Mourad Diouri 108 days ago

I am using custom_index_widgets

Can you tell me where to the code for frontpage videos?

Thanks!

Lextrading 107 days ago

Can you elaborate more on how to embed a video into a blog post and pages mod! Many thanks

Larsen 107 days ago

@Mouran and Larsen - this plugin does not currently support embedding videos in blogs or pages.

@Lextrading - better to ask the author of that plugin.

Cash 107 days ago

This plugin is working really well.  Thanks

MsFreeman 101 days ago

Update: This plugin is working well on my user pages, howeer I am having great trouble getting it onto my front page.  Can you provide more detail on where to find the frontpage plugin and how to embed the video.  

Thanks in advance :)

MsFreeman 100 days ago

Find this file in the custom_index plugin: http://trac.elgg.org/browser/elgg/branches/1.7/mod/custom_index/views/default/canvas/layouts/new_index.php

Then trying adding something like this:

<div class="index_box">

<?php echo embedvideo_frontpage(); ?>

</div>

 

Note: you need to make sure you insert this is a good location or otherwise you will get a blank screen. Just look at the pattern of how to jumps back and forth from HTML code and PHP code.

Cash 100 days ago

Hi,

 

I wanted to embed a video on my blog, but when I pushed the embed button, just seemed that "all".
Is this normal?

Roland 92 days ago

I can't see a "video" widget - only a "file" widget, which lists my videos - clicking on a video file icon takes me to the default "file" page

sami 77 days ago

Also, the Flash player (debug version) gives me the following error:

 Error: 200, Stream not found, NetStream.Play.StreamNotFound, clip: '[Clip] 'http://localhost/elgg_copy_2/elgg-1.7.1/action/file/download?file_guid=13''
    at org.flowplayer.view::Launcher/doHandleError()
    at org.flowplayer.view::Launcher/onClipError()
    at EventListener/notify()
    at org.flowplayer.model::EventDispatcher/_dispatchEvent()
    at org.flowplayer.model::EventDispatcher/http://flowplayer.org/core/internal::doDispatchErrorEvent()
    at org.flowplayer.model::EventDispatcher/http://flowplayer.org/core/internal::doDispatchEvent()
    at org.flowplayer.model::Clip/onClipEvent()
    at EventListener/notify()
    at org.flowplayer.model::EventDispatcher/_dispatchEvent()
    at org.flowplayer.model::EventDispatcher/http://flowplayer.org/core/internal::doDispatchErrorEvent()
    at org.flowplayer.model::ClipEventDispatcher/dispatchError()
    at org.flowplayer.controller::NetStreamControllingStreamProvider/_onNetStatus()

The file exists though - when I enter the following URL, I get a download file prompt as normal:

http://localhost/elgg_copy_2/elgg-1.7.1/action/file/download?file_guid=13

sami 77 days ago

@sami - you have to activate this plugin before the embed widget is added and the error that you posted has nothing to do with this plugin.

Cash 77 days ago

ok - thanks Cash - will give it a try - I dunno how you subscribe to posts - I did not get a notification of your reply...

sami 59 days ago

Does this automatically create image icons as well for the video files?

webnovice 36 days ago

@webnovice - no

Cash 36 days ago