How can I handle iframe and media requests in Safari when loading a stream through Bitmovin Player?

I need to append query parameters to the playback URLs in order to generate signed URLs for CloudFront authorization. For example:

  • Iframe playlist:
    https://d2wkliap667koj.cloudfront.net/videos/show/the-chaupal-show-/episodes/HLS/episode-3-with-shivangi-pathak_1672396478841/video/avc1/2/iframes.m3u8

  • Media playlist:
    https://d2wkliap667koj.cloudfront.net/videos/show/the-chaupal-show-/episodes/HLS/episode-3-with-shivangi-pathak_1672396478841/video/avc1/3/media.m3u8

What is the correct way to ensure Safari (and Bitmovin) always uses the signed URLs with the query params for both iframe and media requests?