danielweck / epub3-sliderizer

Simple utility to easily create EPUB 3 / HTML 5 slidedecks (one output fileset, dual support for e-book readers and web browsers) [screenshots below] LIVE DEMO:
danielweck.github.io/epub3-sliderizer
32 stars 6 forks source link

Video element is not treated #4

Open iherman opened 9 years ago

iherman commented 9 years ago

If I have, e.g., the following in my data file:

<video id="video_embed" class="fullxx" controls="controls">
<source src="videos/JavaBook.mp4" type="video/mp4" />
<source src="videos/JavaBook.webm" type="video/webm" >
<source src="videos/JavaBook.ogv" type="video/ogg"></source>
</video>

I would expect this to be treated like images, ie, the video files are copied to the output and the reference added to the package.opf file. It does not happen:-(

danielweck commented 9 years ago

Thanks @iherman I will look into this. At first glance, the use of multiple source elements instead of the src attribute introduces some additional complexity (parser / generator + asset handler), but as always this is just a question of time and effort ;) Unfortunately I do not have any spare time to work on this pet project at the moment :(

iherman commented 9 years ago

I had a similar issue when using one video element with its own src... :-(


Ivan Herman +31 641044153

(Written on my mobile. Excuses for brevity and frequent misspellings...)

On 2 Apr 2015, at 18:10, Daniel Weck notifications@github.com wrote:

Thanks @iherman I will look into this. At first glance, the use of multiple source elements instead of the src attribute introduces some additional complexity (parser / generator + asset handler), but as always this is just a question of time and effort ;) Unfortunately I do not have any spare time to work on this pet project at the moment :(

— Reply to this email directly or view it on GitHub.

danielweck commented 9 years ago

@iherman That's correct, support for video asset handling is missing entirely (src attribute and source elements).