Autoplay
Patrick Farley avatar
Written by Patrick Farley
Updated over a week ago


***Note***
Due to Autoplay Policy changes applied to many major browsers during 2018, HapYak cannot certify autoplay functionality across all environments. Please review your browser's Autoplay Policy for more information.


To set a HapYak project to autoplay when the page loads simply add the query parameter hapyak_autoplay=true to the URL where the video is embedded.

Example:

http://www.hapyak.com/portal/viewer/2011ab957f0bd60d827e2adf4b0ce9b2 will not autoplay.

http://www.hapyak.com/portal/viewer/2011ab957f0bd60d827e2adf4b0ce9b2?hapyak_autoplay=true will autoplay.

Or you can manually add &hapyak_autoplay=true to the embed code.

Example:

This will not autoplay,

<iframe id="hapyak-player-9621-3576" marginwidth="0" marginheight="0" frameborder="no" scrolling="no" allowfullscreen="" webkitallowfullscreen="" mozallowfullscreen="" src="//www.hapyak.com/embed?key=9d2be3d5dfde4a849490&amp;project=11372" width="960" height="599" class="hapyak-embed"></iframe>

This will,

<iframe id="hapyak-player-9621-3576" marginwidth="0" marginheight="0" frameborder="no" scrolling="no" allowfullscreen="" webkitallowfullscreen="" mozallowfullscreen="" src="//www.hapyak.com/embed?key=9d2be3d5dfde4a849490&amp;project=11372&amp;hapyak_autoplay=true" width="960" height="599" class="hapyak-embed"></iframe>

Please Note: this is a Proof of Concept only provided to show the possibilities of the HapYak Platform and should not be taken as an offer to create, edit or maintain custom integration or development.

Did this answer your question?