Comments (18)
There is no player or the player is there but the video is not playing? If the video is not playing than that means that the URL of a video has special encryption whose algorithm changes almost every day so it is impossible for me to keep up with those updates. But the player itself should always be there. Which video is not showing a player?
from php-proxy-app.
The player does not always appear, however I have moved to a new server and the proxy does not work at all. I will now create a new thread
from php-proxy-app.
Reopened due to reoccurence of issue: Answering your question, yes the player only opens on certain videos, on others it does not appear, below the address bar there is just over an inch of gray and then the video title and uploader info. On other videos the player opens just fine
from php-proxy-app.
send me a screenshot or the actual URL of the youtube video where this happens
from php-proxy-app.
Just as an example:
This Works fine:
https://www.youtube.com/watch?v=J---aiyznGQ
This does not work:
https://www.youtube.com/watch?v=QH2-TGUlwu4
from php-proxy-app.
Vevo videos aren't supported at the moment. You could install youtube-dl to make it work for now:
https://github.com/Athlon1600/php-proxy/blob/master/src/Plugin/YoutubePlugin.php#L66
from php-proxy-app.
It isnt just vevo videos, I have problems with others, for example Nyan Cat (Just as an example): https://www.youtube.com/watch?v=QH2-TGUlwu4 does not work
from php-proxy-app.
ah I didn't mean to say that this only applies to Vevo videos. No, YouTube does some special encryption on ALL videos that are "monetized". So that's basically all music videos and almost every video with massive amount of views (like nyan cat). Do you have access to your VPS? If you installed youtube-dl, you wouldn't be having this problem.
from php-proxy-app.
Ah ok,I get you. I am actually running this on an old PC in my garage so yes I have access to it, I put YouTube-DL in the plugins directory. It the proxy just goes to a white screen when I try and use it. The log mentiones that Class 'YoutubePlugin' could not be found
from php-proxy-app.
you don't need to modify php-proxy here in any way. Just look at the code:
https://github.com/Athlon1600/php-proxy/blob/master/src/Plugin/YoutubePlugin.php#L27
if youtube-dl command works on that computer, it will automatically be called and its results automatically parsed by YouTubePlugin
from php-proxy-app.
I get you, I got confused about what you meant, I will install YouTube-dl and try again
from php-proxy-app.
I installed YouTube-DL (apt-get youtube-DL) and restarted apache. It still does not work. Do I need to restart the entire server?
from php-proxy-app.
are you on windows or linux? Type in "youtube-dl" into your command line and tell me what it says.
from php-proxy-app.
I'm on Linux
ellis@eobws1:~$ youtube-dl
Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.
ellis@eobws1:~$
from php-proxy-app.
I guess you would need to debug it first by editing YouTubePlugin.php:
https://github.com/Athlon1600/php-proxy/blob/master/src/Plugin/YoutubePlugin.php#L27
add:
var_dump($output);
exit;
after line 28. I'm very curious what the output of that command is.
from php-proxy-app.
I'm confused, is youtubeplugin.php meant to be in the plugins directory? When I put it in there the proxy gives error 500
from php-proxy-app.
aah never mind. I just found the problem. I tried installing youtube-dl myself through apt-get and this is the error I got when I tried to download that nyan cat video:
ERROR: Signature extraction failed: Traceback (most recent call last):"
it would appear that youtube-dl is out of date, but then I checked the version and it didn't match the latest version. Apt-get itself seems to be the problem here because it insists on installing an outdated version of youtube-dl. You need to remove it, and then install it right from the official source here:
https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl
I just did that and everything started to work.
from php-proxy-app.
SUCCESS! Followed the install guide on the link and it works perfectly. Thank you for all the help and for making this amazing script
from php-proxy-app.
Related Issues (20)
- cookie support HOT 1
- i use it to proxy mp4 file,but just play a minute,browser show network error
- Getting error when trying to visit this site HOT 1
- can I use soap2day.to
- Advantages when compared to Glype?
- Range support? HOT 1
- I am unable to add plugins
- Using this for a shoutcast proxy is there a way to forward the Ip of the original user?
- new php proxy app demo links
- Form action location append
- client on windows
- The Script Doesn't Handle Pages with charset=gbk
- Project appears to be abandoned, use at your own risk ! HOT 1
- Javascript disabled after One-Click Install
- Modify heads proxy sends // Sync UserAgent HOT 1
- Log requests to a file HOT 2
- Stable PHP version? HOT 1
- How to Deny Access to Specific URL in htaccess? based on IP
- damn tis rtrd just left this repo to die srsly how to u even start it
- graphical issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-proxy-app.