code: def get_top_frame(self, wb_url,
                        wb_prefix,
                        host_prefix,
                        env,
                        frame_mod,
                        replay_mod,
                        coll='',
                        extra_params=None):
          
  
          embed_url = wb_url.to_str(mod=replay_mod)
  
          if wb_url.timestamp:
              timestamp = wb_url.timestamp
          else:
              timestamp = timestamp_now()
  
          is_proxy = 'wsgiprox.proxy_host' in env
  
          params = {'host_prefix': host_prefix,
                    'wb_prefix': wb_prefix,
                    'wb_url': wb_url,
                    'coll': coll,
  
                    'options': {'frame_mod': frame_mod,
                                'replay_mod': replay_mod},
  
                    'embed_url': embed_url,
                    'is_proxy': is_proxy,
                    'timestamp': timestamp,
                    'url': wb_url.get_url()
                   }
  
          if extra_params:
              params.update(extra_params)
  
          if self.banner_view:
              banner_html = self.banner_view.render_to_string(env, **params)
              params['banner_html'] = banner_html
  
          return self.render_to_string(env, **params)
docs: :param rewrite.wburl.WbUrl wb_url: The WbUrl for the request this template is being rendered for
          :param str wb_prefix: The URL prefix pywb is serving the content using (e.g. http://localhost:8080/live/)
          :param str host_prefix: The host URL prefix pywb is running on (e.g. http://localhost:8080)
          :param dict env: The WSGI environment dictionary for the request this template is being rendered for
          :param str frame_mod:  The modifier to be used for framing (e.g. if_)
          :param str replay_mod: The modifier to be used in the URL of the page being replayed (e.g. mp_)
          :param str coll: The name of the collection this template is being rendered for
          :param dict extra_params: Additional parameters to be supplied to the Jninja template render method
          :return: The frame insert string
          :rtype: str