Giter VIP home page Giter VIP logo

Comments (5)

rg3 avatar rg3 commented on June 19, 2024

I guess modifying the URL would be enough, but I need more information. Usually, embedded videos let you copy the URL easily to a format youtube-dl knows. If you don't have flash in your browser and need to peek at the page source or someting else to find out the URL of the object, you can copy the video identifier as easily.

So this will be a "wontfix" until more info is available and it's proved that it's much easier to copy that URL than anything else.

By the way, if new info is available be sure to post it in this issue thread. I will not be monitoring the debian bug page.

from youtube-dl.

rg3 avatar rg3 commented on June 19, 2024

Originally by anonymous:

Copying the whole URI just requires right-clicking on the URI in the source and choosing "copy"; attempting to copy part of the URI proves difficult without clicking on it in the view source window. (Also, ideally having support for this URI format would allow youtube-dl to detect it by just giving the URI of the page embedding the video, but I can live with having to use view source.)

And to answer the original question, I use youtube-dl specifically because I don't have flash.

(And, also, if you use adblock plus, you can just right-click on the "block" tab and choose "copy link location".)

That said, apparently youtube-dl does now support URLs used for embedded videos, so this bug seems fixed. Thanks! :)

from youtube-dl.

rg3 avatar rg3 commented on June 19, 2024

Originally by "andreambu":

I've just tried youtube-dl with the video reported on bugs.debian and it's not working for me. Anyway if all embedded videos look like that changing a regex should be enough to support that kind of url.

You can find a patch as attachment.

from youtube-dl.

rg3 avatar rg3 commented on June 19, 2024

Thanks for the patch. I'll handle the issue states. It's not resolved until it's in my repository. I won't change the regex until I have a use case for that type of URL.

Edit: clarification: when I'm browsing the web and there's a YouTube video embedded in a webpage, I get a temporary Flashblock placeholder (I use Flashblock with Firefox). When I right-click on it, I can choose "Copy flash location" and the URL copied to the clipboard has the form "http://www.youtube.com/v/VIDEO_ID", so I'm not sure where the original user in the Debian bug report got the other type of URL. In my case, the webpage source looks like this:

<embed
    width="425" height="350" wmode="transparent" type="application/x-shockwave-flash"
    src="http://www.youtube.com/v/VIDEO_ID "></embed>

from youtube-dl.

rg3 avatar rg3 commented on June 19, 2024

I'm closing this issue due to lack of information and proper explanation of the use case, and for the reasons described in the post above.

from youtube-dl.

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.