Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Muhammad Adil
3,488 PointsStopping AutoPlay
Is there any way to stop the auto play when you visit the tutorial page?
5 Answers
Joseph Wachira
18,063 PointsNo. I think there isn't.
Paul Graham
1,396 PointsChrome has a "click to play" setting under the plug-ins preference, Firefox has the same thing in a hidden feature (one of those about:config things). Internet Explorer, well I'm sure something exists.
michaeldoucet
1,090 PointsI suppose it is this line of code below where data-autoplay="true". I guess it would need to be changed on each page, but it would be nice if there was a user configurable settings that was saved somehow. When I move from different videos, I am often setting up a new page or section in my notes or downloading the higher resolution video and project files, and most often need to stop it from playing. The overall design is really nice however.
<video class="featurette" controls="controls" data-autoplay="true" data-captions-preferences-url="http://teamtreehouse.com/users/captions" data-featurette="video-player" data-post-roll-overlay="next-step-overlay" data-record-video-view-url="http://teamtreehouse.com/videos/2025/record_video_view" data-start-language="en" poster="http://wpc.A8B5.edgecastcdn.net/80A8B5/treehouse/stills/CSSFoundations_Enhanced_Stage2_Video3-stills-7.jpg?514809d2869d73b56fd93d125510035500c5c9da011d1715abd518c4a4a5a8da628c" preload="none" style="width: 100%; height: 100%"><source src="http://wpc.A8B5.edgecastcdn.net/80A8B5/treehouse/videos/CSSFoundations_Enhanced_Stage2_Video3-534.webm?514809d2869d73b56fd93d125510035500c5c9da011d1715abd518c4a4a5a8da628c" type="video/webm" /><source src="http://wpc.A8B5.edgecastcdn.net/80A8B5/treehouse/videos/CSSFoundations_Enhanced_Stage2_Video3-534.mp4?514809d2869d73b56fd93d125510035500c5c9da011d1715abd518c4a4a5a8da628c" type="video/mp4" /><track kind="subtitles" src="/videos/2025/captions" srclang="en" /></video>
Lindsay Elia
2,736 PointsI also would like to see this feature be an option in my Treehouse account settings. I prefer to read the Teacher's Notes before watching the video, and sometimes I have videos open in multiple tabs at the same time. I would prefer to have control over whether or not the videos begin playing automatically.
I tried changing the settings in Chrome per the other commenters' suggestion (Chrome > Preferences > Settings > Advanced Settings > Privacy > Content Settings > Plug-ins) and checked "Click-to-Play" as well as various settings under "Disable individual plug-ins" and have seen no difference. The videos continue to autoplay when the page loads.
DJreya Boyd
7,268 PointsHas a solution been made for Safari users?
ivancasey
Courses Plus Student 31 Pointsivancasey
Courses Plus Student 31 PointsYeah, really annoying feature that you cannot stop auto-play. Hopefully you guys teach in your courses better ideas on how a webpage should be designed. :(
For example take a look at the Apple.com page who undoubtedly know a thing or two about design. Their videos do not auto-play.