Last active
December 31, 2020 23:34
-
-
Save phated/83ef2456d58c34cdbdfb8af7043c90a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Plugin { | |
async render(container) { | |
container.style.width = '200px'; | |
container.style.height = '150px'; | |
container.innerHTML = `<iframe width="100%" height="100%" src="https://www.youtube.com/embed/videoseries?list=OLAK5uy_nEMsrf6n4MS_by9gYHYx8vEyMK6PJbJog" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>`; | |
} | |
destroy() { } | |
} | |
plugin.register(new Plugin()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment