update tube data

This commit is contained in:
mose 2022-01-16 08:14:46 +08:00
parent afffa90ad5
commit 869899a060
3 changed files with 334 additions and 587 deletions

File diff suppressed because it is too large Load diff

View file

@ -79,9 +79,10 @@
</div>
<div class="col-12 col-lg-5 align-middle">
<div class="embed-responsive embed-responsive-16by9 over">
<iframe width="420" height="240" sandbox="allow-same-origin allow-scripts"
src="https://tube.crapaud-fou.org/videos/embed/5417c4b5-38ce-4e69-bbc7-19335ade44e4" frameborder="0"
allowfullscreen></iframe>
<iframe title="Survivre au système éducatif, Hackers et Crapauds fous [thinkerview]"
width="420" height="240" sandbox="allow-same-origin allow-scripts allow-popups"
src="https://tube.crapaud-fou.org/videos/embed/a44ec736-9108-49cb-b427-40b72c0e208d" frameborder="0"
allowfullscreen=""></iframe>
</div>
</div>
</div>

View file

@ -117,7 +117,7 @@ $(document).ready(function() {
var li = $("<li>").append(link);
$(".tube ul").append(li);
$(".lastvideo")
.attr("src", data.items[0].url.replace("watch", "embed"))
.attr("src", data.items[0].id.replace("watch", "embed"))
.attr("title", data.items[0].title);
});
});