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

View file

@ -117,7 +117,7 @@ $(document).ready(function() {
var li = $("<li>").append(link); var li = $("<li>").append(link);
$(".tube ul").append(li); $(".tube ul").append(li);
$(".lastvideo") $(".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); .attr("title", data.items[0].title);
}); });
}); });