PDA

View Full Version : Only a proffesional coder can do this this



russbaker2016
Jun 12th, 2017, 09:44 PM
Are you a profesional coder...

If so. can you ammend this video to zoom in so the video can be viewed fullscreen without it still squashing the video to near impossible viewing...

lol....

<html>


<script>
.video-wrapper {position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px;}
.video-wrapper iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
</script>
<body>

<div class="video-wrapper" style="position:absolute: top:100px;">
<iframe name="frame" src="https://www.youtube.com/embed/BuQnk6qEIZE?rel=0?version=3&autoplay=1&controls=0&showinfo=0&loop=1&allowfullscreen;&framrborder=0" style="position:fixed; width:210px; height:282px; top:52px; left:19px; frameborder=0;"></iframe>

</div>
</body>
</html>

russbaker2016
Jun 12th, 2017, 09:53 PM
Must be in the iframe, Must be at that size. obviously there are ways around it through video editing and the likes. but when it comes down to coding im at a loss, along with many others i seem to be told...

russbaker2016
Jun 12th, 2017, 09:55 PM
I would be very happy to see a workaround replied onto this post..It would inspire me Greatly.....

jmrker
Jun 13th, 2017, 01:28 AM
I don't know if this will solve your question, but try this...


<style>
.video-wrapper {position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px;}
.video-wrapper iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
</style>

It is NOT javascript as you have specified with the <script> tag, it is CSS.

Also, I would move it into the <head> section.

russbaker2016
Jun 13th, 2017, 06:53 AM
Oh, i solved it . Mr anonymous strikes again....lol :thumbsup:


<body>

<meta HTTP-EQUIV="REFRESH" content="11; url=linkpagemenu.html">

<iframe style="position:fixed; width:210px; height:182px; top:52px; left:19px; frameborder=0; " src="loader.html">

</body>


<iframe body>


<html>
<body>
<iframe name="frame" src="https://www.youtube.com/embed/BuQnk6qEIZE?rel=0?version=3&autoplay=1&controls=0&showinfo=0&loop=1&allowfullscreen;&framrborder=0" style="position:fixed; width:210px; height:282px; top:5px; left:-10px; frameborder=0; transform: scale(2.0, 2.75) "></iframe>
</body>
</html>

russbaker2016
Jun 13th, 2017, 06:55 AM
But thanks for the Info, Still inspires me lol....

russbaker2016
Jun 13th, 2017, 07:10 AM
Well, at least for 5 minutes....:eek: