mirror of
https://gitea.invidious.io/iv-org/invidious
synced 2025-06-05 23:29:12 +02:00
Don't redefine the "preload" option in player.js
If the HTML5 "<video>" element defines the "preload" attribute directly, it isn't necessary to redefine the "preload" option in the player.js.
This commit is contained in:
@@ -74,8 +74,7 @@
|
||||
"title" => video.title,
|
||||
"description" => HTML.escape(video.short_description),
|
||||
"thumbnail" => thumbnail,
|
||||
"preferred_caption_found" => !preferred_captions.empty?,
|
||||
"preload" => params.preload ? "auto" : "none"
|
||||
"preferred_caption_found" => !preferred_captions.empty?
|
||||
}.to_pretty_json
|
||||
%>
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user