Kodi Community Forum
External Kodi Video Player for HTML iFrame video content - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: External Kodi Video Player for HTML iFrame video content (/showthread.php?tid=368933)



External Kodi Video Player for HTML iFrame video content - abratchik - 2022-07-16

Hi,

I have a theoretical question, please kindly advise if this is doable/makes sense.

Is there a way to play an IFrame in Kodi? Say I'm developing a video add-on for a site, which has all video content decorated in iFrame. I want to use the iFrame HTML as-is from this web site but play it maximized whenever the user clicks on a corresponding ListItem. I can, of course, try to extract the video stream either manually or automatically through youtube-dl, and feed it to the built-in Kodi VideoPlayer etc but I want to be able to use the original web site player.

As I understood it is possible to configure an external player for a specific type of content. I tested it and it works but I cannot find a suitable player (executable), which could get an URL as a command line argument (say a prepared HTML file with iFrame tag in it), open and start playing it in full screen mode. Appreciate any help/advice on this subject.