mike-zarandona/PrettyEmbed.js

Use YouTube Iframe API for Video Insertion

Opened this issue · 0 comments

Instead of just inserting the iframe with autoplay set to true it would be better if you used the actual iframe API to insert videos. https://developers.google.com/youtube/iframe_api_reference

This would allows manipulation of a video once its been loaded like adding a stop function that could be programmatically called just off the top of my head.