docs: def convert_youtube_url(youtube_url, no_controls, autoplay):
      """Use this function to convert the youtube URL.
  
      This function is used for converting the youtube URL so that it can be
      used correctly with Helium. It means that Helium will know the next
      video in the playlist.
  
      :param youtube_url: the URL of the youtube playlist video.
      :type youtube_url: str
      :param no_controls: whether or not to show controls in the Helium app.
      :type no_controls: bool
      :param autoplay: whether or not to play the next video in the playlist
                       after the current video finishes.
      :type autoplay: bool
      :return: the new correct youtube URL.
      :rtype: str
      """
      for section in youtube_url.split('&'):
          if 'list' in section:
              playlist_id = section.split('list=')[1]
              break
      return (
          'https://www.youtube.com/embed/videoseries?{0}&{1}&'
          'loop=1&html5=1&showinfo=0&listType=playlist&list={2}'.format(
              '' if autoplay else 'autoplay=1',
              'controls=0' if no_controls else '',
              str(playlist_id)
          )
      )