I am creating an application in which medical students will watch a video that portrays a student taking history and performing physical exam on a simulated patient.
After watching a video, medical students will practice documenting the encounter (writing a patient note).
What is the best way to play video in a desktop application? I can think of the following options and all of them have their downsides.
1. Place videos on YouTube and play them via the HTMLViewer.
The problem with this method is that the HTMLViewer shows Youtube's sidebar. I wanted the video to cover the entire area of the HTMLViewer.
2. Place video on DropBox and play them via the HTMLViewer.
All works well except there are several buttons that allow users to download the video.
3. I can package videos and refer to them as to FolderItem but it will make an application huge.
Youtube has a function to embed video. The code to embed video is
<iframe width="560" height="315" src="https://www.youtube.com/embed/tvlo2yp2oVs" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Where in the HTMLViewer should I put this code to have the video embedded?
Thank you in advance.