OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] HTML5 Audio + Video multiple sources


Bob, wouldn't this be similar to the markup you implemented for the ePub3 Stylesheet solution that you worked on? If I remember correctly that was built on top of the HTML5 stylesheets, correct?


On Sat, Dec 7, 2013 at 4:08 PM, Bob Stayton <bobs@sagehill.net> wrote:
Hi Peter,
This is not yet supported in the stylesheets. It could be, but I'm not sure what the DocBook markup should be.  The mediaobject element currently allows multiple videoobject children, but the stylesheet currently selects only one object for output from mediaobject, based on the role attribute on the object elements.  That lets you specify one videoobject for HTML5 output and a different one for epub3 output, and an imageobject for print output.

If the videoobject allowed multiple videodata elements, then it could output all of them as in your example, mapping the fileref attribute to @src and the format attribute to @type, for example.  But that currently is not allowed in DocBook.  If you were to file an RFE on the SourceForge DocBook page, then it would be considered by the DocBook Technical Committee.

Any other suggestions for a markup scheme?

--
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


On 12/7/2013 12:27 PM, Peter Fleck wrote:
Hi all,

Is it possible in html5 output of audio and video to have multiple
sources and fallback?

I'm thinking specifically of for example:

<video>
   <source src="" type="video/ogg" />
   <source src="" type="video/mp4" />
   <source src="" type=" video/webm">
</video>

If tried different ways but haven't been able to do it yet, is it possible?

Many thanks,

Peter



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]