Upload
others
View
3
Download
0
Embed Size (px)
Citation preview
●
●
•
•
•
•
•
•
•
No HTML5 specific size limits yet BUT
we all know size limits need to be increased
All Files
.html .js .css
.jpg .png …
please read Section 2.2
.zip Section 2.5.1
please read Section 2.3
1 file = 1 connection
please read Section 2.4
var clickTag = …
<meta name=“ad.size” …
please read Section 2.5
how about graceful degradation?
•
•
•
•
•
<video controls
src=‘yourVideoFile.mp4’
poster=‘yourPosterImg.jpg’
height='640’
width='360’
></video>
•
•
•
•
•
•
<video controls height='640' width='360'>
<source src='yourVideo.mp4' type='video/mp4' />
<source src='yourVideo.webm' type='video/webm' />
<! -- Flash Code Here -->
<embed src='yourVideo.flv' width='640' height='360’
quality='high’ type='application/x-shockwave-
flash'></embed>
</video>
•
•
var theVideo = document.querySelector('#theVideo');
theVideo.addEventListener("play", videoStartHandler, false);
function videoStartHandler (event) {
console.log(”Log Video Start Event”);
};
•
•
•
•
•
<video autoplay
muted
src=‘yourVideoFile.mp4’
height='640’
width='360’
></video>
•
•
•
•
•
•
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•