Skip to content

Commit

Permalink
refactor: use video frame as thumbnail picture, fix invalid data-vide…
Browse files Browse the repository at this point in the history
…o json issue
  • Loading branch information
ttys3 committed Nov 13, 2024
1 parent 01ba9c6 commit 905ec8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ <h1>Directory listing for <span class="directory">/{{ cur_path }}</span></h1>
{% endif %}

{% if file.mime_type == "video" %}
data-video={{ "'{{\"source\": [{{\"src\":{}, \"type\":\"video/mp4\"}}], \"attributes\": {{\"preload\": false, \"playsinline\": true, \"controls\": true}}}}'"|format(file.path_uri|urlencode)|safe }}
data-thumbnail-src="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7d15mFxlmf7x+zlV3Z30noQdRjCIC4uIuBC2Xw/prk5A0FGCM4o6zjXgKKKojAyjMwYXXFgV2WWUxRkkwghIOl3dgVYIATWoLI6ohEX2rF3dCV3dVef5/dEBRLZUdVW/tXw/f0GupHNffVXOe/d7znkfCQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAlstABABRmfXd3R9J9ezU0zFEcz5E0R2bbyH2OzLaV+xxJc0xqkSSXOi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FWzxA8+jAAAvwyUb6ek50MyOceloSTuFzoSt8phJ17r0o7Z0eiWLPvDSKADAVtrY3T3XzI6U2btMOlRSY+hMkCTlTfpNLP3UpRs70um7WPSBV0cBAIrwZCrV0iwdJuldJi1w6TWhM9WZp+SeNunG3MTEAMfyAoWjAAAlMNrdvU/e7DCLooPkfpC4XVBqj7n7CpmtiKSb29Lpe0MHAqodBQAog009PTvF0kEyO1jSQS7tJykKnauKrJb7CjO7TWYr2vr77wsdCKg1FABgGqzv7u5IJBLzzP0tLu1r0j6S3iApGTpbYBOS7nfpXpN+62a/yefzKxmxC5QfBQAIxBctaty0ceOe+Sjax9z3MWlfl/aUtEvobGXyqJnd5+53u9k9iTi+p6Wz83e2ZMl46GBAPaIAABXGFy1qHN6wYZdkIjHX3ee6+1xJO7nZjibNlfRaVea/3Q0mrXbpCUmPy2y1xfHqvNnq8fHx+7cbGhoNHRDA8yrxIgLgFTyZSrXMkLYzs23lPkfucyTNURTN2fL/28hstkmdJplPvq7YsuWPt2pyKmIkqWPLr2Uk5SXlJI1s+bVNJo275C5tlPt6ma2V2TrF8TpJ62S2Tmbr3H3NmPT0Dun0pun7LgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUJv+P/44PDBwienzAAAAAElFTkSuQmCC"
data-video={{ "'{{\"source\": [{{\"src\": \"{}\", \"type\":\"video/mp4\"}}], \"attributes\": {{\"preload\": false, \"playsinline\": true, \"controls\": true}}}}'"|format(file.path_uri|urlencode)|safe }}
data-thumbnail-src="/frame?file={{ file.path_uri|urlencode }}&w=1280"
data-poster="/frame?file={{ file.path_uri|urlencode }}&w=1280"
data-sub-html="<h4>{{file.name}}</h4>"
{% endif %}
Expand Down

0 comments on commit 905ec8b

Please sign in to comment.