Kodi Community Forum
v19 How to play youtube trailer from my selected movie library? - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
---- Thread: v19 How to play youtube trailer from my selected movie library? (/showthread.php?tid=364477)



How to play youtube trailer from my selected movie library? - kenmoon - 2021-09-15

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?


This forum uses Lukasz Tkacz MyBB addons.