Comments (5)
Hi Jerome!
Actually, the problem here is the extra double quote on type attribute just follow codecs=:
source src="pr6.ogv" type="video/ogg; codecs="theora, vorbis"
I've just removed it and formatted the type attribute per W3C specs that specify multiple codecs must be wrapped by a single quote (')
http://www.w3.org/TR/2008/WD-html5-20080122/#the-source
Thanks!
These changes are ready to be pulled if you accept them.
Thanks!
from diveintohtml5.
@estebanav, where does it say the single quote is required? Have you checked to see if this works cross browser? I believe the problem was only the extra double quote, which appears to have already been fixed in another update (viewing the source of the page).
from diveintohtml5.
Hi all.
Tue, 01 Jan 2013 11:30:34 -0800
Jonathan Neal a écrit:
@estebanav, where does it say the single quote is required? Have you
checked to see if this works cross browser? I believe the problem was only
the extra double quote, which appears to have already been fixed in another
update (viewing the source of the page).
I didn't notice the extra double quote. It is unrelated. My troubles were with
the webm part. I did not try ogv and therefore did not copy the ogv line.
Jérôme
from diveintohtml5.
where does it say the single quote is required?
In the following link to W3C HTML5's Specs the codecs attribute appear enclosed by double-quotes, so I assumed that multiple attributes within an attribute must be wrapped by single or double quotes.
http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#the-source-element
Have you checked to see if this works cross browser?
Yes, I did it :)
I think the problem is the extra double quote that is broken the HTML and that's why FF is not rendering correctly and codecs might be wrapped by single or double quotes as I wrote above.
from diveintohtml5.
The typo was in my repository. I am so close to having them in sync. It should be corrected.
from diveintohtml5.
Related Issues (20)
- hgroup is no longer part of the spec HOT 1
- Diving Out of Dogs
- Incorrect external quote in charset meta HOT 6
- I got two suggestions (svg, hgroup) HOT 1
- Generic Headers using hgroup deprecated HOT 3
- geolocation.html geoSuccess/geoError vs geo_success/geo_error HOT 2
- Broken link
- Halma implementation broken? HOT 1
- old link broken HOT 2
- Broken link @ storage HOT 1
- Domain name DIVEINTOHTML5.INFO expired HOT 4
- broken link @ detect
- outdated section @ detect
- Comparing with null object HOT 2
- http://diveintohtml5.info/ HOT 1
- Website looks broken HOT 3
- Does it still accept pull requests?
- Missing "to"?
- Please provide an HTTPS website link HOT 6
- HTTPS TLS certificate expired
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diveintohtml5.