Hi,
I am using Radwindow in my asp.net application as below
<telerik:RadWindow VisibleOnPageLoad="false" Behaviors="Close,Move,Maximize,Resize" VisibleStatusbar="false" VisibleTitlebar="true" Modal="true" ShowContentDuringLoad="false" ID="rwEdit" runat="server" KeepInScreenBounds="true" InitialBehaviors="Maximize" Style="z-index: 9000" AutoSizeBehaviors="Width, Height" AutoSize="true">
</telerik:RadWindow>
In my javascript I set the url and display the window
var rWindow = $find(rwEdit);
if (rWindow) {
//rWindow.allow = 'camera'; // Tried to set the camera
rWindow.setSize(1000, 800);
rWindow.set_title('Open Form');
rWindow.set_modal(true);
rWindow.setActive(true);
rWindow.setUrl('http://localhost:8080/execute/1563377889038?pid=1');
rWindow.set_behaviors(Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Resize + Telerik.Web.UI.WindowBehaviors.Maximize);
rWindow.show();
rWindow.add_close(OnClientClose);
}
On executing the Radwindow creates a iframe (as seen in dev tools) with the same id as RadWindow. I want to use the camera(webcam) within the iframe. I have tried giving the attribute 'allow' in the javascript but it does not work.
Could I please have some help with this? How can I enable the feature policy of 'camera'?
Thanks
Deepam