How to embed MyGuide player in an electron desktop app
try {
if (!window.guideMe) window.guideMe = {};
window.guideMe.baseUrl = 'myguide/'
var a = document.createElement('script');
a.src = guideMe.baseUrl + 'guideme.js';
document.head.appendChild(a);
} catch (err) {
console.error('Could not insert myguide script.', err)
}
- Download the "EdCast MyGuide Desktop Player" from https://builds.myguide.org/.
- Unzip the downloaded file into your root directory for your electron App. Rename it to "myguide"
- Copy the above code and insert it into your applications index file.
- Run your app and see MyGuide in action.
Last Updated: 2020-08-10 4:20pm. (GMT)