• jollyyau

Week 2: Audiovision

Blending sound and visuals together.


Oskar Fischinger


How do you embed media?

The video tag!

<video width="320" height="240" controls>

<source src="movie.mp4" type="video/mp4">

<source src="movie.ogg" type="video/ogg">

Your browser does not support the video tag.


Javascript Statements

  • These are completed sequentially and end with a semi-colon;

  • https://www.w3schools.com/js/js_statements.asp

document.getElementById("demo").innerHTML = "Hello Dolly.";

Example of conditional

  • example of video play pause button

var myVideo = document.getElementById("video1");

//myVideo is the variable that I defined

function playPause() { if (myVideo.paused)

myVideo.play(); else

myVideo.pause(); }


Recent Posts

See All

Week 11 + 12: Presentations II

These two weeks, we are presenting our web experiments that include the following: Map APIs Canvas Data Input It was very challenging for me, because I didn't know very much about coding at all. I sta

jollyyau.design © 2020

  • LinkedIn - White Circle
  • Facebook - White Circle
  • Instagram - White Circle