(Replaced content with "{{Pasteur_Paris/wiki}} <html> <style> div.woaou{ overflow:hidden; } </style> </html>") |
|||
Line 7: | Line 7: | ||
} | } | ||
</style> | </style> | ||
+ | <style> | ||
+ | div.video { | ||
+ | width:70%; | ||
+ | margin-left:20%; | ||
+ | position:absolute; | ||
+ | top:20vw; | ||
+ | cursor:auto; | ||
+ | height:auto; | ||
+ | height:80%; | ||
+ | cursor:pointer; | ||
+ | |||
+ | } | ||
+ | div.video2 { | ||
+ | width:85%; | ||
+ | margin-left:10%; | ||
+ | position:absolute; | ||
+ | top:2%; | ||
+ | cursor:auto; | ||
+ | height:auto;/*45vw*/ | ||
+ | height:90%; | ||
+ | cursor:pointer; | ||
+ | |||
+ | } | ||
+ | div.fond { | ||
+ | width:100vw; | ||
+ | height:100vh; | ||
+ | background-color:rgba(0,0,0,0.7); | ||
+ | z-index:4; | ||
+ | position:fixed; | ||
+ | top:0; | ||
+ | left:0; | ||
+ | display:none; | ||
+ | } | ||
+ | </style> | ||
+ | <div id="video" class="video"> <video autoplay="autoplay" loop="" width="100%"> | ||
+ | <source src="https://www.uber-assets.com/video/upload/v1557263289/videos/webloops/1920x1080/WEBM/Ellis_TVC_WebLoop_1920x1080_h264_.webmhd.webm" | ||
+ | type="video/webm"> <source src="https://www.uber-assets.com/video/upload/v1557263268/videos/webloops/1920x1080/H264/Ellis_TVC_WebLoop_1920x1080_h264.mp4" | ||
+ | |||
+ | type="video/mp4"> </video> | ||
+ | <p id="paragraphe" style="font-family:'Lato',sans-serif;color:white;position:relative;left:7%;font-size:40px;margin-top:-10%;width:auto;"> | ||
+ | Play full video </p> | ||
+ | </div> | ||
+ | <div> </div> | ||
+ | <div id="fond" class="fond"> | ||
+ | |||
+ | </div> | ||
+ | <script> | ||
+ | |||
+ | |||
+ | document.getElementById("video").addEventListener("click", print); | ||
+ | function print(){ | ||
+ | var gliss = document.documentElement.scrollTop +20; | ||
+ | document.getElementById('paragraphe').innerHTML = document.documentElement.scrollTop + "ok"; | ||
+ | document.body.innerHTML += '<div id="video2" style="z-index=5;top:'+1.10*gliss+'px;" class="video2"><iframe width="100%" height="100%" src="https://www.youtube.com/embed/m8sa2u1treQ?&autoplay=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div>'; | ||
+ | document.getElementById("fond").style.display = "block"; | ||
+ | /*document.getElementById('bodyContent').innerHTML*/ | ||
+ | } | ||
+ | |||
+ | document.getElementById("fond").addEventListener("click",function(){ | ||
+ | document.getElementById("fond").style.display = "none"; | ||
+ | }); | ||
+ | |||
+ | |||
+ | </script> | ||
</html> | </html> |
Revision as of 10:37, 12 October 2019
Education
Law
Events
Design
Results
Entrepreneurship
Demonstrate
Chalenges
Improve
Collaborations
Attributions
Results Attributions
Play full video