Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responsiveness for videos on iframe created #3

Merged
merged 1 commit into from
Mar 31, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions src/lab/exp4/Theory.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@
<link href="../../../css/style.css" rel="stylesheet">
<script type="text/javascript" src = 'tabs.js'></script>
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-67558473-1', 'auto');ga('send', 'pageview');</script>
<style>
.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
</head>
<body id="page-top" class="index">
<div id="top">
Expand Down Expand Up @@ -100,7 +115,9 @@ <h2 class="text-h2-lightblue" style=" margin-bottom: 20px; margin-top: 10px; "><
<!--edit -->
<h1 class="text-h2-lightblue">Observations of Vertical and Horizontal angles using Total Station</h1><div class="content" id="experiment-article-section-1-content">
<h2>Explanation in Class Room through Video Coverage </h2>
<div class="videoWrapper">
<p><iframe allowfullscreen frameborder="0" height="390" src="https://www.youtube.com/embed/4NVCbdQPdTQ" width="640"></iframe></p>
</div>
<h2> </h2>
<h2>Principle</h2>
<p>It is based on the measurement of time for the distance travelled by wave<br>
Expand All @@ -114,7 +131,9 @@ <h2>Principle</h2>
<p>  </p>
<h2> </h2>
<h2>Methodology</h2>
<div class="videoWrapper">
<iframe allowfullscreen frameborder="0" height="390" src="https://www.youtube.com/embed/edfkXHrxfDw" width="640"></iframe>
</div>
<p><br clear="all">
</br></p>
</div> </div>
Expand Down