utube et gogole

This commit is contained in:
Baptiste 2023-12-19 12:29:59 +01:00
parent 2d98ff1f58
commit 76d52eeaa7
5 changed files with 29 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Utube</title>
<style>
iframe {
display:inline-block;
}
</style>
</head>
<body>
<font color="white">UTube vous propose sa sélection des meilleures vidéos !</font>
<iframe width="100%" type="text/html" src="http://www.youtube.com/embed/WiiM0jgWrC4" frameborder="0" allowfullscreen></iframe>
<iframe width="100%" type="text/html" src="http://www.youtube.com/embed/rgEuqSmdW0Q" frameborder="0" allowfullscreen></iframe>
<iframe width="100%" type="text/html" src="http://www.youtube.com/embed/l0qvxPPISuY" frameborder="0" allowfullscreen></iframe>
</body>
</html>

View file

@ -41,6 +41,8 @@
<img src="./assets/logo.png" class="icon" id="appli-gta6">
<img src="./assets/phone/vbucks.webp" class="icon" id="appli-vbuks">
<img src="./assets/phone/facebook.png" class="icon" id="appli-fb">
<img src="./assets/phone/utube.png" class="icon" id="appli-utube">
<img src="./assets/phone/gogole.png" class="icon" id="appli-goo">
</div>
<iframe id="webview" sandbox="allow-same-origin allow-scripts allow-forms" style="overflow: hidden;"></iframe>
<div id="chatInputDiv">

View file

@ -30,6 +30,14 @@ class Phone{
document.getElementById("appli-fb").addEventListener("click", (e) => {
this.webviewName = "FakeBook"
this.changeWindow("assets/phone/webview/fb.html")
});
document.getElementById("appli-utube").addEventListener("click", (e) => {
this.webviewName = "uTube"
this.changeWindow("assets/phone/webview/utube.html")
});
document.getElementById("appli-goo").addEventListener("click", (e) => {
this.webviewName = "Gogole"
this.changeWindow("https://mrdoob.com/projects/chromeexperiments/google-space/")
});
}