forked from varia/bots
removing fixed iframe width
This commit is contained in:
parent
3a0f5aa2ea
commit
9922d20a5c
@ -88,7 +88,7 @@ class Logbot(Bot):
|
||||
media_post = f'<img src="{ media_path }">'
|
||||
elif message.url.lower().endswith(self.FILE_TYPES):
|
||||
media_post = (
|
||||
f'<iframe src="{ media_path }" width="800" height="1000"></iframe>'
|
||||
f'<iframe src="{ media_path }"></iframe>'
|
||||
)
|
||||
elif message.url.lower().endswith(self.AUDIO_TYPES):
|
||||
media_post = f'<audio controls src="{ media_path }"></audio>'
|
||||
|
Loading…
Reference in New Issue
Block a user