Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Full-Stack React Projects. - Second Edition

You're reading from  Full-Stack React Projects. - Second Edition

Product type Book
Published in Apr 2020
Publisher Packt
ISBN-13 9781839215414
Pages 716 pages
Edition 2nd Edition
Languages
Author (1):
Shama Hoque Shama Hoque
Profile icon Shama Hoque

Table of Contents (22) Chapters

Preface 1. Getting Started with MERN
2. Unleashing React Applications with MERN 3. Preparing the Development Environment 4. Building MERN from the Ground Up
5. Building a Backend with MongoDB, Express, and Node 6. Adding a React Frontend to Complete MERN 7. Growing the Skeleton into a Social Media Application 8. Developing Web Applications with MERN
9. Building a Web-Based Classroom Application 10. Exercising MERN Skills with an Online Marketplace 11. Extending the Marketplace for Orders and Payments 12. Adding Real-Time Bidding Capabilities to the Marketplace 13. Advancing to Complex MERN Applications
14. Integrating Data Visualization with an Expense Tracking Application 15. Building a Media Streaming Application 16. Customizing the Media Player and Improving SEO 17. Developing a Web-Based VR Game 18. Making the VR Game Dynamic using MERN 19. Going Forward with MERN
20. Following Best Practices and Developing MERN Further 21. Other Books You May Enjoy

Autoplaying related media

In the play media page, users will have the option to autoplay one video after the other from the related media list. To make this feature possible, the PlayMedia component will manage the autoplay state, which will determine the data and how it will be rendered next in the MediaPlayer and RelatedMedia components after the current video finishes streaming in the player. In the following sections, we will complete this autoplay functionality by adding a toggle in the PlayMedia component and implementing the handleAutoplay method, which needs to be called when a video ends in the MediaPlayer component.

Toggling autoplay

On the play media page, we will add an autoplay toggle option above the related...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}