Kodi Community Forum

Full Version: How to play youtube trailer from my selected movie library?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

At youtube addon, there is saying

https://kodi.wiki/view/Add-on:YouTube
---
STRM URL plugin://plugin.video.youtube/play/?video_id=$VIDEOID
---
So, I want to play trailer movie from my local selected movies (I am not talking about saved local trailer video, want to play trailer thru youtube streaming)

Here is my test code I tried (I will use this code at my custom ViewsViewTypeList.xml)

<onclick>RunPlugin(plugin:/plugin://plugin.video.youtube/play/?video_id=$VIDEOID) </onclick>

but I was stopping, how to get VIDEOID from my local library.
Someone help me out?