ue4plugins / VlcMedia

Media Framework plug-in using the Video LAN Codec (libvlc).
BSD 3-Clause "New" or "Revised" License
267 stars 145 forks source link

YouTube videos are not playing #27

Open kulichin opened 8 years ago

kulichin commented 8 years ago

Don't playing video from YouTube. How to solve this problem? https://www.youtube.com/watch?v=YnKpeMTy4_4&feature=youtu.be

P.S: This is accomplished through additional Lua scripts? If so, in what directory they should be kept?

P.S.S: As I understand it in your plugin, there is no implementation of Lua scripts?

gmpreussner commented 8 years ago

Yeah, this is not supported right now, sorry. As you already figured out, the VLC player application uses Lua scripts to resolve the actual content streams in YouTube URLs. This is a VLC player feature, not a LibVLC feature, so we don't have access to that. The plan is to implement the equivalent of the Lua script in C++ in UE4, but I don't have any time to work on that right now.

Aszutai commented 7 years ago

Hi gmpreussner, my team are currently working on a unreal project that involves streaming from youtube and other major video websites and we're very interested in getting the play url function working for vlc. Was there any progress on this issue that you can possibly update in github? I'm pretty new to programming myself so even if you haven't had time to tackle this issue yet, any hint/help would be much appreciated. Thank you!

gmpreussner commented 7 years ago

I haven't had any time to look into this yet, sorry. If you decide to implement the YouTube URL parser (VLC's lua script) yourself, I'd love a pull request. Thanks!

jbkempf commented 6 years ago

This is a VLC player feature, not a LibVLC feature, so we don't have access to that.

This is incorrect. You can use lua inside libVLC, but I agree it's very tricky to get right, because of the location of the scripts.