![](https://secure.gravatar.com/avatar/4ef335f5cc211027bf8c4750471a55f3?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Auto Play
Using Word Press Woo commerce plugin to make a pop up offer with Video embedded, how do I get the video to play when the pop up is triggered?
Using Word Press Woo commerce plugin to make a pop up offer with Video embedded, how do I get the video to play when the pop up is triggered?
Depends on how you are configuring the player:
1) If you are using your account dashboard, there is a checkbox for Autostart
2) If you are manually creating the jwplayer().setup(), you need to include:
autostart: ‘true’
Please see our Configuration Reference document at https://developer.jwplayer.com/jw-player/docs/developer-guide/customization/configuration-reference/#setup for more details on the second option
You could also call jwplayer().play(true); as the last line of your pop up triggered script.