With Kodi on both devices, you should be able to do so via Universal Plug and Play (UPnP), which is widely supported:
Universal Plug and Play (UPnP) is a set of networking protocols that
permits networked devices, such as personal computers, printers,
Internet gateways, Wi-Fi access points and mobile devices to
seamlessly discover each other's presence on the network and establish
functional network services for data sharing, communications, and
entertainment. UPnP is intended primarily for residential networks
without enterprise-class devices. ... The UPnP architecture allows device-to-device networking of consumer electronics, mobile devices, personal computers, and networked home appliances.
UPNP can be used for sharing videos from a PC to other devices using Kodi as explained at HOW-TO:Share libraries using UPnP, which notes:
UPnP sharing between two Kodi devices is the easiest way to share a
library. You can also share multiple libraries, one from each Kodi
device, to all the other devices on the same network. UPnP also takes
care of file sharing, so you do not need to do anything extra even if
your files are added locally to Kodi.
You can configure the PC to act as a UPnP media server and then on the phone configure it to use the PC as a media source.
Similar UPnP functionality is offered by TVersity Media Server, which functions as a UPnP A/V and Digital Living Network Alliance (DLNA) Media Server; there are free and commercial versions of that software.