I hesitate to start given only "it doesn't work except YouTube." That doesn't tell much except we know if an antivirus suite expires then you get odd partial network functions. Frankly I've railed against such shenanigans by AV companies since I haven't encountered one that pops up and says "Your Network Access is Limited to protect you."
I've seen this limitation on Norton and McAfee and there may be other AV suites.
Ok so basically all of my devices (a levono thinkpad laptop, a pretty old HTC mobile phone and a samsung mobile phone) all seem to be connected to Wi-Fi and all can connect and access the internet however none of the apps (beside youtube) connect to the internet. The apps all say the device isn't connected. All the other devices that are connected to the Wi-Fi work fine and I have checked for viruses and threats as well as restarted both the Wi-Fi and the devices but to no avail. Any ideas on what to do?