Update src/invidious/views/components/player.ecr

better syntax

Co-authored-by: Samantaz Fox <coding@samantaz.fr>
このコミットが含まれているのは:
138138138 2022-07-10 16:29:50 +08:00 committed by GitHub
コミット b19beac5b4
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -25,7 +25,7 @@
bitrate = fmt["bitrate"]
mimetype = HTML.escape(fmt["mimeType"].as_s)
selected = i == best_m4a_stream_index ? true : false
selected = (i == best_m4a_stream_index)
%>
<source src="<%= src_url %>" type='<%= mimetype %>' label="<%= bitrate %>k" selected="<%= selected %>">
<% if !params.local && !CONFIG.disabled?("local") %>