Hi everyone,
I was wondering if it's possible to initiate video playback from the browser process. In this case, the UI we're trying to incorporate the video into is a native UI living in the browser process that uses the ui/views framework; it's not web-based. There is no user interactivity planned; the video just plays on a loop indefinitely. For simplicity right now, we can assume it's just an mp4 (or other supported format) file loaded from disc, and there's no content encryption.
Is something like this supported today? Could someone please point me in the right direction if so?
One path I thought of is creating just a few lines of HTML with a <video> element, whose "source" points to the video file, and creating a views::WebView (which fits nicely into the existing framework) to render it. IIUC, this would basically be directing the playback through the render process such that it looks like any other video playback in Chrome. But I'm wondering if there's a better option out there?
Thank you so much!