My Cloud Home 4TB + Xbox One + Kodi

Hello, I have a Kodi program installed on xbox one. How do I get Kodi to load WD My Cloud Home videos? I tried everything, but it still writes something in the sense that the device is not connected to the Internet. Does anyone know how to do it? Thanks

Install and Configure Plex and then enable Plex DLNA media server.
The My Cloud Home will not function without an internet connection