GNOME Bugzilla – Bug 567801
RFE: Opening a youtube link in totem
Last modified: 2013-12-15 15:35:10 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 ?
Sounds like a nice idea. However, have you tried the swfdec plugin yet? Doesn't this overlap bug 343412?
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.
(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.
cc'ing Totem developers.
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.
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/
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".
(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?
(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.
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
One cool thing we could do is get the flv url and convert the flash <object> to a <video> :P
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.
(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.
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.
This should be implemented in the core.
*** This bug has been marked as a duplicate of bug 150871 ***