Update/Warning: This extension doesn’t work with Epiphany-Webkit. I’m sill trying to figure out the way to write a new extension for the new Epiphany. More information will follow soon.
If you are having problems downloading videos with video downloader, this is likely bug 583616 biting you. Whenever the preference dialog of epiphany is opened the download path is reset to ‚/‘. As a result you get instant download completed without the video being anywhere. To temporary fix this reset the download path in the preferences (if you need instructions: Look in the middle of the third paragraph of this blog post).
I’ll use this opportunity to point out two hidden feature. If you middle click on the video icon, it will open the video in a new tab. With the totem-plugin installed (and it recognises that it can play it) it might play the video right there. Otherwise you will get the well-known dialog box asking for a "save-as" or "open". Thanks to Josselin Mouette for this patch.
It is possible to play the videos in totem instead of downloading (this was requested in bug 567801). However I don’t have any UI (not even gconf) to switch it on, yet. So you’ll have to change DEFAULT_OPEN = OPEN_WITH_DOWNLOAD
to DEFAULT_OPEN = OPEN_WITH_TOTEM
in video-downloader.py. Tell me what you think about it. I’m thinking about making it the default as the first bug cripples the automatically downloading the video. On the other hand it takes a bit for totem to start playing and after all it is called “video downloader”.
11 Kommentare
Comments feed for this article
31. Mai 2009 um 17:13
Epiphany video download extension « Blauebirke
[…] There is a bug in epiphany which is giving major problems in this extension. Please read how to temporary fix its doings. […]
3. Juni 2009 um 20:29
Peng
Are you looking into possibly adding the ability to set a preference regarding the HD vids on YouTube? I know the Firefox Video Download Helper extension can allow this but I don’t know how easy it would be to set this in Epiphany.
3. Juni 2009 um 21:09
blauebirke
All the dirty work about talking to the video sites is passed to clive. And clive supports this in the development version and soon to be released stable (2.2.0). To activate it add –format=best to the clive’s config file (~/.cliverc). More information on the clive issuetracker:
http://code.google.com/p/clive/issues/detail?id=15
9. September 2009 um 16:36
Peng
I discovered a major issue when trying to download a YouTube video yesterday. I’m using the latest version of your code (20 June 2009) with version 1.0.2-1 of clive and got the error message shown in the picture at http://picasaweb.google.com/lh/photo/O-7bZE4ZO3vOs1Qk2C9RKg (screenie taken this morning). Am I using an outdated version of clilve? It is the newest version available in the Ubuntu (9.04) repos.
9. September 2009 um 17:54
blauebirke
Looking at Launchpad: I think this is Bug #418891 in Ubuntu’s clive (which is a very old version). You could try if the development version[2] is installable (or Debian’s[3]). That should solve the problem.
[1] https://bugs.launchpad.net/ubuntu/+source/clive/+bug/418891
[2] https://launchpad.net/ubuntu/+source/clive/2.2.4-1/+build/1165865
[3] http://packages.debian.org/squeeze/clive
9. September 2009 um 18:06
Peng
D’oh! I’ve been away from my Ubuntu box for too long and forgot about searching for bugs on Launchpad. I’ll definitely look at getting a newer version of clive. I really hate having to go to Firefox just to download my MLB and local weather vids, going to the Fox for my YouTube vids is a real pain.
Speaking of MLB vids, I’m going to try to track down the settings that the Video DownloadHelper (Fx extension) uses to let me grab their vids and see if I might be able to help ort them to your extension.
Thanks for the quick response on my issue.
9. September 2009 um 18:46
Peng
I just saw that the jaunty-bleed PPA (https://launchpad.net/~jauntybleed/+archive/ppa) has the newer version of clive. It works like a charm, although it is grabbing .flv files rather than the HD .mp4 files that I am actively viewing on YT, but that’s a completely different issue. I’ll have to blog the info about updating clive for others who may have the same error message.
9. September 2009 um 20:03
blauebirke
To download the best quality (hd if available) add „–format=best“ to ~/.cliverc.
12. November 2009 um 17:43
BostonPeng
I’m afraid to say that I’ve discovered another very annoying bug in your extension. Since Epiphany switched to only using the Webkit engine I am no longer able to download any videos with it. Is this a problem on my end or does your extension need to be recoded to work on Webkit? I have to say I miss your extension so much I’m considering building Epiphany/Gecko from source just to be able to use some of my fav addons.
16. November 2009 um 13:14
blauebirke
I am using webkit myself and so I’m not using this extension anymore. I’m still trying to figure out what the best way is to write this extension for epi-webkit.
16. November 2009 um 14:39
BostonPeng
I know someone wrote an extension for Chrome to do something like this, but it doesn’t work for me on Chromium. I guess I’ll have to keep Fx around for downloading vids. Thanks for all your hard work on this.