Support Microsoft Edge's Home Screen Background Animations. #1693
sdfghdr345345
started this conversation in
General
Replies: 1 comment
-
Edge backgrounds are simple videos that you can get with a little bit of inspection... //Needs to be run from the console on the edge homepage or the ntp.msn.com domain
const msnVideoLinks =
"https://ntp.msn.com/resolver/api/resolve/v3/config/?expType=AppConfig&expInstance=default&apptype=edgeChromium&v=20230501.202&targetScope={%22audienceMode%22:%22adult%22,%22browser%22:{%22browserType%22:%22edgeChromium%22,%22version%22:%22112%22,%22ismobile%22:%22false%22},%22deviceFormFactor%22:%22desktop%22,%22domain%22:%22ntp.msn.com%22,%22locale%22:{%22content%22:{%22language%22:%22en%22,%22market%22:%22us%22},%22display%22:{%22language%22:%22en%22,%22market%22:%22us%22}},%22os%22:%22windows%22,%22platform%22:%22web%22,%22pageType%22:%22dhp%22}";
const videoUrl = "https://prod-streaming-video-msn-com.akamaized.net/";
fetch(msnVideoLinks)
.then((r) => r.json())
.then((j) => {
const videoArr =
j.configs["BackgroundImageWC/default"].properties.video.data;
const videoTitles =
j.configs["BackgroundImageWC/default"].properties.localizedStrings
.video_titles;
for (var x in videoArr) {
console.log(
`${videoTitles[`video${x}`]} : ${videoUrl}${
videoArr[x].video.v2160
}.mp4`
);
}
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Microsoft Edge's Home Screen Background Animations are excellent except that those animations can't be displayed as desktop backgrounds.
Beta Was this translation helpful? Give feedback.
All reactions