Videolist v1.8-beta3

Release Notes

 

Bugfixes and enhancements:

  • Now you can disable videolist for a group, from group options.
  • There is a better way to give support to a new video platform (thanks mrclay!).
  • FIX: in videolist/views/default/videolist/watch/youtube.php

    echo "<iframe width=\"$width\" height=\"$height\" src=\"https://www.youtube-nocookie.com/embed/$video_id/?wmode=transparent\" frameborder=\"0\" allowfullscreen></iframe>";

  • I think you should include this modification in the new versions:

    View the video in place of the image on the river

    Modify code: videolist/views/default/river/object/videolist_item/create.php

    $object = $vars['item']->getObjectEntity();
    $video = elgg_view("videolist/watch/{$object->videotype}", array(
        'entity' => $object,
        'height' => '197px',
    ));

    echo elgg_view('river/item', array(
        'item' => $vars['item'],
        'message' => $video,
    ));

  • Buenisimo, a mi en la 1.8.8 no me da problemas en principio.

    Gran trabajo!!

  • @Ve what these following codes will do?

     

    $object = $vars['item']->getObjectEntity();
    $video = elgg_view("videolist/watch/{$object->videotype}", array(
        'entity' => $object,
        'height' => '197px',
    ));

    echo elgg_view('river/item', array(
        'item' => $vars['item'],
        'message' => $video,
    ));

  • kisssssss4ever

    View the video in place of the thumbnail

  • The images are not showing up (thumbs) can help me?
    http://jeguit.com.br

  • FIX: add "delete" button for objet videolist in river edit videolist/views/default/river/object/videolist_item/create.php and add code:

    if ($object->canEdit()) {
        echo "<div class='delete_note' style='float:right;'>" .  elgg_view("output/confirmlink",array(
        'href' => $vars['url'] . "action/videolist/delete?guid=" . $vars['item']->object_guid,
        'title' => elgg_echo('delete'),
        'text' => elgg_view_icon('delete'),  
        'confirm' => elgg_echo('deleteconfirm'),
        'is_action' => true,
        'priority' => 200,
        )) . "</div>";
    }

  • The images are not ok in "groups" would like to see an amendment "videos" instead of "images." Possible? I made the alterations to the river and it's all ok, excellent plugin, missing only the adjustment of images.

    http://jeguit.com.br/videolist/owner/jeguit

  • Hi, On Elgg v1.8.8 I am receiving "String could not be parsed as XML" when I enter a video URL (a youtube one). I appreciate any help...

    regards.

  • Hi,

    In the river looks great, but in the profile (Videos> User> "video name") is very large
    I use the Facebook theme ... How I can fix it?

    Thanks!

  • H, its quite urgent request. Just installed beta 3 on 1.8.6 and 1.8.8 but does not allow me to embed or choose any video material? Am I missing something please let me know

     

  • Apache Server log error:

    [error] [client IP] Elgg videolist upgrade (2012022501) failed

     

    PHP WARNING: "file_get_contents(1) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory" in file /domain.com/public_html/mod/videolist/upgrades/2012022501.php (line 41)

    videolist/upgrades/2012022501.php line 41:

        $thumbnail = file_get_contents($item->thumbnail);
        if (!$thumbnail) {
            return false;
        }

    Elgg v1.8.8 - videolist 1.8-beta3

  • thanks for this, i am glad to be using it in place of izap_videos.

    one addition that would help is to code a widget for groups that elgg recognises in the appropriate way such that widget manager supports it.

    presently the only way to display the videolist widget in groups is to disable widget manager. 

    also, a css class for the thumbnails would assist in formatting them.. presently they are elgg-image, which is overly generic for what i am wanting to do with them. 

  • are you kidding ?;-P you're an 'experienced developer' !;oO have you not browsed thru the code for this plugin and for widget manager ? (a) this plugin has the proper elgg widget code (b) widget manager it seems.. happens to chosen not caterfor & recognize this plugin in it's neat little list of eligible widgets... soo.. guess we must wait until you have some spare time to fix those little mickeynouse issues that will take an experienced developer such as you.. next to zero time to code, test and release here for the rest of us nerd-types to use and enjoy for gpl cost ;-oO;P

  • in attempting to be ego free, the ego becomes more dysfunctional and dis-eased.

    what i wrote in the post above is what i received from the authors of widget manager on the subject of the video (and tidypics) widgets, they pointed at the authors of these plugins rather than their own code. 

    they are simple issues to resolve, yes; and i do not desire to be responsible for their maintenance as it adds ever more to my task list which is already large.

  • Check out the versions of this plugin on github. Both Elgg and sem's accounts have more fixes, though some functionality is a bit different. I'd love to hear why the profile widget doesn't work when widget_manager is installed. That should be easy to get going. Send us a pull request? ;)

  • thanks for the idea steve, there's a conversation on the subject here: http://community.elgg.org/plugins/384604/4.3/widget-manager

    so far my explorations of github code has caused me more issues than revealed solutions. i might have a look soon though. 

  • I delete videolist/upgrades/2012022501.php and no more errors in Apache Server log error

  • i was looking for a way to make video embeds render underneath another page element (bottom bar) and to do that the wmode for the flash object needs to be opaque (or an alternate setting)..
    i found that this can be done by adding ?wmode=opaque on the end of the youtube file path, which works..
    however, the thumbnail is not generated when that format of url is used.

    a way to add that as either an option or a permanent setting in the plugin would be helpful. 

  • i just found that this plugin can function with widget manager for groups, by changing the widget registering line in start.php to be:
    elgg_register_widget_type('videolist', elgg_echo('videolist'), elgg_echo('videolist:widget:description'),"groups,profile"); 

  • the widget also needs to be updated to pass the right link for the 'more videos' link for groups:

    <?php
    /**
    * Elgg video list widget
    *
    * @package ElggVideolist
    */

    $num = (int) $vars['entity']->videos_num;

    $options = array(
    'type' => 'object',
    'subtype' => 'videolist_item',
    'container_guid' => $vars['entity']->owner_guid,
    'limit' => $num,
    'full_view' => FALSE,
    'pagination' => FALSE,
    );
    $content = elgg_list_entities($options);

    echo $content;
    $owner_entity = elgg_get_page_owner_entity();
    if ($content) {
    if ($owner_entity instanceof ElggGroup){
    $url = "videolist/group/" . $owner_entity->guid;}
    else {
    $url = "videolist/owner/" . elgg_get_page_owner_entity()->username;}
    $more_link = elgg_view('output/url', array(
    'href' => $url,
    'text' => elgg_echo('videolist:more'),
    'is_trusted' => true,
    ));
    echo "<span class=\"elgg-widget-more\">$more_link</span>";
    } else {
    echo elgg_echo('videolist:none');
    }

     

  • gostei muito mas imagem nao aparece porque

  • How can I avoid visiting video links by guests if a video is only for friends not for public.
    Is it possible to kick guests back to login page?

  • anyone else been seeing email notifications for new videos being sent out almost randomly? some are being sent out weeks after the video was uploaded and others (i'm fairly sure) are being sent more than once.

  • if you desire youtube videos to be rendered behind other page elements you can change the line for youtube.php in the watch folder to be:

    echo "<iframe width=\"$width\" height=\"$height\" src=\"https://www.youtube-nocookie.com/embed/$video_id?wmode=transparent\" frameborder=\"0\" allowfullscreen></iframe>";

     

sem

Lorea Developer

Stats

  • Category: Media
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 7268
  • Recommendations: 39

Other Projects

View sem's plugins