Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insert video or audio into epub #73

Open
oxm55522 opened this issue Apr 25, 2019 · 2 comments
Open

insert video or audio into epub #73

oxm55522 opened this issue Apr 25, 2019 · 2 comments

Comments

@oxm55522
Copy link

Hi..
Thank you for the epub-gen you provided.
Is it possible to not insert video or audio into epub through epub-gen?

@NightMachinery
Copy link

(If ever added, be sure to add a flag to disable it.)

@pedrosanta
Copy link
Collaborator

Is it possible to not insert video or audio into epub through epub-gen?

Hi @oxm55522, don't understand if you want to add video/audio or remove the ability to add video/audio?

If the first, we'll have to assess the impact of allowing those in an EPUB 3 standard compatible way.

If the latter, if you want to disable the generation of audio/video content, I think that is out-of-scope for this library, and would suggest you instead that you parse/filter the HTML you feed into epub-gen as you please to achieve that.

Will wait for your comments on this.

Daylon pushed a commit to Daylon/epub-gen that referenced this issue Sep 29, 2024
As unified uses `className` instead of `class` when parsing html content, EPub eventually removes all `class` attributes

Co-authored-by: dimitri.lahaye <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants