Giter Club home page Giter Club logo

Comments (5)

estebanav avatar estebanav commented on August 19, 2024

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!

@paulirish and @jonathantneal

These changes are ready to be pulled if you accept them.

Thanks!

from diveintohtml5.

jonathantneal avatar jonathantneal commented on August 19, 2024

@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.

lafrech avatar lafrech commented on August 19, 2024

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.

estebanav avatar estebanav commented on August 19, 2024

@jonathantneal

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 :)

@jerome-github

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.

jonathantneal avatar jonathantneal commented on August 19, 2024

The typo was in my repository. I am so close to having them in sync. It should be corrected.

from diveintohtml5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.