Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-29-2011, 07:14 AM   #1
rangaman
Junior Member
rangaman began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2011
Device: iPad
The Videos in the EPUB get automatically played when the EPUB is opened in the iBook

Can anybody help me on this?

I have developed EPUB for iPad2, with embedded video files of type MP4. When I opened the EPUB in iPad , the videos in the EPUB were playing automatically. I tried hard many methods to resolve this. But ended up with failure.


Below is the tag that I have used to embed the video file:


<video width="480" height="360" controls="true" autoplay="false">

Advance thanx for any help.
rangaman is offline   Reply With Quote
Old 11-29-2011, 10:32 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,541
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Go to Liz Castro's blog and have a read. lots of good info for iBooks.

http://www.pigsgourdsandwikis.com/

Also, buy her book.
JSWolf is offline   Reply With Quote
 
Advertisement
Old 11-29-2011, 01:59 PM   #3
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,183
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
I know the answer! Remove the <video> tag and the video will not play automatically and the ePUB will react as a normal book!
Toxaris is online now   Reply With Quote
Old 12-18-2012, 04:45 AM   #4
shorshe
Member
shorshe began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Aug 2012
Location: Munich, Germany
Device: iPad
Do you still have this Problem?
I can confirm the same behavior. I used Liz Castros Method, but the videos still autoplay.

Code:
  <div class="video">
    <video autoplay="false" controls="true" height="280" poster="../Images/rock.png" src="../Video/rock.m4v" width="340">Video</video>
  </div>
shorshe is offline   Reply With Quote
Old 12-18-2012, 01:24 PM   #5
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 163
Karma: 86115
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
if the autoplay attribute is present the video will autoplay. if you remove it altogether it should work (ie, not autoplay)

fun times:

http://www.w3schools.com/html5/tryit...video_autoplay
mzmm is offline   Reply With Quote
Old 12-19-2012, 03:35 PM   #6
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
Posts: 313
Karma: 1028382
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Please file a bug. Please. File a bug.
dgatwood is offline   Reply With Quote
Old 12-19-2012, 07:27 PM   #7
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 163
Karma: 86115
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
@dgatwood - i don't think this is a bug. i may be missing something here, but 'autoplay' is a boolean attribute, which i understand to mean that if it is present in the <video> element it's necessarily true, and false only if absent.

html5 specs state:

The values "true" and "false" are not allowed on boolean attributes. To represent a false value, the attribute has to be omitted altogether.

this would mean that <video autoplay/> autoplays, and <video/> does not.

read more here:

http://www.w3.org/html/wg/drafts/htm...ean-attributes
mzmm is offline   Reply With Quote
Old 12-20-2012, 06:37 AM   #8
shorshe
Member
shorshe began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Aug 2012
Location: Munich, Germany
Device: iPad
Removing autoplay alltogether did the trick. Videos do not autoplay in ibooks. I misunderstood the concept of a boolean attribute.
shorshe is offline   Reply With Quote
Old 12-20-2012, 12:15 PM   #9
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
Posts: 313
Karma: 1028382
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by mzmm View Post
@dgatwood - i don't think this is a bug. i may be missing something here, but 'autoplay' is a boolean attribute, which i understand to mean that if it is present in the <video> element it's necessarily true, and false only if absent.

Ah. I see the problem. The spec for the video tag is inconsistent with the behavior of all of the previous tags that did the same thing. For example, the <embed> tag requires you to specify autostart="false" or else it automatically plays.

So I still say "file a bug", but file it with the W3C and tell them that they need to fix the spec so that browsers are required to handle autostart="false" and autostart="true" in the obvious way.
dgatwood is offline   Reply With Quote
Old 12-20-2012, 07:57 PM   #10
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 163
Karma: 86115
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
Quote:
Originally Posted by dgatwood View Post
The spec for the video tag is inconsistent with the behavior of all of the previous tags that did the same thing.
HTML5 vs. HTMLn i guess.
mzmm is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Book (Sony/ChristianBook(DRM-free)/Nook/Kindle) - Cool Beans koland Deals, Freebies, and Resources (No Self-Promotion) 2 06-10-2012 03:35 PM
ibook epub error message dlanzarotta ePub 3 05-27-2011 09:46 AM
Automatically resizing epub images dhume01 Conversion 4 03-15-2011 06:45 PM
ePub files to iPad without iBook? Kivgaen Apple Devices 9 04-28-2010 03:12 PM
Save as EPub cannot be opened in my Sony PRS-505 pedgarcia Sigil 4 09-14-2009 01:12 PM


All times are GMT -4. The time now is 04:19 PM.


MobileRead.com is a privately owned, operated and funded community.