Javascript events when changing articles
i have html article video content, developed ipad. i'm running problem when changing articles. have full screen video plays through , javascript bound video's 'ended' event hide video , load new content. problem is, if user switches articles (swipes left or right) during video, video paused , stuck on screen.
what i'm looking event triggers when user enters or leaves html article loaded. there such events? can listen for? need way detect user has returned article can skip video feature , show remaining content.
thanks help!
for future reference, found solution:
the little-publicized, adobe-specific event handlers onappear() , ondisappear() can used detect when reader swipes in or out of html article. in case, used window.onappear() function start playing video again when reader returns article.
More discussions in Digital Publishing Suite
adobe
Comments
Post a Comment