Skip to content

Commit

Permalink
remove video from documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
arogozhnikov committed Nov 9, 2022
1 parent b52926c commit 5e0bb81
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/convert_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
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 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()
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
Expand Down

0 comments on commit 5e0bb81

Please sign in to comment.