I was logged in as administrator and did not get a slideshare to show up but the module does get a # for the slideshare and seems to accept it but it does not appear in the node.
See two examples, each with a different slideshare, one as a page and one as a blog (i think).
The two most recent posts on:
Any ideas what is happening here?
Thanks again!
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | slideshare_2.patch | 1.08 KB | slerby |
| #15 | slideshare.patch | 1.32 KB | slerby |
Comments
Comment #1
xecstasyx commentedI got the same issue , so i checked my logs and found this :
Parameter 6 to emvideo_slideshare_video() expected to be a reference, value given in /sites/all/modules/emfield/emfield.module on line 622.Line 622 says:
return emfield_include_hook($module, $provider, $hook) ? call_user_func_array($function, $args) : NULL;Comment #2
robert castelo commentedI'm not getting anything either. Is the Drupal 6 beta working for anyone?
I've tried pasting in the URL of the Slideshare page the presentation is on, the embed code, the embed code prefixed with "video:".
Also tried setting display format to Default, and Video.
Comment #3
xecstasyx commentedDo you get the same errors i did?
Could it be a server side configuration problem?
Drupal 6.16
PHP 5.3.2
Apache 2.2.14
MySQL 5.1.41
Any help or tips please?
Comment #4
robert castelo commentedNo errors as far as I can tell, just fails silently.
Comment #5
xecstasyx commentedAlso noticed that once i paste the embed code or url then save and the edit again... the id of the slideshare wont show and point to my local web
ie:
(slideshare ID: 1365667) <--- points to http://localhost/web
Would it be related to Embedded Media Field?
Comment #6
McNott commentedI have exactly the same problem. The ID either points to the local website or is a number which is a link to the local website. Also when creating the field there is no option to select 'slideshare' embedded video being the only choice. Everythng seems to be good checked and rechecked though no luck in the display.
it may be in the permissions though but I cant find it as you must give permission to view embedded video and other embedded media type though the fact that the slideshare ID is not registering is a worry.
Comment #7
mightyulysses commentedI figured out from the code that you need an API key, you can get one instantly from the slideshare site and input it into the config field in Emfield. It works fine after that.
Comment #8
fresheyeball commentedI get the following error, regardless, when I have the slideshare module enabled:
warning: Parameter 6 to emvideo_slideshare_video() expected to be a reference, value given in .....\modules\emfield-6.x-2.1\emfield\emfield.module on line 650.
I applied for and entered an API key for slideshare and am still experiencing this error.
Comment #9
str1 commentedSame problem here: warning: Parameter 6 to emvideo_slideshare_video() expected to be a reference, value given in /etc/drupal/6/sites/all/modules/emfield/emfield.module on line 650
Could this be related to PHP 5.3 errors which occur all over drupal core and modules? Been fixing same kind of problems with many other modules today.
Comment #10
squinternata commentedsame here..do you have some news?
Comment #11
designguru commentedI'm guessing this is because you all were trying to use a URL like with using youtube videos and the embedded media field... you have to instead use the tag that slideshare gives you when you choose 'wordpress.com blogs' embed - to get that code, choose embed and then 'customize' on the slideshare slideshow.
q./
Comment #12
kmadel commentedThis is definitely a PHP 5.2 vs 5.3 issue. Using MAMP to develop I just switched from 5.3 to 5.2 and this issue went away.
Comment #13
squinternata commentedI put in the embedded field only the iD of wordpress embedded code and not it works.
In this way i have to put every ID manually, it would be great to have a feed of slideshare presentations for own user.
is it possible?
thanks
A
Comment #15
slerby commentedI confirm #8, #9 and #12. I've this issue in Ubuntu 10.10 (PHP 5.3.3) and not in Debian Lenny (PHP 5.2.6). This is a patch for fixing this issue.
Comment #16
arnold_mad commentedHi !
I applied the patch from slerby (post #15) but I still get this error on ubuntu 10.04.1 LTS (php 5.3.2-1ubuntu4.5). My slideshare.theme.inc looks like this after patching:
<?php
// $Id: slideshare.theme.inc,v 1.3 2009/11/25 16:04:43 antoniodemarco Exp $
/**
* @file
*
* Theme functions for Slideshare module
*/
/**
]*>(.*?)<\/object>/', $item['data']['EMBED'][0], $matches); $output = ''. $matches[1][0] .''; $output = preg_replace('/width="(\d*)"/', 'width="'. $width .'"', $output); $output = preg_replace('/height="(\d*)"/', 'height="'. $height .'"', $output); return $output; } anyone know what could be wrong ?* Flash embed.
*/
function theme_slideshare_flash($embed, $width, $height, $field, $item, $node, $autoplay) {
$matches = array();
preg_match_all('/
Comment #17
arnold_mad commentedComment #18
slerby commentedThe patch in #15 in incomplete. Here's a new patch, apply this AND #15.
Comment #19
pescetti commentedThis issue, at least by reading the comments, seems to be essentially a duplicate of #1062102: Fix warning: Parameter 6 to emvideo_slideshare_video() expected to be a reference, value given which is fixed in the latest dev version, with a micro-patch similar to those discussed here.