Kindly refer my guide on installing Audio and Video Player here
Now you have Audio and Video Playback but the audio always comes from HDMI port and you want to have audio from Audio Jack as well.
Note: By default output will be automatic
Enter the following
Raspberry Pi to use the analog output:
sudo amixer cset numid=3 1
Change the value 1 with 0=auto, 1=headphones, 2=hdmi
To suit to your need.
I do not understand what auto exactly mean as with auto i always heard audio only from HDMI jack.
Getting Sound and Video to Work on Raspberry Pi
Why is my Audio (Sound) Output not working? – Raspberry Pi Beta – Stack Exchange
education – If I plug my headphones into the audio jack, how do I control the volume? – Raspberry Pi Beta – Stack Exchange