How to allow sites to play protected content in electron desktop app - node.js

I have an LMS its videos playing perfect on chrome and firefox browser but getting this on electron app:
Please ALLOW from Chrome settings > Site settings > Protected Content.
I don't know how to enable protected content in my electron app there is nothing in there API documentation.

You can look at to this document for solving problem.
https://www.electronjs.org/docs/tutorial/testing-widevine-cdm

Related

android webview autocomplete/autofill

I am creating a web app which requires a login. It seems my webview autofill/autocomplete does not work. Is this feature disabled by default? In my search through the web I have found many posts asking how to disable this feature, leading me to believe that it is enabled by default. My credentials are remembered and autofilled fine when testing my web app in chrome for android. I have also loaded gmail in my webview and tested to see if autofill worked, and I still could not get it to work. My app is set for SDK 18 and up.
Thanks

Lightbox Enable in Chrome App/Extension

I have created my first Chrome extension/app and found out that lightboxes do not function inside the app. I created the app from the Google example kiosk app. I'm only using webview in the app and have no other customizations. It just points to a link.
I want to use the app as an auto-launch Kiosk app on a Chromebox. Via this website I found that 'alert' and 'confirm' are a disabled web feature on chrome web apps.
I am wondering if it is possible to enable alert and confirm in the Chrome app so that lightboxes will work when interacting with a website.
Thanks in advance.
Yes you can definitely call alert box inside a chrome extension, just like you would in a normal javasript file as stated in this thread.
chrome.browserAction.onClicked.addListener(
alert("Im an alert box triggered by Chrome Extension")
);
The link you provided suggests that you can create a custom popup/lightbox as a workaround. There's a complete tutorial here.
Happy coding! :)

how to add a 'rate this app' button in my firefox os app?

I have uploaded an app in firefox app store. This app can be installed in firefox mobile os and firefox desktok browser.
How can I add 'rate this app' button and 'share' button in my application?
app link: https://marketplace.firefox.com/app/anti-mosquito
Thank You.
Here's a library for adding prompts to rate the application in an unobtrusive manner:
https://github.com/dcoloma/fxosRate
It's not exactly a "rate" and "share" button, but might serve the same purpose, or could be built-upon for your use-case.

How integrate chrome application with extension?

I'm writing an extension.
A part of this extension contains an html page.
I'd call that page, also as a Google Apps,
inserting an icon between applications of chrome.
It's possible create a manifest file to integrate the chrome app with chrome extension?
No. You'd create both an app an an extension, then encourage the user to install both if you detected that one wasn't installed.
There is an outstanding feature request to allow bundled installations of multiple apps/extensions.

How to open link in safari browser in my ipad sencha app

I made a app in sencha architect 2 for magazine reader, now I put link on social icon in my app.
When I click on that social icon, its opening in my app but I want to open it in default browser.
I build my app using http://build.phonegapp.com
Can anyboday help me how to open link in extarnal browser.
Any Example that help????

Resources