mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-17 03:45:25 +02:00
Add video
This commit is contained in:
@ -189,7 +189,7 @@ def post():
|
||||
content = request.form.get('content')
|
||||
content = format_post_content(content)
|
||||
if user_unauthenticated():
|
||||
key = session['user_keys'][channel_id]
|
||||
key = session['user_keys'][guild_id]
|
||||
else:
|
||||
key = None
|
||||
status = update_user_status(guild_id, session['username'], key)
|
||||
|
BIN
titanembeds/static/titanembeds.mp4
Normal file
BIN
titanembeds/static/titanembeds.mp4
Normal file
Binary file not shown.
@ -7,11 +7,9 @@
|
||||
<a class="waves-effect waves-light btn btn-large center_content" href="{{ url_for('user.dashboard') }}">Start here!</a>
|
||||
<br /><br />
|
||||
<div style="display: flex;align-items: center;">
|
||||
<video preload="true" loop="" style="width:100%; border-radius: 10px;">
|
||||
<source src="http://mee6.xyz/static/mee6.mp4" type="video/mp4">
|
||||
<source src="http://mee6.xyz/static/mee6.webm" type="video/webm; codecs=vp8, vorbis">
|
||||
<source type="video/ogg; codecs=theora, vorbis" src="http://mee6.xyz/static/mee6.ogg">
|
||||
<video preload="true" loop autoplay style="width:100%; border-radius: 10px;">
|
||||
<source src="{{ url_for('static', filename='titanembeds.mp4') }}" type="video/mp4">
|
||||
Your browser does not support the video tag.
|
||||
</video> <!-- TODO: Fix video and add autoplay -->
|
||||
</video>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user