Introduction: Arduino to Processing Serial-com One-click Web Video Launcher
Press button which sends 0 over serial port and read the value from processing and if its 0 launch the infinit loop youtube music video :D
Step 1: Write Code Like This
Clear code won't need an explanation.
Step 2: Prepare Push Button.
Connect 1K more or less resistor as shown to protect the board. And the push button as well.