Having problems with my chromecast script

hi all

I’ve had a script working for a while now (although it got a lot slower to respond recently) that plays a video from youtube on my tv via a built in Chromecast but as of the last update it stopped working… the entity is still there but it wont play anything (at least not that I can get to work).

was wondering if anyone else out there has the same problem? or if anyone can help me find a solution to it?

here is the Yaml in my scripts.yaml file (this is what was working)

beach:
  alias: Paradise Beach
  sequence:
  - service: media_extractor.play_media
    data:
      entity_id: media_player.chrome_cast
      media_content_type: video/youtube
      media_content_id: https://www.youtube.com/watch?v=-ZGv2gXIp0Q

this is what i tried to correct it without joy.

fish:
  alias: Aquarium
  sequence:
  - service: media_player.turn_on
    data:
      entity_id: media_player.chrome_cast
  - service: media_player.volume_mute
    data:
      entity_id: media_player.chrome_cast
      is-volume-muted: true
  - service: media_extractor.play_media
    data:
      entity_id: media_player.chrome_cast
      media_content_type: video/youtube
      media_content_id: https://www.youtube.com/watch?v=3CVTYhcxaiM

using the services tab I can get it to turn on and off. and I can play a video, but I’m doing something wrong with my script or with the way I’m calling it, as it wont work.

Edit: had a breakthrough while playing with the services tab.