Team:NYMU-Taipei
From 2014.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<div id="main-content"> | <div id="main-content"> | ||
<div style='margin-top: -18%;'> | <div style='margin-top: -18%;'> | ||
- | <iframe src="//www.youtube.com/ | + | |
+ | <iframe class="youtube-player" id="player" type="text/html" src="//www.youtube.com/embed/EgKY1imNAKE?wmode=opaque&autohide=1&autoplay=1&enablejsapi=1" frameborder="0" allowfullscreen="" style=" | ||
width: 513px; | width: 513px; | ||
height: 306px; | height: 306px; | ||
Line 11: | Line 12: | ||
z-index: 100; | z-index: 100; | ||
"></iframe> | "></iframe> | ||
+ | <script> // 2. This code loads the IFrame Player API code asynchronously. | ||
+ | var tag = document.createElement('script'); | ||
+ | tag.src = "http://www.youtube.com/player_api"; | ||
+ | var firstScriptTag = document.getElementsByTagName('script')[0]; | ||
+ | firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); | ||
+ | |||
+ | // 3. This function creates an <iframe> (and YouTube player) | ||
+ | // after the API code downloads. | ||
+ | var player; | ||
+ | function onYouTubePlayerAPIReady() { | ||
+ | player = new YT.Player('player', { | ||
+ | playerVars: { 'autoplay': 1, 'controls': 1,'autohide':1,'wmode':'opaque' }, | ||
+ | videoId: 'JW5meKfy3fY', | ||
+ | events: { | ||
+ | 'onReady': onPlayerReady} | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | // 4. The API will call this function when the video player is ready. | ||
+ | function onPlayerReady(event) { | ||
+ | event.target.mute(); | ||
+ | } | ||
+ | </script> | ||
<div id='home-video'></div> | <div id='home-video'></div> | ||
<div id='home-intro'> | <div id='home-intro'> |
Revision as of 15:35, 16 October 2014
X
Next ⇒
⇐ Prev
...
Over 90% of human population is troubled by caries, the notorious issue bothering an individual ever since childhood. Furthermore, serious problems such as halitosis and periodontal diseases often ensue. In the past, well-known ways to prevent caries include brushing one's teeth and applying fluoride. However, aren’t these irritating and tiresome? So, to solve this issue, we decide to formulate a perfect plan to defeat tooth caries. Moreover, we've focused our subjects of study on the elderly, the disabled, and the underprivileged, all of whom require long-term care or lack economic resources. We plan to create sustainable auto-adjusting bio-drugs, helping everyone maintain their oral health.