Web 2.0 player youtube video

xojo did not include the youtube video control in web 2.0. I’ve tried both webmovieplayer and htmlviewer, but can’t seem to get my youtube video to play.

Any ideas?

This is working as expected for me, with the WebHTMLViewer. I added an HTMLViewer to a WebPage and set it’s HTML property to the iframe embed code provided by YouTube and my video appeared when I ran the project. Here’s the embed code I used:

<iframe width="560" height="315" src="https://www.youtube.com/embed/bl5TUw7sUBs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>