Michael Cortez,
The optical out from the PS3 or Blu-Ray player would input directly into the optical in on the back of the HT-Z310 unit, though I believe that there is only one optical in. You'll want to go into the settings of the device you'll be connecting to toggle the audio through the optical cable, as this isn't usually a plug-and-play type of connection. Simply accessing the menu of the Blu-Ray player or game console will allow you to switch to optical out.
I hope that helps!
--HDTech
Are all the needed cables included? I'm planning on hooking up a gaming system to the HT Z310 or maybe a Blu Ray player and was wondering if I needed to purchase a separate cable to connect these.
Can you somehow use the speakers with other units or is the speakers only used for the dvd player?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic