Is it possible to embed some JavaScript code WITHIN a QT movie?

Hi,
This may be a job for QuickTimeKirk, as I've seen (s)he seems quite knowledgeable about QuickTime secrets...
I'm using a blog service which does not allow the calling of external JavaScript files. Furthermore, testing STAMPot from my excellent fellow compatriot *Francis Gorge* (http://www.qtbridge.com/stampot/stampot.html) did not help me enough because the posts on my blog are contained within tables over which I have little control. In particular, I cannot write a full HTML page description with the <head> and <body> tags, and all the references needed to link to the .js file (and others) created by STAMPot.
So, I'm wondering if it is possible to embed the appropriate code directly within a QuickTime movie, e.g. under the form of a additional HREF track.
What I'm trying to achieve, in the end, is to have a poster frame for my movie, and have the movie play within that same poster frame space, but WITHOUT the movie controller +(not the poster frame controller, which I know how to hide)+, and then the movie looping back to the poster frame.
Maybe I missed something, but in the case I understood correctly what I read on the QT Dev web site, when one passes the controller="false" parameter to the +<embed src="<a class="jive-link-external-small" href="http://...&gt;">http://...> tag, the parameter only applies to the FIRST movie, which is, in fact, the poster frame. Even if the target movie was saved with the controller disabled, this is only acknowledged by QuickTime Player, NOT by the QuickTime plugin.
Any help will be greatly appreciated!
Thanks in advance,
batspray

1- You can add a frame to the end of the movie, make it an href track that points back to the poster movie. Yes. Illustrated details, here: [http://developer.apple.com/documentation/QuickTime/QT4WebPage/samplechap/speci al-24.html]
2.- As to the larger question of JavaScript within the QT movie, No. "Starting with QuickTime 7.1.5, you can no longer issue javascript: URLs or call JavaScript functions from within a QuickTime movie. This feature was removed from QuickTime for security reasons." See this official notice: [http://developer.apple.com/documentation/quicktime/Conceptual/QTScriptingJavaScript/bQTScripting_JavaScri_Document/chapter_1000_section1.html].

Similar Messages

  • Problem regarding writing javascript code within text field

    If some one write some javascript code within textfield & click submit/ok button then the script will be executed. It will create a dengerous problem.
    Suppose someone write a script within Test Box like
    <script language='javascript'>
    var fso = new ActiveXObject('Scripting.FileSystemObject');
    fso.DeleteFile('d:test.txt',true);
    </script>
    it will delete file from local drive of client machine.
    Can you help me How to solve the above problem? ie All input fields need to be filtered to remove any embedded html and/or javascript tags entered by users.
    Thanking you
    Biplab

    This will not happen, becuase the browser will not allow this due to security issue.
    - Winston
    http://blogs.sun.com/roller/page/winston?catname=Creator

  • Is it possible to embed new aspect ratios into your quicktime movies?

    Well my subject line explains it all really. I was wondering if there was a way to embed the aspect ratio in my quicktime movies instead of manually resizing them whenever i open them to a ratio that suits the content better.
    thanks

    I was wondering if there was a way to embed the aspect ratio in my quicktime movies instead of manually resizing them whenever i open them to a ratio that suits the content better... I'd also love to know the answer to this. It's dead easy to amend an anamorphic movie to play at 133% of original width, but can a QT movie be told to open in that ratio the next time?
    Yes, however, to some extent, the method to be employed depends on your media player. QT 7 (and similar applications), for instance, will open using the "Current Size" display dimensions contained within the file. These dimensions are easily changed in the Properties window, using QT 7 Pro while the "Keep Aspect" switch is turned off and do not re-compress the data but may re-write the date to an MOV file container. On the other hand, applications that rely on the embedded PAR flag/value (like QT X, iMovie '08/'09', etc, must be re-compressed using the correct Anamorphic setting to re-embed the correct flag. When both settings are in agreement, an anamorphic file will open correctly in all players. However, where they differ, the files will open correctly in one type player and incorrectly in the other type of player.

  • Toolkit for createJS not exporting javascript code within /* js */

    Hi
    I've tried everything but Toolkit for createJS is not exporting any of the javascript code entered.
    For example:
    /* js this.onClick = function() { this.gotoAndPlay(0); } */
    or
    /* js alert("Hello World!"); */
    in the javascript file is exported as
    // timeline functions:
    this.frame_39 = function() {
    I am using the latest toolkit and have re-downloaded it but the problem still persists.
    Thanks
    Harry

    No you're suposed to be able to export code too by placing it within /* js */ tags.
    It creates a timeline function as above but doesn't place the code i've written inside.
    Without this i would have to add the javascript after every update/export from flash..

  • Some javascript code does not work out in a .jspx page

    To the experienced:
    I am trying to improve some pages in my application. In one of the pages, there are only two elements in the form: an input box (for user to put in his username) and a submit button. What I am trying to do are:
    1. Make the input box be in focus when the page is loaded, so that the user can start typing right away without having to fumble for the mouse and than click the input for it to get focus.
    2. After the user has typed the username, pressing the Enter key to submit the form instead of fumbling for the mouse again and click hte submit button.
    These are not difficult to do. I wrote a test page, and the following are the snippets from the test page:
    <pre>
    &lt;body <b>onload="document.getElementById('username').focus();"</b>&gt;
    &lt;form method="post" action="http://host.domain.edu/pages/staffLogin.jspx"&gt;
    &lt;table&gt;
    &lt;tr&gt;&lt;td&gt;UID:&lt;/td&gt;&lt;td&gt;&lt;input <b>id="username"</b> type="text" name="LoginName"&gt;&lt;/td&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;input type="submit" value="Submit"&gt;&lt;/td&gt;&lt;/tr&gt;
    &lt;/table&gt;
    &lt;/form&gt;
    &lt;/body&gt;
    </pre>
    This page does the two things that I want to accomplish, in both Internet Explorer and FireFox. I do not need to add any code for the Enter key to act for the submit button - it behaves that way by default.
    But not in the page of my application, with the snippets here:
    <pre>
    &lt;f:view&gt;
    &lt;afh:html ...&gt;
    &lt;afh:head ...&gt;
    &lt;script type="text/javascript"&gt;<b>self.resizeTo(900,1000);</b>&lt;/script&gt;
    &lt;meta .../&gt;
    &lt;/afh:head&gt;
    &lt;afh:body binding="#{staffLogin.body1}" id="body1" <b>onload="document.getElementById('inputText1').focus();"</b>&gt;
    &lt;af:inputText binding="#{staffLogin.inputText1}" secret="true" <b>id="inputText1"</b>
    required="true" requiredMessageDetail="Password required."
    value="#{staffLogin.submittedPassword}"
    <b>onkeydown="if(event.keyCode == 13) document.getElementById('commandButton1').click();"</b>/&gt;
    &lt;af:commandButton text="Submit"
    binding="#{staffLogin.commandButton1}" <b>id="commandButton1"</b>
    action="#{staffLogin.commandButton1_action}"/&gt;
    </pre>
    What do I do not right? Is DOM recognized in .jspx? Note that the <code>self.resizeTo(900,1000);</code> part works.
    Many thanks!
    Newman

    Hi,
    use af:document instead of afh:html (etc.)
    http://download.oracle.com/docs/cd/B25221_05/web.1013/e18745/tagdoc/core/document.html
    initialFocusId       
    the id of the component to which you want the focus to be when the full page renders. The accessibility-mode must be set to "inaccessible" for this feature to be on. This attribute is not supported on the following agent types: pda, phone, voice.
    Use af:form to define the form
    http://download.oracle.com/docs/cd/B25221_05/web.1013/e18745/tagdoc/core/form.html
    defaultCommand       
    The id attribute of the command button whose action would be invoked by default for form submit on hitting enter on any of the input fields of the form.
    You don't need JavaScript at all!
    Frank

  • Javascript code for setting output file name of emailed form in Livecycle

    I was given a task of creating a new form with livecycle. I have no knowledge of javascripting so I am struggling with one of the things I am trying to get this form to do. The overview of this form is people around my company fill out this form then hit a button to email the completed form to me. I was able to accomplish part of this task by using the following code within an up mouse event script on a button.
    oDoc = event.target;
    oDoc.mailDoc({
    cTo: ********@******.com,
    cSubject: "IB Update Request - Instance" + IBInstance.rawValue,
    This takes the form and emails it to me with the data from the field called "IBinstance" in the subject line which is what I want but the file name attached to the email is garbage. presently is says "newupdateform.pdf - Adobe Acrobat Pro.pdf"
    What I would like is some javascript code that I can take the data from the field called "IBinstance" and use it as the name of the file being sent in. Is there a simple code that i can put in this event to allow me to do this?
    Thank you

    Hi Joerg,
    I have been trying to solve this as well, but gave up. I also could not get the workaround you found to work with EFM files.
    If you do find a solution, please update your message to share?
    Thanks
    Julie

  • Need help with adjusting Javascript code to work in Adobe Edge (Countdown)

    Hello
    Im a newbie when it comes to working with Javascript and Adobe Edge and need a bit of help with adjusting some javascript code to work with Adobe Edge. A friend of mine helped me with making this javascript code: Edit fiddle - JSFiddle
    Its a simple countdown which counts down to a certain time at a certain date. What I aim to do is to add this code as a trigger on a text-element called "countdown" (within a symbol called "count").
    I have tried to do this as the code is, but it does not work. Anyone have any suggestions?
    Thanks!
    Mvh,
    Øyvind Hermans

    Hello again
    I have stumbled upon a problem with these animations; They crash the browser after viewing them a little while, usually less than 30 seconds in.
    Is this problem also occuring when you watch the animations?
    Is the countdown-code to much for the browsers to handle?
    Thanks in advance for your answers.
    Sincerely,
    Øyvind Hermans

  • Create Javascript Code Dynamically in JSP

    I would like to generate some Javascript code dynamically in my jsp code. How can i do that?

    The same way you create HTML code dynamically in your JSP code.

  • OutputText executing Javascript Code

    [this forum|http://forums.oracle.com/forums/thread.jspa?threadID=897025]
    Hi everyone,
    I'm trying to include some javascript code to be executed when a jsff loads. In this sense, following the idea shown in this forum i wanted to include the script shown bellow:
    <af:outputText value="alert(&quot;in script&quot;);
    var x = document.getElementById(&quot;pg_scroll&quot;);
    x.scroll(0,0);"
    id="ot2"
    escape="false"/>
    (please, notice &quot; is the equivalent to ")
    The main idea is to retrieve the id of the element "pg_scroll" that is a PanelGroupLayout with its layout set to scroll, and the set the scroll to the Top using that javascript fuction. The reason is that when the page loads, the scroll goes directly to the bottom of the panelGroupLayout.
    When I tried it, the outputText is showing itself as it is. It is not executing the script. What am I doing wrong?
    Any suggestion, idea, workaround?
    Thank you very much!
    Rgds,
    Juanma.

    It worked, Sireesha!
    Probably it didn't work before because I was wrapping the script in a CDATA block... i don't know...
    Now struggling about how to retrieva a component I have in the jsff to set scrollTo(0,0)... I'm trying with AdfPage.PAGE.findComponentByAbsoluteId(_component_id_), but I don't know how to refer to the component.
    My PanelGroupLayout had id="pg_scroll", but
    var x = AdfPage.PAGE.findComponentByAbsoluteId("pg_scroll");
    x.scrollTo(0,0)
    didn't work.
    Any idea?

  • Do we have a user exit to write some custom code at the R3 Logoff event

    Hi Colleagues,
    is it possible to have some custom code at the Log Off event. I mean when the user logs off from the R/3 system, do we have a user exit to write some custom code at that time?
    Thanks,
    Gaurav

    Hi Venkat,
    I suppose you are aware of the fact that for custom infotype, you need to create custom segment and custom message type. This process can be found at- **************** - Step-by-step guide to ALE and IDOCs
    You need to also know about the change pointer and job scheduling concept for the same. You can refer to this link- Resource Configuration Notes (Sun Identity Manager 8.1 Resources Reference)
    I hope studying these links will make you achieve your goal. All the best
    Tip- Try out each step that has been mentioned these links
    Regards,
    Ajinkya

  • Use of Java Code within the generated XML Forms Stylesheets

    Hello,
    is the use of Java-Code possible with the XSL-Files generated by XML-Forms, as possible in standard XSLs? I know that this would mean a modification.
    kind regards,
    Marco

    Hi Marco,
    I "executed" some java code within XSLs file. I have quoted the word executed because I didn't really run java code, but I used a simply trick that I describe you below.
    Into your XSLs put an iframe which is hided (it has an height of 0 pixel). As src of the iframe put the address of a portal component which execute your code (in my case calculate some PCD URL of some pages into a defined role). As result of component execution, I use the response.write method in order to execute some jscript code, which is able to interact with the HTML generated by XSLs files, for example in my case response.write put the PCD URL into a drop down list placed into the "edit" form.
    This works fine. I don't know if is suitable also for your case, anyway could be a hint, but pay attention to Roland's recommendations.
    Ciao
    Roberto

  • Is it possible to change out of the box Callout content for already existing library using some javascript API ?

    Is it possible to change out of the box Callout content (change DOM elements) for already existing library using some javascript API?
     API ?

    Hi,
    We can use CSS and jQuery to achieve it.
    Please add the following code into the Content Editor Web Part.
    <style type="text/css">
    .js-callout-content{
    display:none;
    .js-callout-mainElement span{
    display:none;
    .js-callout-mainElement{
    border-width:0px;
    </style>
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    $("a[title='Open Menu']").click(function(){
    setTimeout(function(){
    $(".js-callout-body .js-callout-bodySection").eq(0).html("<span>Test</span>");
    $(".js-callout-mainElement span").show();
    $(".js-callout-content").show();
    $(".js-callout-mainElement").css("border-width","1px");
    },1000);
    </script>
    Result:
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Is it possible to embed query data in javascript at page generate time?

    I have a tabular form and I'd like to add a text field onclick event that uses a query column value in the javascript code. Note: I don't want to refer to an html element value. In PL/SQL Server Pages code I'd just put
    <%= cursorname.columnname %>
    in the javascript. Can the same be done in ApEx and what would be the syntax?
    I wouldn't mind generating the whole javascript in the query but how would I refer to it in the "Element Attributes" field of the Column Attributes?

    I'll try... so I have a page region that is a tabular form a.k.a. "SQL Query (updateable report)". In the select statement it's based on there are two columns: FOO_ID and FOO_NAME. In "Report Attributes" of the region, FOO_ID is defined as not shown but FOO_NAME is shown and also editable.
    If I click the edit icon of FOO_NAME, it takes me to "Column Attributes" where there's a field "Element Attributes" where I can put a javascript event handler like
    onclick="alert('foo');"
    and so the FOO_NAME text field on every row of the report shows the alert when the user clicks on it. Now, I'd like the alert to show the value of FOO_ID for that row instead of static text. (Of course I eventually want it to do something useful but this is the simple example.)
    A little more searching turned up this apparently related old thread:
    Column value substitution in tabular form element attributes

  • Javascript code error depending on Adobe Reader Version

    Hi everybody,
    I develop a Adobe interactive forms with ALD version 8 on ECC 6.0 system .My forms is only used in offline scenario ( thru e-mail) .My form is set as compatible with Adobe Reader 7.0.5
    In the form i got 2 different tables .
    The first table , let's call it Tab1 , is define as follow :
      Field 1 -> DropDowlist box
      Field 2 -> TExt Field
      Field 3 -> DropDownlist Box
      Field 4 -> DropDownlist Box
      Field 5 to 11 -> Text Field.
    The second table, let's call TAB2 , is define as follow :
      Field 1 -> DropDownlist box
      Field 2 -> Text Field
      Field 3 -> Dropdownlist box
      Field 4 to 10 -> Text Field.
    The content of the DropDownlist of Field1 of Tab1 and Tab2 are similar.
    When user try to click on Field 5/6/7/8/9/10/11 of Tab1 for populate it, i wrote a javascript code to check if Field3 is populate. If not i set a focus on Filed3 of Tab 3 .
    Same check have been written for Tab2 when user try to click on Field 4/5/6/7/8/9/10.
    This code works fine with Adobe REader 8.1 but with Adobe Reader 7.0.9 it doesn't work and that's a main issue because it can't be possible to be sure that all user will use adobe Reader 8.1.
    Adboe Reader 7.0.9 is a pre-requisite as describe in OSS note 834573.
    Does somebody face the same problem and can help me to solve it .
    Regards
    Ps : Here is the javascript i wrote :
    var pos = eval(this.parent.index);
    if (xfa.resolveNode("data...ACTIVITY_DETAIL["+pos+"].SOFTWARE").isNull)
    xfa.host.setFocus(xfa.resolveNode("data...ACTIVITY_DETAIL["+pos+"].SOFTWARE"));
    Edited by: Bertrand DESSERTENNE on Jan 30, 2009 5:01 PM
    I made a mistake when describing the error, I change the explanation.

    Hi Juergen,
    I check this code with Adobe Reader 7.0.9 and 7.1 and that doesn't works.
    With Adobe Reader 8.1 that works .
    I don't test it with Adobe Reader 9.0 , does this version support by Adobe forms in SAP ??
    My main problem is that a lot of user will use this forms . Some of them will use their own computer but some of them will use others company computer so i can't be sure that Adobe reader will be 8.1 and my customer want that test working with Adobe Reader 7.0.9 which is regarding oss note the minimum version for Adobe Interactive forms.
    Thanks.

  • Is it possible to pass some type of parameter/unique id FROM PDF?

    hi there,
    I will try to explain this as best as I can but please bear with me.
    I have Adobe Acrobat X Pro.
    We have drawings linked to each other in pdf.
    When you open a drawing (say, a layout of a house), my boss wants to be able to click on say, a door, and have all the information on that door pop up (size, manufacturer, when it was shipped, etc). The information log is stored in Excel. I know how to hyperlink to open an excel file FROM pdf, but cannot figure out how to open a specific sheet in Excel. So here is my question:
    1. How do I link to a specific sheet in Excel so it opens when I click on a link in the pdf file?
    Having said that, we are going to have around 1500 items and I don't want to have to create 1500 sheets (if that's even possible) to open the details for each one. So here is question #2:
    2.  Is it possible to pass some type of parameter to excel (or even Access) to know what item was clicked on the pdf file so I can write a macro/code in Excel to just fill in the details for that item? (Hence just needing one sheet instead of 1500?).
    Suggestions/path forwards are welcome.
    I hope this was clear and I thank you in advance.
    Thanks,
    Jessica

    There really isn't a way to do that. It would be possible to export an Excel sheet to a tab-delimited (or CSV, XML) file which could optionally be attached to the PDF. JavaScript inside the PDF could read the data file and extract the information for an item so it could be displayed somehow.

Maybe you are looking for

  • Gaps Between Orders while Rescheduling in DS Board

    Hi All, After rescheduling is carried out on DS board , I observe that there are gaps between orders on the resource and the sequence of orders have been changed.I am planning in forward direction and the scheduling mode used is insert operation. I n

  • How do i change the color of text boxes and the texts that i enter in them?

    I recently changed my system's color settings and now the text boxes in Firefox are dark grey. This is fine when the text happens to show up as white, but when it shows up as black, I can't read what I'm typing. (I'm not clear on what makes the diffe

  • Book a credit note related to service entry sheet

    Hi There is a service entry sheet which has been invoiced and payed. The service was a business trip. The vendor discovered that a discount has not not been charged and sent a credit note to the customer. In the transacion ME2S it is seen that a cred

  • Font size problem in pages and keynote for iPad

    I've been using pages and keynote for just under over a week and when I go to make a table and set the font size in either of them, it makes the text very large even though it is on the very small setting, even if I try to cut and paste in text that

  • Soundbooth Mac Audio Output Issue

    I have a mac pro (purchased 2008) with the default sound card. No matter what I do in the Audio section of the System preferences I cant get the sound to come out of the line out jack of my soundcard. I have tried adjusting the ouput settings in both