Files
2024-09-27 02:06:13 +08:00

13 lines
405 B
JavaScript

class Videoinfo{
constructor(){
this.VideoinfoTypr()
localStorage.getItem()
}
VideoinfoTypr(){
$(".video_sp video").attr("src",JSON.parse(localStorage.getItem("videoArr")).video)
$(".content h1").text(JSON.parse(localStorage.getItem("videoArr")).title)
$(".content p").text(JSON.parse(localStorage.getItem("videoArr")).practice)
}
}
new Videoinfo()