Iframe in the cascades

Hi all.

I want to open the video by iframe with webview. But it appears only black with sound. Please help me.

Thank you & best regards

Sanjit

Hello

Try this code, video youtube, it plays in the WebView - inline without switch to full-screen mode:

 WebView {
                id: webView
                html: "

Ho file it, script js in settings regional dell'iframe, oppure posso anche tramite http richiamarlo.

Per favore mi aiutate, finalmente dopo aunt prove giorni e a completare?

  • Refresh only the left side of the cascade point shuttle LOV

    Hello

    I want to fill the shuttle point dynamically using selection LOV cascading list. but when I change to another value left and right gets refreshed.

    but I want to refresh only the left side, right must be the same.

    I want to achieve something like that

    http://Apex.Oracle.com/pls/Apex/f?p=579:56

    I want to achieve this by using Refresh before and after updating dynamic action.
    Is this possible?

    pls help me with this. Its very urgent.

    879090 wrote:

    If you are on 4.x just used the cascade LOV Parent article (s) in the element of the shuttle

    Yes use v 4.X .and uses the parent LOV cascading item. My problem is that I want to change the elements of lov parent and cascading using different values.

    Let's say my lov elements parent has deptno 10,20,30.

    Wen I select dept 10 it should display all the emp to 10 dept. and I wil select some employees from that. then I will select dept 20 then it will show all employees of dept 20 and I will select a few PMCs from that.

    But now the prob is wen I don't change the dept No 20 of 10, the right side of the shuttle point with details emp dept 10 has disappeared. but I want that values must be ter, and should be updated by the left side.

    check out the link that I have attached in the first post. I want to achieve the same thing like that.

    Well, I looked at link above and even recreated in my demo application and added the section how it, just follow the steps

    http://Apex.Oracle.com/pls/Apex/f?p=46417:22

    Test/test connection

  • To refer to an object on board in an onclick = "" in a file loaded into an iFrame in the animation .html "

    HI, I'm trying to understand the edge predetermined by stumble my way through the attempts of coding reference. I hit a wall...

    How can I refer to an object and a global function in my animation Board an onclick = "" located in a .html file loaded into an iFrame created in animation master/parent edge. " Here's what I have...

    My main index.html is an animation on board. A single object < div > is a box created within the Edge. I've added an iFrame with the benefit code:

    SYM. $("MenuPanelScreen") .html ("< iframe src ="list_images_cemetery.html "width ="267"height =" 670 "sandbox =" allow-same-origin allow scripts allow-top-navigation"> < / iframe > ');

    This .html file that loads into the iframe in the animation contains thumbnails in < a > tags and contain onclick = "" instructions that must call a function in the file Edge. "

    Finally, I want to as statements read something like... ( onclick = "changePic ('Dragon.jpg ', 'le Dragon)", "Holy and worm") "

    However, I had no idea how reference to the changePic() function in the entertainment on board. So, just to understand how to make reference to the animation of parent of a html element in an iFrame, I change the onclick = "" statements to... "

    < a onclick = "alert ("trying to hide the nameplate"); SYM.$('NamePlate_sym').hide (); " > < img src =" gallery/TheyGaveUpTheirDead.jpg' width = '80' alt = "Angel and worm" / > < / a > "

    First of all, I wanted to see if I could hide a symbol of edge or a div element / child html code. I tried the following...

    OnClick = "alert ('try to hide the plate'); SYM. $('NamePlate_sym',_window.parent.document).hide (); »

    I tried a few other variations that I won't bore you with. Can someone help me with the proper reference to achieve an element of edge?

    Moreover, I ultimately want the onclick = "" declaration to reference a global function on attached to the step edge in the event compositionReady of the scene. " The function is...

    window.changePic = function (myFileCurr, myLabelCurr, myDescriptionCurr) {}

    Alert ("in changePick");

    document.getElementById("myImage").src = "Gallery /" + myFileCurr;

    document.getElementById("myImageLabel").innerHTML = myLabelCurr;

    document.getElementById("myImageDescr").innerHTML = myDescriptionCurr;

    }

    I hope someone can point me in the right direction. Please forgive my ignorance. I'm just to come back in coding and learn the intricacies of Jscript and jQuery. Thank you!

    Well, after nearly sawing my head with a Pocket comb, I tried this...

    COMP. $("Rectangle").html ("test");

    and

    window.parent. changePic(); to call the global function

    At the same time, it worked.

    Thanks, Elaine. Your example helped!

  • ON DELETE CASCADE and the CASCADE CONSTRAINTS - what are the difference?

    I know that CASCADE CONSTRAINTS would allow me to remove the parent key and the reference of the following children will be freed from the constraints. However, the child columns will remain and will be set to NULL.

    SO:

    If the CASCADE CONSTRAINTS could do the job, why do we need on REMOVE CONSTRAINTS?

    Unnecessary extra Note:

    I know that YOU DELETE CONSTRAINT is defined with the child. When I tried to delete the parent key without having the CONSTRAINTS of the WATERFALL, I got an error message indicates that the parent key has childs! So ON DELETE CASCADE was not up to what I had to mention the CASCADE CONSTRAINTS when deleting the parent key while the CASCADE CONSTRAINTS worked fine without ON DELETE CASCADE on the side of the child.

    I hope that my question is simple...

    A foreign key with a delete cascade means that if a record in the parent table is deleted, then the corresponding records in the child table with automatically deleted. This is a deletion of the waterfall.

    Forced to cascade deletes all foreign keys that reference the table to remove, and then deletes the table.

  • OpenGl as underlay to the Cascades project

    Hey all,.

    I am trying to use the OpenGl fusion and stunts to create a underlying opengl in a cascades of the user interface. The project compiles, but it throws segfault on the launch, and I'm not quite sure what I did wrong.

    What is the app is essentially creates a foreign window control, and then a button click on starts a new thread to make an openGl application.

    The openGL code is based on the sample standard proveded my blackberry as well as a few other examples that I have seen in these forums and it works well as a stand alone project.

    I created a public github repository for the project. If someone wants to watch or contribute to the example that I would really appreciate it!

    * USE IN RESPONSE TO THE PLACE GIT REPOSITORY. Created a new one.*

    UPDATE: here's the exact error message I receive:

    "

    127029503 (ThreeDViewer) process ended the SIGSEGV = 1 fltno = 11 78ab813a = ip code (/ proc/boot/img_codec_png.so@png_validate+0x13) mapaddr = 0000113a. REF = 00000007

    "

    UPDATE 2: I think I figureed out!

    Many people, seems to have got it working!

    I don't really know what I did... but the original draft that I submitted a lot of errors related to libraries, dependencies, and I was using the pthreads incorrectly.

    I created a new project from scratch, but also a new repository. The former one was... without the possibility of repair. Start a new project and the repository was faster.

    https://github.com/joelghill/3D-view.git

    Hope this helps other people when you try something similar!

  • Basic application and application of the cascade

    Hello

    I need to make a basic application that use Cascade app to display some independence UI (like webview, video, download data,...).

    I know cascade app and core app are separate, so I need to know is possible?

    If possible, can someone give me some suggestions or referrences?

    Thanks for reading and I hope an answer. ^_^

    Welcome on the support forums.

    Each of waterfalls is also a native application. Cascades is an infrastructure of UI (more or less) for the natives.
    This means that they are not really separate. Simply create a new application of Cascades to start. There are also a lot of samples available.

  • My questions on the Cascades (or feature requests)

    Hello

    I started to work (or play) with waterfalls.

    So, how do you move the application menu on the left or right? or over the top? (it is always on the bottom)

    How to change the default color / background of the menu (I want a menu transparent)

    How to design a menu "swipedown" (as the native BlackBerry browser)?

    How to customize a components by default (without creating a new component from scratch)?

    Nicolas

    Will try and answer your questions.

    The Menu of the Application should always be at the top of the screen and it should contain less frequently used options.

    http://docs.BlackBerry.com/en/developers/deliverables/41577/menus.jsp

    Swipedown signal connects as explained on this thread.

    http://docs.BlackBerry.com/en/developers/deliverables/41577/menus.jsp

    You should be able to use the default controls as basis for your custom control - the process is detailed here.

    https://developer.BlackBerry.com/Cascades/documentation/UI/custom_components/

  • Encoding issue when using Invocation/InvokeQuery in the Cascades

    I'm having a problem trying to share the Spanish text, using Invocation, seems to be a coding problem, but I don't know how to solve this problem, following code illustrates the problem. Rather than retrieve the text, I get this:

    This is the code I use:

    import bb.cascades 1.0
    
    Page {
        attachedObjects: [
            Invocation {
                id: invokeShare
                query: InvokeQuery {
                    id: invq
                    mimeType: "text/plain"
                    data: " ¡Tratando de compartir algo en español!"
                    invokeActionId: "bb.action.SHARE"
                    onQueryChanged: invq.updateQuery()
                }
            }
        ]
    
        Container {
            layout: DockLayout {}
            Button {
                text: "Click"
                onClicked: {
                    invokeShare.trigger("bb.action.SHARE")
                }
            }
        }
    }
    

    Hello!

    "data" parameter expects a QByteArray. By default, the string is converted to QByteArray using the ASCII coding. You will need to convert it to Utf8 instead. This can be done using a C++ helper function: http://supportforums.blackberry.com/t5/Native-Development/sharing-data-of-type-QString-using-Invocat...

  • Rotation of the screen (displayDirection) in the cascades (QtQuick) app

    Hi all

    I am new to BB, but have Qt / Qt Quick experience.

    I'm trying to transfer my Qt Quick to BB10 application. The app is SmartCam: http://sourceforge.net/projects/smartcam/

    I use camera APIs but without waterfalls. I have problems with the viewfinder of the camera and the orientation of my user interface.

    I demand BB10 to support orientation to landscape for my application like this:

    (1) in bar - descriptor.xml:

        
            landscape
            false
            none
            false
        
    

    (2) in main.cpp:

        QmlApplicationViewer qmlViewer;
     qmlViewer.setOrientation(QmlApplicationViewer::ScreenOrientationLockLandscape); // ORIENTATION
    

    It of OK, my application starts in the landscape and does not turn into the portrait when the orientation of the device changes (in fact many times the application started in portrait but only 0.5%; this isn't my main problem).

    My problem is that even if it begins in the landscape, the displayDirection (the name of it comes from the OrientationSupport class cascades) is sometimes different: sometimes the text of the Blackberry logo displayed briefly when my application starts is up (80%) and sometimes she is facing down (20%).

    I need to specify an angle with the viewfinder of the camera according to the value of the displayDirection (90 degrees or 270) but I have no way I know of to question the value of this setting, because the waterfalls of OrientationSupport is not available for Qt Quick application, it's me linking errors:

    undefined reference to `bb::cascades::OrientationSupport::instance()'
    

    I added this in the .pro file:

    LIBS += -lcamapi -lscreen -lbtapi -ljpeg -lbps
    

    but nothing helped.

    The RotationCamera example also uses the class OrientationSupport is not a big help for me.

    I tried also in main.cpp:

        // Disable screen power down
        int idle_mode = SCREEN_IDLE_MODE_KEEP_AWAKE;
        WId winId = glWidget->winId();
        screen_set_window_property_iv(screen_window_t(winId), SCREEN_PROPERTY_IDLE_MODE, &idle_mode);
        int angle = 0;
        screen_set_window_property_iv(screen_window_t(winId), SCREEN_PROPERTY_ROTATION, &angle);
        winId = qmlViewer.winId();
        screen_set_window_property_iv(screen_window_t(winId), SCREEN_PROPERTY_ROTATION, &angle);
    

    But the definition of SCREEN_PROPERTY_ROTATION did not help either...

    Because of this problem that my app was rejected form the AppWorld.

    Can anyone help?

    Thank you

    Ionut

    Fixed it by calling

    navigator_set_orientation(NAVIGATOR_LEFT_UP, NULL);
    

    in response to the event of bps navigator: NAVIGATOR_WINDOW_ACTIVE

    This way my app always starts in the landscape (what was going on as before) but the display direction will be constant at startup.

  • background image defined in the cascades

    Hi all

    I like to define the background image of the Blackberry10. I didn't find the API to do this.

    Can someone help me, please?

    Thank you

    He called the background, not the background, so Google search took me here: https://developer.blackberry.com/cascades/reference/bb__platform__homescreen.html

  • Internet, check the code example in the cascades

    Please give me the sample code

    Copy the following code

    https://developer.BlackBerry.com/Cascades/documentation/dev/bps/bps_tutorial.html

  • Maybe you are looking for