Skip to content

Add toggle for enabling JS API on eclipsefdn.video

Resolves #341 (closed)

A data attribute toggle which enables the YouTube iframe embed's JS API. This will allow us to pause/play/stop a video using JavaScript.

Ex.

<a class="eclipsefdn-video" href="<youtube-url>" data-enable-js="true"></a>
Edited by Olivier Goulet

Merge request reports