After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567801 - RFE: Opening a youtube link in totem
RFE: Opening a youtube link in totem
Status: RESOLVED DUPLICATE of bug 150871
Product: epiphany
Classification: Core
Component: General
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on: 635709
Blocks:
 
 
Reported: 2009-01-14 20:46 UTC by Lionel Dricot
Modified: 2013-12-15 15:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lionel Dricot 2009-01-14 20:46:44 UTC
Totem has a good Youtube player
Flash in Linux is unstable/buggy/slow

-> It would be übber cool to automatically open a youtube link or a embedded video in totem with the right clic menu. An idea for an extension ?
Comment 1 Reinout van Schouwen 2009-01-14 21:54:48 UTC
Sounds like a nice idea. However, have you tried the swfdec plugin yet? Doesn't this overlap bug 343412?
Comment 2 Lionel Dricot 2009-01-14 22:27:15 UTC
Reinout > I'm already using swfdec which is not always great with youtube, hence this bug ;-)

It's not 343412 because I don't want to download or anything else. I just want to see the movie but not in my browser, in my video player.
Comment 3 Adam Schmalhofer 2009-03-08 18:04:18 UTC
(In reply to comment #2)
> It's not 343412 because I don't want to download or anything else. I just want
> to see the movie but not in my browser, in my video player.

I'm the (original) author of the video download extension (the patch for #343412). It would be great to add this to it. Do you know how the totem side works (dbus for the totem-youtube-plugin, maybe)? 

Currently to closest the extension can do is if you middle-click on the video-icon it opens a tab which totem-plugin can stream for some sites or asks if you want to download/open the video. In case you select open the video only plays once it finished downloading it completely. As you see this sucks and interacting with the totem-youtube-plugin would be a big improvement.

Comment 4 Reinout van Schouwen 2009-03-09 09:09:32 UTC
cc'ing Totem developers.
Comment 5 Bastien Nocera 2009-03-31 14:35:36 UTC
When you select the video using your extension, do you open it in the Totem web browser plugin, or does it launch an external Totem window? If the latter, is it a local path, or a link that's passed to it?

In 2.26, Totem (both the movie player and the web browser plugin) won't close videos, but will seek back to the beginning when they're finished. So launching a video from the browser should work as expected (and the file won't be removed until you close totem).

If it's passing a link to the file (ie. with the original URL), then we will have to re-download it for each play until we finish the work on the playbin2 cache.
Comment 6 Adam Schmalhofer 2009-05-31 14:24:43 UTC
It is now added. However I don't have any UI (not even gconf) to switch it on, yet. So you'll have to chage "DEFAULT_OPEN = OPEN_WITH_DOWNLOAD" to "DEFAULT_OPEN = OPEN_WITH_TOTEM" in video-downloader.py. Code is at:
    http://wwwpub.zih.tu-dresden.de/~s5827060/epiphany-video/
Comment 7 Bastien Nocera 2009-09-03 16:44:06 UTC
I've added some comments on how we should handle it in Totem in bug 567801.

For the Epiphany extension, the best would be a menu item in the "File" menu saying something like "Play Movie in Movie Player" when the page contains a single YouTube movie, and pass the URI of the page, with the scheme replaced by "youtube".
Comment 8 Reinout van Schouwen 2009-09-04 12:48:32 UTC
(In reply to comment #7)
> I've added some comments on how we should handle it in Totem in bug 567801.

Don't you mean bug 591561?
Comment 9 Bastien Nocera 2009-09-04 12:50:14 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > I've added some comments on how we should handle it in Totem in bug 567801.
> 
> Don't you mean bug 591561?

Yes.
Comment 10 Bastien Nocera 2009-09-04 13:02:36 UTC
Also note that if we wanted to do well, we should support seeking to the right point, as we would loading this page:
http://www.youtube.com/watch?v=YwdGlRFb--s#t=2m25s
Comment 11 Philippe Normand 2009-12-19 19:15:51 UTC
One cool thing we could do is get the flv url and convert the flash <object> to a <video> :P
Comment 12 Bastien Nocera 2010-11-24 16:37:53 UTC
Once bug 635709 is fixed, Ephy could:
- add an extension that uses quvi
- for each page loaded, check in quvi whether it's a supported video site (that function is missing from quvi right now)
- add a menu item that would load totem up if the video site is supported

For embedded versions, I have some other plans.

(In reply to comment #11)
> One cool thing we could do is get the flv url and convert the flash <object> to
> a <video> :P

That really belongs more in the greasemonkey-style hacks, IMO. And it's not what the bug is actually about.
Comment 13 Bastien Nocera 2010-12-14 14:51:11 UTC
(In reply to comment #12)
> Once bug 635709 is fixed, Ephy could:
> - add an extension that uses quvi

totem-pl-parser-mini instead.

> - for each page loaded, check in quvi whether it's a supported video site (that
> function is missing from quvi right now)

Check the retval of totem_pl_parser_can_parse_from_uri() from totem-pl-parser-mini.

> - add a menu item that would load totem up if the video site is supported

And voila.
Comment 14 André Klapper 2013-05-27 16:11:34 UTC
According to its developer, epiphany-extensions is not under active development
anymore. (For reference: https://mail.gnome.org/archives/gnome-i18n/2013-May/msg00035.html and bug 700924.)

It is unlikely that there will be any further active development.

Closing this report as WONTFIX as part of Bugzilla Housekeeping - Please feel
free to reopen this bug report in the future if anyone takes the responsibility
for active development again.
Comment 15 Bastien Nocera 2013-05-28 09:29:26 UTC
This should be implemented in the core.
Comment 16 William Jon McCann 2013-12-15 15:35:10 UTC

*** This bug has been marked as a duplicate of bug 150871 ***