If you take a look at the index.html file in the exercise files in chapter 3, 02…start folder. You can see as it auto plays through when…it gets to a screen with a bullet it's just going to stop.…That's because we've got our stepped bullet functionality in play.…So switch back over to finder and then open up the pres.js file in the js folder…in Dreamweaver. Lets add a variable to set the timing for…the bullets. So again this is just kind of a debug setting.…
Will set this to a longer value later but for right now lets make it a very short…duration so we can easily test it quickly. Let's call it bullet duration, and set it…equal to 500 milliseconds, which will just be half a second.…And then let's scroll down to the next function.…This is where our stepped bullet functionality takes place.…So in here, let's just add a line before the return, and say if autoPlaySlides.…Then let's call autoNext. And we don't have to write really any more…code than that to get it working because auto next when it calls is going to come…
Author
Released
6/26/2013Need more information on creating an initial web presentation? Watch the related HTML5 Projects: Creating a Responsive Presentation course.
- Embedding a Twitter feed in an iframe
- Creating the code for automatic playback
- Using MediaElement.js in your presentation
- Adding video and audio
Skill Level Advanced
Duration
Views
Related Courses
-
Deke's Techniques
with Deke McClelland155h 53m Intermediate
-
Introduction
-
Welcome42s
-
-
1. Understanding the Project
-
2. Enhancing the Slideshow
-
3. Creating a Self-Running Slideshow
-
Adding bullet timing3m 32s
-
4. Adding Audio and Video
-
Adding video10m 38s
-
5. Finalizing the Self-Running Mobile Presentation
-
Custom tweaks for iPad9m 39s
-
6. Enabling Offline Playback
-
Conclusion
-
Next steps40s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Adding bullet timing