Coder Social home page Coder Social logo

Piped about browser_extension HOT 66 CLOSED

libredirect avatar libredirect commented on June 27, 2024 3
Piped

from browser_extension.

Comments (66)

 avatar commented on June 27, 2024 1

I mean in the instances list remove api from URL so it might not return a 404 error or a raw JSON data.

from browser_extension.

 avatar commented on June 27, 2024 1

@ManeraKai I think this is pretty much a great Idea to implement. Both Invidious and Piped users gets benefit of this.

With the exceptions, You don't need to do anything as in the exceptions menu of Libredirect, If we add a URL it is automatically excluded from redirection. That's it. You just need to force the URLs to redirect to specific Frontends.

This is personal Question, How to actually use the Freetube Redirect because I haven't used it from the start ?

from browser_extension.

FireMasterK avatar FireMasterK commented on June 27, 2024 1

No, I don't think Piped have this options.
CC: @FireMasterK

A full list of parameters can be found at https://piped-docs.kavin.rocks/docs/parameters/

from browser_extension.

 avatar commented on June 27, 2024 1

Kai, Can you also look onto this ?

TeamPiped/Piped-Redirects#10 (comment)

2nd Video. Can you be able to fix it ?

@FireMasterK can you also contribute something for this ?

from browser_extension.

 avatar commented on June 27, 2024 1

Does the settings you have for Invidious do apply to Piped too ?

Maybe this is pending.

from browser_extension.

 avatar commented on June 27, 2024 1

It is Inoreader, My RSS reader where I have my YouTube Subscriptions.

from browser_extension.

 avatar commented on June 27, 2024 1

I think there is none available like that. Your best bet would be using Inoreader(Closed Source) with an Alias or Feedbin (Premium, OpenSource with trial no credit card needed) which also suffers from this.

from browser_extension.

 avatar commented on June 27, 2024 1

Okay, I think that is in the hands of @FireMasterK . We shall see about it later.

from browser_extension.

 avatar commented on June 27, 2024 1

Thanks for adding Piped.

from browser_extension.

den7007 avatar den7007 commented on June 27, 2024

Would be great to integrate this so there is no need to install another add-on just for Piped (For the meantime, am using theirs: https://addons.mozilla.org/en-US/firefox/addon/piped-redirects/)

from browser_extension.

 avatar commented on June 27, 2024

Yeah, I am also. The Thing is we can make them to can implement Invidious Redirect like there and just redirect to the Invidious Instance we want by just adding an Exception.

from browser_extension.

 avatar commented on June 27, 2024

Instances list to be added : https://github.com/TeamPiped/Piped/wiki/Instances

from browser_extension.

 avatar commented on June 27, 2024

Just remove the api before implementing because it was to used to use between the Instances in the Own Pool of Instances

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

What api do you mean?

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

The instances list is the weirdest list I've seen so far. I've eventually got all the URLs correct except for moomoo.me.

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

Added it: b4fcdf2

from browser_extension.

 avatar commented on June 27, 2024

Is it separate from Invidious ?

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

Is it separate from Invidious ?

Ofc, you can choose between it and invidious in the settings pages

from browser_extension.

 avatar commented on June 27, 2024

Will this be in a New Release or by hitting Update Instances ?

from browser_extension.

 avatar commented on June 27, 2024

I think you can also consider this - SimonBrazell/privacy-redirect#181 (comment)

Even redirecting invidious to Piped links if we want invidious links not to redirect we can use an Exception rule which will be useful. This is actually working of the Official Piped extension but there is not exception like in Lib or Privacy redirect.

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

Will this be in a New Release or by hitting Update Instances ?

Update instances only updates a json file containing a list of working insances. This new code should be in a new release.

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

I think you can also consider this - SimonBrazell/privacy-redirect#181 (comment)
Even redirecting invidious to Piped links if we want invidious links not to redirect we can use an Exception rule which will be useful. This is actually working of the Official Piped extension but there is not exception like in Lib or Privacy redirect.

Why do you want to redirect invidious links?

from browser_extension.

 avatar commented on June 27, 2024

I think you can also consider this - SimonBrazell#181 (comment)
Even redirecting invidious to Piped links if we want invidious links not to redirect we can use an Exception rule which will be useful. This is actually working of the Official Piped extension but there is not exception like in Lib or Privacy redirect.

Why do you want to redirect invidious links?

Because Piped is better than Invidious in terms of overall Use, Performance and Stability and unlike Slow development of Invidious it is developing at a faster rate and the community like it.

from browser_extension.

 avatar commented on June 27, 2024

That is also why I told you that if we need Invidious we can make a exception. If you are worried that other users will not know better make a notice about it when using the feature.

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

I mean the only links that the user will click are youtube links, I didn't see any invidious link other than in matrix rooms

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

I already made Piped the default option, users can however choose the frontend they want:
image

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

Same thing goes for Translate, Search, Reddit. All have multiple frontends that you can choose which one in the settings. However, the best option is the default option.

from browser_extension.

 avatar commented on June 27, 2024

I think you should use the Official Piped Redirects extension, enable it and then click on Invidious and YouTube Links with Libredirect disabled.

from browser_extension.

 avatar commented on June 27, 2024

You will then understand by what I mean

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

I've now done that, yeah redirecting Invidious links to Piped, but why? No one uses invidious links to share media.

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

Maybe I'm missing something?

from browser_extension.

 avatar commented on June 27, 2024

Maybe I'm missing something?

Because privacy oriented guys like Techlore in their surveillance Report and majority of matrix users use Invidious links of Instead of YouTube which is very much old schooled and broken often at sometimes so you don't get to like to view it and also in Piped we have an account system like Piped and settings that apply cross site. But in Invidious we need to have the settings already and need to save it as a cookie and also we may clear and many consequences to face with Invidious such as Google Captchas & limits number of users or Video Player Broke, etc.

That is why I also propose a solution add a banner in the section and use of exception solves this.

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

I see, I'll make it when invidious is selected, it will forward youtube and piped urls to it. Same thing for piped, it will redirect youtube and invidious links to it. Same for FreeTube too...

That is why I also propose a solution add a banner in the section and use of exception solves this.

If a person chose to view videos in a specific Frontend, then I don't think they want to have exceptions. If someone requested that feature, I'll add it.

What do you think @Loki-L1130 ?

from browser_extension.

 avatar commented on June 27, 2024

Does the settings you have for Invidious do apply to Piped too ?

from browser_extension.

alefvanoon avatar alefvanoon commented on June 27, 2024

Does the settings you have for Invidious do apply to Piped too ?

No, I don't think Piped have this options.
CC: @FireMasterK

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

This is personal Question, How to actually use the Freetube Redirect because I haven't used it from the start ?

Just install FreeTube, and select it as a frontend, this is how it redirects in code: https://github.com/libredirect/libredirect/blob/master/src/assets/javascripts/helpers/youtube/youtube.js#L239

original: https://www.youtube.com/watch?v=J4osVFVeQrI
new: freetube://https://www.youtube.com/watch?v=J4osVFVeQrI

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

Does the settings you have for Invidious do apply to Piped too ?

Not yet, but that is a nice idea btw.

from browser_extension.

 avatar commented on June 27, 2024

original: https://www.youtube.com/watch?v=J4osVFVeQrI new: freetube://https://www.youtube.com/watch?v=J4osVFVeQrI

So, It automatically opens Videos in Freetube even it is an embed ?

from browser_extension.

 avatar commented on June 27, 2024

Not yet, but that is a nice idea btw.

@FireMasterK Could help you ya ?

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

So, It automatically opens Videos in Freetube even it is an embed ?

This might be a problem. I thought of it before to add an extra option for embeds if FreeTube was selected.

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

I forgot I added the disable freetube part for only embeds. Now I just need to add an additional setting.
image

from browser_extension.

 avatar commented on June 27, 2024

So, It automatically opens Videos in Freetube even it is an embed ?

This might be a problem. I thought of it before to add an extra option for embeds if FreeTube was selected.

I am just asking not a feature request.

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

I am just asking not a feature request.

It became a feature request, no problems with that 👍

from browser_extension.

 avatar commented on June 27, 2024

Consider this : TeamPiped/Piped#786 (comment) before full implementation of Piped. I mean hang on.

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

Isn't the extension considered as the full implementation?

from browser_extension.

 avatar commented on June 27, 2024

Isn't the extension considered as the full implementation?

Yeah, It is but it has issues with replacing embeds of Shorts Videos alone. Which I think could be fixed as Invidious does this perfectly. May consider this as you could be able to fix this.

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

in invidious redirection: just delete of the /shorts path
https://github.com/libredirect/libredirect/blob/master/src/assets/javascripts/helpers/youtube/youtube.js#L268

from browser_extension.

 avatar commented on June 27, 2024

So, You mean it is possible on Piped like you did for Invidious or does @FireMasterK do need to change anything on the Frontend side ?

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

Youtube shorts are just like regular videos.

do need to change anything on the Frontend side ?

No need, hopefully

from browser_extension.

 avatar commented on June 27, 2024

So, You made the shorts video to be like a normal Video - Right ?

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

yep

from browser_extension.

 avatar commented on June 27, 2024

Great, Then, I think everything is solved and Piped is Ready for Deployment.

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

Just test it first if you can.

from browser_extension.

 avatar commented on June 27, 2024

Sure, But How ?

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

If you find a YouTube short link, try to remove the /shorts thingy. This needs a phone btw.

from browser_extension.

 avatar commented on June 27, 2024

Sure, I do have a Shorts Video Link. Check it out here : https://www.youtube.com/shorts/ilC3t2VvOw0

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

And it's working:
https://piped.kavin.rocks/ilC3t2VvOw0
https://piped.kavin.rocks/watch?v=ilC3t2VvOw0

from browser_extension.

 avatar commented on June 27, 2024

Yeah, It is but what if instead of /shorts it shows /watch?v= in URL

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

Piped iteself redirected that. I can added though myself to LibRedirect, no big deal

from browser_extension.

 avatar commented on June 27, 2024

But I mean the UI. Go to this Issue, TeamPiped/Piped-Redirects#10

and see this video :
image

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

I'll see what I can do.. weird stuff tbh

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

and see this video :

@Loki-L1130 can you give the link of the site

from browser_extension.

 avatar commented on June 27, 2024

Kai, You used a confused Emoji. What's up with the thing. Is there ways I can help.

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

I need a site that has an iframe of a youtube shorts video

from browser_extension.

 avatar commented on June 27, 2024

@ManeraKai, I tried the new Version of Libredirect. But the Shorts video is not in the 16:9 ratio like in the Movies.

from browser_extension.

ManeraKai avatar ManeraKai commented on June 27, 2024

@ManeraKai, I tried the new Version of Libredirect. But the Shorts video is not in the 16:9 ratio like in the Movies.

I think that should be a bug in the iframe. I can't do anything about it.
I've helped and even made short YouTube links as normal ones, that didn't help apparently.

from browser_extension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.