discord_ember, allow crossorigin for video
Some checks failed
/ deploy (push) Failing after -53h56m14s

This commit is contained in:
Jonatan Nilsson 2023-11-20 05:14:02 +00:00
parent ec7ade938f
commit 857a087410
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "discord_embed", "name": "discord_embed",
"version": "1.0.25", "version": "1.0.26",
"port": 4120, "port": 4120,
"description": "AV1 discord server embed helper", "description": "AV1 discord server embed helper",
"main": "index.js", "main": "index.js",

View file

@ -232,7 +232,7 @@ pre {
<p>Your link is:</p> <p>Your link is:</p>
<pre>{{=siteUrl}}</pre> <pre>{{=siteUrl}}</pre>
<div class="center"> <div class="center">
<video id=mainplayer" controls poster="{{=imageLink}}"> <video id=mainplayer" crossorigin controls poster="{{=imageLink}}">
<source src="{{=videoLink}}"> <source src="{{=videoLink}}">
</video> </video>
</div> </div>
@ -268,7 +268,7 @@ pre {
<p>Test area (does the video load and play? If not, it might not work on discord)</p> <p>Test area (does the video load and play? If not, it might not work on discord)</p>
<div class="center"> <div class="center">
<video class="hidden" id="previewVideo" controls poster="" preload="none"> <video class="hidden" id="previewVideo" crossorigin controls poster="" preload="none">
<source src=""> <source src="">
</video> </video>
</div> </div>