! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[Feature Request] playing youtube video in parole.
Status:
RESOLVED: MOVED
Severity:
enhancement

Comments

Description begre1929 2013-04-03 06:27:38 CEST
 
Comment 1 Simon Steinbeiss editbugs 2013-04-03 13:37:31 CEST
How exactly would you imagine this should work?
Comment 2 begre1929 2013-04-03 15:58:23 CEST
for me (user) with the url from a webbrowser and to copy it to "opening an emplacment"

for coders, I don't know how to do code that.

don't know if it can be a source of information but what I know is vlc can do it.
Comment 3 Sean Davis editbugs 2013-05-02 01:36:16 CEST
This would be a great example of a plugin for somebody to create.  I might be able to one day, but I invite code hackers to take a swing at it.  :-)
Comment 4 thatoneguysomeplace 2013-05-05 08:34:54 CEST
Additionally, the mplayer/mplayer2 frontends: SMPlayer, SMPlayer2, and UMPlayer also play YouTube videos. 

All three share code of an integrated YouTube browser component in addition to normal video/dvd playback. 

All frontends use QT though, probably somebody (a programmer) could look at the code and adapt it to a (Plugin?) for use in the XFCE player.

Here is a URL which shows screenshots:

http://smplayer.sourceforge.net/en/smtube

link to their sources: http://downloads.sourceforge.net/smplayer/smtube-1.7.tar.bz2
Comment 5 Simon Steinbeiss editbugs 2013-05-06 12:45:06 CEST
(In reply to comment #4)
> Additionally, the mplayer/mplayer2 frontends: SMPlayer, SMPlayer2, and
> UMPlayer also play YouTube videos. 
> 
> All three share code of an integrated YouTube browser component in addition
> to normal video/dvd playback. 
> 
> All frontends use QT though, probably somebody (a programmer) could look at
> the code and adapt it to a (Plugin?) for use in the XFCE player.

The main issue with that is that these are using mplayer as their backend, whereas Parole uses gstreamer.
There was a plugin for Totem a longer while ago (it was also dropped upstream as far as I know), I guess that would be a more suitable starting point than anything mplayer-based.
Comment 6 thatoneguysomeplace 2013-05-06 23:42:03 CEST
(in response to comment #5)

I looked for the Totem plugin you mentioned, apparently it is related to Grillo.

Here is the page i found on it:

URL:
https://live.gnome.org/Grilo

and another:

URL:
https://git.gnome.org/browse/grilo-plugins

I have no idea if anyone would be interested in creating a Parole plugin based on this or adapting the Totem Grillo plugin.

Since it is relevant to this feature request, and (comment #5)'s clarification, I thought I would post the links.
Comment 7 thatoneguysomeplace 2013-05-06 23:43:24 CEST
I also just found a screencast of how the Grillo Plugin works in Totem:

URL:
http://people.igalia.com/vjaquez/grilo-screencast.html
Comment 8 Simon Steinbeiss editbugs 2013-10-11 17:31:19 CEST
Grilo looks promising, but I agree with Sean that it would be great to see that as a community-contributed plugin ;)
Comment 9 felix 2014-04-29 08:13:06 CEST
I wrote this, which should work with any GStreamer application:

http://github.com/fstirlitz/tubessrc/

Very experimental, though. Also, because Parole seems to do some internal URI normalisation, the livestreamer backend is unusable with it. (youtube-dl does recognise "//youtube.com/watch?v=..." URIs, so I can just replace "http" with "youtube-dl" and it'll work, but livestreamer is less forgiving.)
Comment 10 Simon Steinbeiss editbugs 2014-05-02 00:56:28 CEST
(In reply to m.p.isaev from comment #9)
> I wrote this, which should work with any GStreamer application:
> 
> http://github.com/fstirlitz/tubessrc/
> 
> Very experimental, though. Also, because Parole seems to do some internal
> URI normalisation, the livestreamer backend is unusable with it. (youtube-dl
> does recognise "//youtube.com/watch?v=..." URIs, so I can just replace
> "http" with "youtube-dl" and it'll work, but livestreamer is less forgiving.)

Hey, looks very interesting and promising – I'd personally prefer a more parole-internal/integrated version of this though. If you'd be interested to work on that, that'd be awesome!
Comment 11 Git Bot editbugs 2020-05-24 01:40:08 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/parole/-/issues/1.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #9971

Reported by:
begre1929
Reported on: 2013-04-03
Last modified on: 2020-05-24

People

Assignee:
Simon Steinbeiss
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information