Login     Sign up
Video sharing not working
thuvalpakshi (@thuvalpakshi)
Join date: Sep 2nd 2010
Community posts: 13
View Profile
Send Message

if i try to share a video, source [code]http://www.youtube.com/watch?v=fVz413d3vnc[/code] then i am getting a error message

[code]Invalid Youtube video URL:[url]http://gdata.youtube.com/feeds/api/videos/fVz413d3vnc[/code][/url]

please help

175 months ago
thuvalpakshi (@thuvalpakshi)
Join date: Sep 2nd 2010
Community posts: 13
View Profile
Send Message

[quote=thuvalpakshi]if i try to share a video, source [code]http://www.youtube.com/watch?v=fVz413d3vnc[/code] then i am getting a error message

[code]Invalid Youtube video URL:[url]http://gdata.youtube.com/feeds/api/videos/fVz413d3vnc[/code][/url]

please help [/quote]

if i install this in localhost in my PC video sharing working what would be the problem?

175 months ago
lesley (@dn31)
Join date: Aug 4th 2010
Community posts: 5
View Profile
Send Message

Edit the php.ini file
find allow_url_fopen = Off make sure its on

175 months ago
thuvalpakshi (@thuvalpakshi)
Join date: Sep 2nd 2010
Community posts: 13
View Profile
Send Message

thank you very much sir.
since i have a free hosting this option "allow_url_fopen" is off. after contacting web hosting service, i came to know that switching it on, is very dangerous. he advised me to use curl library to get remote files. (I dont have any idea about this curl library )
thank you very much

175 months ago
Troy (@tdkrantz)
Join date: Sep 14th 2010
Community posts: 8
View Profile
Send Message

[quote=dn31]Edit the php.ini file
find allow_url_fopen = Off make sure its on [/quote]

Hi all! Thanks for taking the time to read this post.

Same problem here also and allow_url_fopen in set to "On". The module itself uses file_get_contents(). I've tested it by itself and get the same error the module produces: "Couldn't connect to server" and "failed to open stream" although the script returns "invalid URL". I am using a validated remote URL.
Any ideas? I'm may have to convert it to use cURL if I can't get it to work. I really like this script that much.

175 months ago
Troy (@tdkrantz)
Join date: Sep 14th 2010
Community posts: 8
View Profile
Send Message

[quote=tdkrantz]

Hi all! Thanks for taking the time to read this post.

Same problem here also and allow_url_fopen in set to "On". The module itself uses file_get_contents(). I've tested it by itself and get the same error the module produces: "Couldn't connect to server" and "failed to open stream" although the script returns "invalid URL". I am using a validated remote URL.
Any ideas? I'm may have to convert it to use cURL if I can't get it to work. I really like this script that much. [/quote]

Oh Yeah! Answered my own question. For others with the same problem, try adding the following attribute to the php.ini: allow_url_include = On. :)

175 months ago
Sourabh Arora (@sourabh1290)
Join date: Nov 29th 2010
Community posts: 2
View Profile
Send Message

How to edit php.ini file?

And where is php.ini file located?

172 months ago
Sourabh Arora (@sourabh1290)
Join date: Nov 29th 2010
Community posts: 2
View Profile
Send Message

Where is my php.ini file located?

172 months ago
AL (@switch48)
Join date: Sep 1st 2010
Community posts: 450
View Profile
Send Message

already solved try this ...Thanks to gilmichelz

[url]http://community.jcow.net/forums/viewthread/750[/url]

172 months ago