Some like embed, some like iframe, I like Floatbox, others like Colorbox.
To please all, I added settings to Googtube to make things configurable.
There are now four methods to show video:
- Embedded
- Iframe
- Colorbox (needs Colorbox module to be installed)
- Floatbox (needs Floatbox module to be installed)
There are settings for default width and height.
I implemented some options:
- Use height and width from videoinfo when available When available (Vimeo) height and width from videoinfo will be used. No/Yes
- Enable fullscreen button No/Yes
- Default autoplay setting No/Yes
- Related videos setting Show "related videos"? Not all video formats support this setting No/Yes
- Removed videos setting Show removed videos? No/Yes
Attached are versions for Drupal 6 and Drupal 7.
Regards
Luch Klooster
CONVENT app & web design & development
Comments
Comment #1
Luch commentedComment #2
Luch commentedNew upload of D6 version. Corrected missing default values in variable_get functions.
Comment #3
alexandreracine commentedHi Luch,
I am testing the googtube D7, the basic is working, that is, one youtube video already there is still working.
But I can't seem to find any interface to configure the new settings.
It should be at least in www.website.com/admin/index I guess?
Let me know what you think.
Comment #4
Cristian.Andrei commentedHere's a patch for the d7 module made out of Luch's code. No other changes have been performed. Thanks Luch for the extra functionality.
Comment #5
Cristian.Andrei commentedAnd the respective d6 module patch
Comment #6
Cristian.Andrei commentedD7 patch not working with build script, trying new file name (same contents)
Comment #7
Cristian.Andrei commentedRemoved trailing whitespaces that broke build script. Please use this patch and disregard the other ones when patching d7 module
Comment #8
artis.bajars commentedStill having trouble with getting the patch to apply cleanly. Rerolled.
Comment #9
fenda commentedThis patch is not applying for me. What's up?
Comment #10
alexandreracine commentedNot working for me too...
Comment #11
alexandreracine commentedComment #12
artis.bajars commentedHow are you applying it? Running "patch -p1 < 1538446-make-googtube-configurable-3.patch" from the module's directory works cleanly for me.
Comment #13
alexandreracine commentedI'll try that and give feedback, thanks.
Comment #14
alexandreracine commentedThe version 7.x-2 is now online! Check it out!
Comment #15
sittard commentedOn the D6 version I'm still getting 'Missing argument 2 for variable_get()' when embedding YouTube video's seems to work for Vimeo videos.
Comment #16
Luch commentedRight. The patch is based on my original attachment of D6 version.
The corrections I made in #2 are not within the patch.
Comment #17
alexandreracine commentedLuch, could you create/patch a 6.x-2.0 release please? Thanks.
Comment #18
Luch commentedPatch 6.x-2.0 including my last corrections from #2.
Comment #19
sittard commentedPlease can we have a release of this version with the patch applied? I'm struggling to apply the patch #18 cleanly against 6.x-1.1 and I can't locate an official 6.x-2.0 to patch against.
Thanks.
Comment #20
alexandreracine commentedIt's coming...
Comment #21
alexandreracine commentedEverything is now online. :)
Comment #22
gfushion commentedhow do you solve this?
Warning: get_headers() [function.get-headers]: URL file-access is disabled in the server configuration in googtube_youtube() (line 159 of /home/youita/public_html/sites/all/modules/googtube/googtube.module).
Warning: get_headers() [function.get-headers]: This function may only be used against URLs. in googtube_youtube() (line 159 of /home/youita/public_html/sites/all/modules/googtube/googtube.module).
Warning: get_headers() [function.get-headers]: URL file-access is disabled in the server configuration in googtube_youtube() (line 159 of /home/youita/public_html/sites/all/modules/googtube/googtube.module).
Warning: get_headers() [function.get-headers]: This function may only be used against URLs. in googtube_youtube() (line 159 of /home/youita/public_html/sites/all/modules/googtube/googtube.module).
Warning: get_headers() [function.get-headers]: URL file-access is disabled in the server configuration in googtube_youtube() (line 159 of /home/youita/public_html/sites/all/modules/googtube/googtube.module).
Warning: get_headers() [function.get-headers]: This function may only be used against URLs. in googtube_youtube() (line 159 of /home/youita/public_html/sites/all/modules/googtube/googtube.module).
Warning: get_headers() [function.get-headers]: URL file-access is disabled in the server configuration in googtube_youtube() (line 159 of /home/youita/public_html/sites/all/modules/googtube/googtube.module).
Warning: get_headers() [function.get-headers]: This function may only be used against URLs. in googtube_youtube() (line 159 of /home/youita/public_html/sites/all/modules/googtube/googtube.module).
Comment #23
alexandreracine commentedPlease reopen a new bug report, you are in luck if I saw this.
Comment #23.0
alexandreracine commentedTypo's corrected.