Media: Show YouTube clip

Bug #1151601 reported by Joakim Lundvall
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Status tracked in Trunk
Trunk
New
Wishlist
Unassigned

Bug Description

It should be possible to give a YouTube path to the media plugin and show the movie just like any local media file.

Changed in openlp:
importance: Undecided → Wishlist
Revision history for this message
Phill (phill-ridout) wrote : Re: [Bug 1151601] [NEW] Media: Show YouTube clip

We need to go careful with this. Third party apps are against YouTube's
Terms of Service (TOS). Of course, we couldn't stop somebody writing a
party plugin for OpenLP. Nor could we stop users from using a sperate app
to download and convert a video to a format that OpenLP supports.

Even if it wasn't against the TOS, it's not a good idea to be streaming
from the internet. Can you imagine if it kept buffering?

Revision history for this message
Tim Bentley (trb143) wrote : Re: [Openlp-core] [Bug 1151601] [NEW] Media: Show YouTube clip

Streaming during a service is dangerious from the perspective of looking
like an idiot if it goes wrong. Down load and play via vlc is safer and
works today.

Tim Bentley (Mobile)
On Mar 7, 2013 8:20 AM, "Phill" <email address hidden> wrote:

> We need to go careful with this. Third party apps are against YouTube's
> Terms of Service (TOS). Of course, we couldn't stop somebody writing a
> party plugin for OpenLP. Nor could we stop users from using a sperate app
> to download and convert a video to a format that OpenLP supports.
>
> Even if it wasn't against the TOS, it's not a good idea to be streaming
> from the internet. Can you imagine if it kept buffering?
>
> --
> You received this bug notification because you are a member of OpenLP
> Core, which is subscribed to OpenLP.
> https://bugs.launchpad.net/bugs/1151601
>
> Title:
> Media: Show YouTube clip
>
> Status in OpenLP - Worship Presentation Software:
> New
> Status in OpenLP trunk series:
> New
>
> Bug description:
> It should be possible to give a YouTube path to the media plugin and
> show the movie just like any local media file.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openlp/+bug/1151601/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openlp-core
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~openlp-core
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Joakim Lundvall (jocke-lundvall) wrote :

I see the problem with the licensing but buffering could be handled by pre-buffer as much as possible when clip is added to service.

I guess one could vote for a plugin that shows a web page in full-screen also. This should maybe be a separate feature wish?

Revision history for this message
Tim Bentley (trb143) wrote : Re: [Openlp-core] [Bug 1151601] Re: Media: Show YouTube clip

It is not just a plugin but the changes required to the rest of the code to
support urls.

Tim Bentley (Mobile)
On Mar 7, 2013 8:50 AM, "Joakim Lundvall" <email address hidden>
wrote:

> I see the problem with the licensing but buffering could be handled by
> pre-buffer as much as possible when clip is added to service.
>
> I guess one could vote for a plugin that shows a web page in full-screen
> also. This should maybe be a separate feature wish?
>
> --
> You received this bug notification because you are a member of OpenLP
> Core, which is subscribed to OpenLP.
> https://bugs.launchpad.net/bugs/1151601
>
> Title:
> Media: Show YouTube clip
>
> Status in OpenLP - Worship Presentation Software:
> New
> Status in OpenLP trunk series:
> New
>
> Bug description:
> It should be possible to give a YouTube path to the media plugin and
> show the movie just like any local media file.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openlp/+bug/1151601/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openlp-core
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~openlp-core
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

I was playing around with a webpage plugin some time ago.

Revision history for this message
Kevin James (enzoaeneas) wrote : Re: [Bug 1151601] Re: Media: Show YouTube clip

Could we play network sources via vlc ?
I mean anything available over the network?
Wouldn't we just need a different service item type and media manager pane?
On Mar 7, 2013 4:10 AM, "Andreas Preikschat" <email address hidden>
wrote:

> I was playing around with a webpage plugin some time ago.
>
> --
> You received this bug notification because you are subscribed to OpenLP.
> https://bugs.launchpad.net/bugs/1151601
>
> Title:
> Media: Show YouTube clip
>
> Status in OpenLP - Worship Presentation Software:
> New
> Status in OpenLP trunk series:
> New
>
> Bug description:
> It should be possible to give a YouTube path to the media plugin and
> show the movie just like any local media file.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openlp/+bug/1151601/+subscriptions
>

Revision history for this message
Joakim Lundvall (jocke-lundvall) wrote :

Speaking of VLC it should also be possible to open up a capture device and stream the same way as network sources.

Revision history for this message
Kevin James (enzoaeneas) wrote :

That was one of the reasons I was looking at it. Or even a screen capture
of items that do not natively show in openlp like PDFs. I would almost want
to put this function into a separate VLC control plugin.
On Mar 7, 2013 8:15 AM, "Joakim Lundvall" <email address hidden>
wrote:

> Speaking of VLC it should also be possible to open up a capture device
> and stream the same way as network sources.
>
> --
> You received this bug notification because you are subscribed to OpenLP.
> https://bugs.launchpad.net/bugs/1151601
>
> Title:
> Media: Show YouTube clip
>
> Status in OpenLP - Worship Presentation Software:
> New
> Status in OpenLP trunk series:
> New
>
> Bug description:
> It should be possible to give a YouTube path to the media plugin and
> show the movie just like any local media file.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openlp/+bug/1151601/+subscriptions
>

Revision history for this message
Samuel Mehrbrodt (sam92) wrote :

This package might be helpful: https://pypi.python.org/pypi/Pafy
We can either download the video and play as a video or feed the video URL as a network source to VLC.

I think Tim is right that downloading before is safer.

Revision history for this message
Ken Roberts (alisonken1) wrote :

youtube-dl is available (for debian-based distro's it's in the repo) - give it a youtube url and will download the file with the title as the filename.

file /usr/bin/youtube-dl
/usr/bin/youtube-dl: Python script, ASCII text executable

ex:
$ youtube-dl https://www.youtube.com/watch?v=YRNKnCJXmBc
saves as:
'Bolt Pigeons Scene (Hollywood)-YRNKnCJXmBc.mp4'

Or possibly even incorporate some of the python code.

Revision history for this message
Ken Roberts (alisonken1) wrote :

+1 on download v. live stream.
Even on a good network, I find youtube will sometimes wait for buffer possibly due to network congestion on routers outside end-user control.

Revision history for this message
Ken Roberts (alisonken1) wrote :

Per Youttube ToS (https://www.youtube.com/t/terms accessed 11Jan2015) Section 4.c:

"You agree not to access Content through any technology or means other than the video playback pages of the Service itself, the Embeddable Player, or other explicitly authorized means YouTube may designate."

Per this section, OLP would have to get an exception from Google/Youtube to be able to integrate a youtube downloader into OLP.

Revision history for this message
Roger Leitch (roger-h-deactivatedaccount) wrote :

My first option is to download a youtube video - so it is not dependent on the internet working.
I find keepvid works fine, there is a script that makes it very simple.
Some youtube videos will not download - I think they are protected.

After getting advice in the forums, I created a formatting tag {yt} This tag has the 2 parts of the youtube embed code in it with the autoplay flag.
All I need to do is create a custom slide with {yt}youtube_id{/yt} and youtube plays on screen.
This is effectively no different to playing youtube in a browser as I am using their own code for embedding in a web page.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.