I've recently installed the Media:SchoolTube module. **** I am using the 6.x-2.x branch of Embedded Media Field - based on the important note by cafuego on the module. *****
HOWever, when I tried to create a Media:SchoolTube video, I got the following error for the URL that I input:
warning: Parameter 6 to emvideo_schooltube_video() expected to be a reference, value given in /www/htdocs/juntolives.org/modules/emfield/emfield.module on line 650.
Aren't we supposed to be using the URL that points to the video on schooltube as our input...? Is this a user error, or is the emvideo_schooltube_video() function expecting some other type of parameter (that is, am I passing-by-value with the URL, or is the argument list off somehow...or?)
I thought I saw something like this awhile back for teachertube, but couldn't find it again...
Comments
Comment #1
cafuego commentedThis should be fixed in the new -dev version, which should be auto-built in the next few hours. If you want to do a quick local fix before then, change "&$node" to "$node" in the
function emvideo_schooltube_preview()line.Please let me know how you go; if it sorts the issue I'll release a new stable version.
[edit] I appear to not be able to create a new -dev revision, so try the quick fix until the git gods help get me sorted...
Comment #2
cafuego commented