I am creating an ePub using latest version of In Design (Mac). I am wanting to embed an iframe to play video in several places within the book. The book is quite large and I simply do not want to add more MB with videos.
I have sucessfully created and embedded an iFrame to play You Tube videos. However when I attempt Vimeo I am receiving the following error when I export for ePub.
HTML pageitem : 1 may fail epub validation
Consequently the video does not appear or play in iBooks.
The embed code (that works) for You Tube is;
<iframe width="100%" height="100%" src="https://www.youtube.com/embed/2Bv_Hh79zQg?controls=0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
The embed code for Vimeo is;
<div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://player.vimeo.com/video/460863922?title=0&portrait=0" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe></div><script src="https://player.vimeo.com/api/player.js"></script>
It creates an error.
I have edited the Vimeo script to;
<iframe width="100%" height="100%" src="https://player.vimeo.com/video/460863922?
autoplay=1&title=0&portrait=0" controls=0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" ></iframe>
The Vimeo video plays sucessfully in the In Design preview but does not allow ePub export without the error.
I am not a coding person. Would appreciate any help please. Really appreciated.
It might be worth also experimenting with InDesign's Publish Online.
Thanks Derek. Unfortunately it has to be an ePub to allow access via Apple Books and Google Books.
I haven't. Looking now.
Hefty price tag.
Unfortunately, yes. It seems Adobe is not interested in opening up InDesign's HTML export to allow us users to generate a local working html version. Nor do they seem to be interested in updating the decade old interactive features. FXL epub is a bit of a lost battle at this point in time.
Sorry to be a downer. I love working in InDesign, but the lack of interactive features updates (a decade ago, and since then Adobe only removed options!) and proper html export, as well as Adobe's intent to lock our content down to allow html export via their servers only, has pushed me away from using it for interactive screen content.
In5 is interesting, but too expensive and inaccessible to our students. And still rather limited anyway compared to what is now possible with other platforms.
I am actually considering dropping InDesign from my interactive publishing classes after the Summer. I just don't see the point anymore.
Morning. You are so right - interactivity is being taken away - not added to.
May I ask what you suggest is an alternative?