Welcome, Guest
Please Login or Register.    Lost Password?

Can't fetch Youtube, or other services, videos
(1 viewing) (1) Guest
Go to bottomPage: 1234567
TOPIC: Can't fetch Youtube, or other services, videos
#128
Can't fetch Youtube, or other services, videos 9 Months, 3 Weeks ago Karma: 0
I'm getting pretty disapointed with this module, and I haven't get any satisfactory answers. Since the old forum is somewhere else, I'm going to post my problems again.

I'm working at an academic library, and we are trying to make a collection of videos. This module was pretty much what we've considered to be our best options.

I've been testing it on my computer using Xampp, and the module seemed to be working fine so far, but when I moved it to our server which has all the requirements mentioned (except for FLVtool2 which is not yet installed) I can't get any remote video from Youtube, Dailymotion or any other video service. It doesn't not collect meta-information, video, or anything. We need this to work, or else we have to consider another component.

Some support here, please. Don't tell me it's just my server problem, because we have dedicated servers where we can change things up. We just need to know what!

The module can be viewed on this page
[http://sid.iscal.ipl.pt/index.php/sidtube]
miguelcorreia (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#141
Re: Can't fetch Youtube, or other services, videos 9 Months, 3 Weeks ago Karma: 1
so you can fetch videos from the WAMP but on the live server it does not work?? Right there it would tell you its the server settings...

and there is the problem is the way things were as the new release will have version numbers on everything also there a great debug system i built into it so i finding the problems will be a hell of a lot easier...

the remote plugins do not use ffmpeg, ffmpeg-php, flvtools... none of that..

what it does use is allow_url_fopen to be turned on as its using file_get_contents to grab the info..

this has been changed as i added as many option that are available to grab the remote video contents along with debugging and detect he problems if there is one..

so you can use

CURL
Snoopy FSockOpen
allow_url_fopen = get_file_contents
DOMHTML or DOMXML depending if its a page scrape or and API with actual XML,RSS, JSON container..

you can see from the screenshot all the options. available on each plugin.. some will be a bit different but there were will all the available options that work will be available


check your live server for the allow_url_fopen is the problem as its turned off.. but in the new version you will not need this.

CURL should be the default to use...

or


Snoopy should work..
subfighter (Admin)
Admin
Posts: 97
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#149
Re: Can't fetch Youtube, or other services, videos 9 Months, 3 Weeks ago Karma: 0
Thanks for your reply, but there are some questions I need to ask. I'm not an expert so bear with me.

From what I understood, that image is from the new versions that have not been released yet. When they will be? I know you are still fixing a few things, but we are not using that one, so we have to fix on what we're using right now.

Secondly, where can I change the instruction on my server: "allow_url_fopen" ? I'm pretty much on my own on this, so I need to know exactly where can I change it. And remember, I'm not an expert.

I'm sorry if those sound like newbie questions to you, but one of the reasons I've choosed Jomtube was because it was an easy tool to use, without having to code. So I'm really lost here, a little help is very appreciated.
miguelcorreia (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#151
Re: Can't fetch Youtube, or other services, videos 9 Months, 3 Weeks ago Karma: 0
Hello,

Don't know if this will help you,

but to change the fopen you need to find your php.ini file, this files holds all the information for settings.

You will look for this section in the file


;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
allow_url_fopen = On

; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
allow_url_include = Off

; Define the anonymous ftp password (your email address)
;from="john@doe.com"

; Define the User-Agent string
; user_agent="PHP"

; Default timeout for socket based streams (seconds)
default_socket_timeout = 60

; If your scripts have to deal with files from Macintosh systems,
; or you are running on a Mac and need to deal with files from
; unix or win32 systems, setting this flag will cause PHP to
; automatically detect the EOL character in those files so that
; fgets() and file() will work regardless of the source of the file.
; auto_detect_line_endings = Off


;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

If you don't know where the php.ini file is make a new .php page like info.php or whatever you want to name it and place it in the same directory as your index.php file for you home page.

Within the info.php file or whatever you name it place this script

<?php
phpinfo();
?>

when you type in your url such as www.yourdomainname.com/info.php it should list some information regarding php and you should also find the path list to your php.ini file.
wjrparks (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#152
Re: Can't fetch Youtube, or other services, videos 9 Months, 3 Weeks ago Karma: 0
Okay, after some research I found out that this has to be changed on php.ini, which I already found where it is on my server. I have to ask some help from my services, I'll get back to you if needed. Don't bother answer my previous post, unless you think I'm doing somethign wrong. Thanks.
miguelcorreia (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#153
Re: Can't fetch Youtube, or other services, videos 9 Months, 3 Weeks ago Karma: 0
That will help :) Thanks!
miguelcorreia (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1234567
Moderators: undercash