Skip to content

Commit

Permalink
Merge pull request #28 from hhoppe:main
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 510968422
  • Loading branch information
The mediapy Authors committed Feb 20, 2023
2 parents 1fe61a7 + 67440af commit 494f032
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions mediapy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
from __future__ import annotations

__docformat__ = 'google'
__version__ = '1.1.4'
__version__ = '1.1.5'
__version_info__ = tuple(int(num) for num in __version__.split('.'))

import base64
Expand Down Expand Up @@ -1697,7 +1697,8 @@ def html_from_compressed_video(
options = (
f'controls width="{width}" height="{height}"'
f' style="{border}object-fit:cover;"'
f"{' loop' if loop else ''}{' autoplay' if autoplay else ''}"
f"{' loop' if loop else ''}"
f"{' autoplay muted' if autoplay else ''}"
)
s = f"""<video {options}>
<source src="data:video/mp4;base64,{b64}" type="video/mp4"/>
Expand Down Expand Up @@ -1856,5 +1857,5 @@ def show_videos(


# Local Variables:
# fill-column: 88
# fill-column: 80
# End:
2 changes: 1 addition & 1 deletion mediapy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,5 +801,5 @@ def test_show_videos_out_str(self):


# Local Variables:
# fill-column: 88
# fill-column: 80
# End:

0 comments on commit 494f032

Please sign in to comment.