Integrating a youTube link

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): System Info:
Operating System: Windows-10-10.0.18362-SP0
PsychoPy version (e.g. 1.84.x): PsychoPy 2020.2.6
Standard Standalone? (y/n) If not then what?:
What are you trying to achieve?: intergrate an automatic URL link that opens after ‘space’ or a clickable youTube link into my routine.
→ after the video ends the experiment has to continue running!

What did you try to make it work?:
in the coder:

import webbrowser

webbrowser.open("https://www.youtube.com/watch?v=IReEu2kI6oI&ab_channel=Headspace')

What specifically went wrong when you tried that?:
the
Include pasted full error message if possible. “That didn’t work” is not enough information.

############## Running: C:\Project\stroop demo\stroop_lastrun.py ###############
Alert 4205:Python Syntax Error in ‘Begin Routine’ tab. See ‘webbrowser.open("Find Your Focus with this Mini Meditation - YouTube’)
’ on line number 3 of the ‘Begin Routine’ tab.
For further info see 4205: Probable syntax error detected in your Python code — PsychoPy v2021.2

found my problem - "https://www.youtube.com/watch?v=IReEu2kI6oI&ab_channel=Headspace’ - was suppose to be ‘https://www.youtube.com/watch?v=IReEu2kI6oI&ab_channel=Headspace

but now it opens the web browser and YouTube audio wot work while psychoPy experiment is running.
do you guys have any advice?
thanks
Chaya