I need to open a URL in Quicktime player

Hi
I have been trying to get a script that opens a URL from my QSS :

set path_ to “rtsp://192.168.5.5/TTv.sdp”
tell application “QuickTime Player” to open file path_

This seems to go to the right place but the file fails to open with the message "The Movie could not be opened’

Any ideas please
Thanks

Hi and welcome.

I don’t have the latest version of QuickTime, but in older versions, you’d open a URL with the StandardAdditions’ ‘open location’ command:

set path_ to "rtsp://192.168.5.5/TTv.sdp" 
tell application "QuickTime Player" to open location path_

Thanks that worked a treat