From 923ff776bd5e88245dd8c39e55fa82594a3817cb Mon Sep 17 00:00:00 2001
From: spikecodes <19519553+spikecodes@users.noreply.github.com>
Date: Mon, 22 Nov 2021 18:07:00 -0800
Subject: [PATCH] Fix HLS + autoplay from breaking videos
---
Cargo.lock | 2 +-
Cargo.toml | 2 +-
templates/post.html | 2 +-
templates/utils.html | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 48b7d59..65722f8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -608,7 +608,7 @@ checksum = "8521a1b57e76b1ec69af7599e75e38e7b7fad6610f037db8c79b127201b5d119"
[[package]]
name = "libreddit"
-version = "0.18.1"
+version = "0.18.2"
dependencies = [
"askama",
"async-recursion",
diff --git a/Cargo.toml b/Cargo.toml
index 557d7ec..94bc79a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,7 @@ name = "libreddit"
description = " Alternative private front-end to Reddit"
license = "AGPL-3.0"
repository = "https://github.com/spikecodes/libreddit"
-version = "0.18.1"
+version = "0.18.2"
authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"]
edition = "2018"
diff --git a/templates/post.html b/templates/post.html
index d368251..60d37aa 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -71,7 +71,7 @@
{% else if post.post_type == "video" || post.post_type == "gif" %}
{% if prefs.use_hls == "on" && !post.media.alt_url.is_empty() %}
-