Hololens - Trigger MediaSessionActions for play and pause buttons

This commit is contained in:
Fernando Jimenez Moreno 2019-11-29 12:44:26 +01:00
parent d633c8b9da
commit d5200ba453
11 changed files with 69 additions and 22 deletions

View file

@ -73,8 +73,7 @@ Servo::Servo(hstring url, hstring args, GLsizei width, GLsizei height,
capi::CInitOptions o;
hstring defaultPrefs = L" --pref dom.webxr.enabled";
o.args = *hstring2char(args + defaultPrefs);
o.url =
"https://ferjm.github.io/web-api-tests/video/mp4.html"; //*hstring2char(url);
o.url = *hstring2char(url);
o.width = mWindowWidth;
o.height = mWindowHeight;
o.density = dpi;