mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Hololens - Trigger MediaSessionActions for play and pause buttons
This commit is contained in:
parent
d633c8b9da
commit
d5200ba453
11 changed files with 69 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue