Browse Source

removing fixed iframe width

master
manetta 4 years ago
parent
commit
9922d20a5c
  1. 2
      LogBot/logbot.py

2
LogBot/logbot.py

@ -88,7 +88,7 @@ class Logbot(Bot):
media_post = f'<img src="{ media_path }">' media_post = f'<img src="{ media_path }">'
elif message.url.lower().endswith(self.FILE_TYPES): elif message.url.lower().endswith(self.FILE_TYPES):
media_post = ( 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): elif message.url.lower().endswith(self.AUDIO_TYPES):
media_post = f'<audio controls src="{ media_path }"></audio>' media_post = f'<audio controls src="{ media_path }"></audio>'

Loading…
Cancel
Save