code: def replace_with_video_tag(line: str):
      if (
          line.startswith("https://")
          and line.endswith(".mp4")
          and " " not in line
      ):
          # treating as link to mp4 file.
          return ""
          # return f"""
          # <video width="800" controls><source src="{line}" type="video/mp4">
          # Your browser does not support the video </video>\n\n<br />\n\n<br />
          # """.strip()
      else:
          # other lines are not touched
          return line
  
label_desc: Use image node_id 1 for calling a global function with example usage: replace_with_video_tag(line) and returns: str, line