YouTube embed code getting truncated

I have a form field with a YouTube embed that I am trying to
read into a MySQL database.
<input name="Image1URL" type="hidden" value="<object
width="425" height="344"><param name="movie" value="
http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><object
src="
http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1"
type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true" width="425"
height="344"></embed></object>" />
On insertion, the entry is getting truncated to:
<object width=
Apparently it doesn't like the "
I tried to do a Replace to make it "" but can't figure out
the correct way to code it
Thanks.

Answering my own question
by converting the input to HTML format (simply by using a
<cfinput, not an <input tag) the value now displays as:
<input name="Image1URL" type="hidden"
value="&lt;youtubeobject width=&quot;425&quot;
height=&quot;344&quot;&gt;&lt;param
name=&quot;movie&quot; value=&quot;
http://www.youtube.com/v/2X7xFIhTIDc&amp;hl=en&amp;fs=1&quot;&gt;&lt;/param&gt;&lt;param
name=&quot;allowFullScreen&quot;
value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param
name=&quot;allowscriptaccess&quot;
value=&quot;always&quot;&gt;&lt;/param&gt;&lt;youtubeobject
src=&quot;
http://www.youtube.com/v/2X7xFIhTIDc&amp;hl=en&amp;fs=1&quot;
type=&quot;application/x-shockwave-flash&quot;
allowscriptaccess=&quot;always&quot;
allowfullscreen=&quot;true&quot;
width=&quot;425&quot;
height=&quot;344&quot;&gt;&lt;/embed&gt;&lt;/object&gt;"
class="form" id="Image1URL" />
which MySql interprets as:
<youtubeobject width="425" height="344"><param
name="movie" value="
http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess"
value="always"></param><youtubeobject src="
http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1"
type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true" width="425"
height="344"></embed></object>
btw: the reason object is displaying as youtubeobject in the
code above is because when passing the embed code from one page to
another, CF changes the word Object to InvalidTag. When the
variable is passed, I am converting it to either object if it
intended for display, or youtubeobject when it is inserted into the
db
<cfset YouTubeDisplay =
"#replace(FORM.YouTubeEmbed,"InvalidTag","object", "all")#">

Similar Messages

  • Youtube embed code in the lighbox widget crashes Muse

    Muse crashes every time I use the youtube embed code in the lighbox widget. I am looking for a simple pop up video solution.

    Use the YouTube widget from the Widget Library. It avoids this crash. (The next major update of Muse will enable you to once again use the embed code, if you prefer that over the widget.)
    https://creativecloud.adobeevents.com/ccnext

  • How to embed new youtube embed code in iweb

    For some reason neither the embed code pasted into an HTML snippet nor the youtube URL pasted into a youtube widget display the youtube video when I publish the site.
    The youtube video shows up in iweb the moment I paste either the URL into the youtube widget or the embed code into the html widget, but when I publish it, the youtube video doesn't display.
    I thought it might have to do with the old vs. new embed code on youtube - the new makes it work as html 5 as well, but I've tried both the new and old code and can't get it to show up.
    The last bit of info is that I have noticed that when i publish the changes, the snippet folder in the folder that gets published isn't updating - there doesn't seem to be anything in that folder that gets changed when i add, delete or edit any widget.

    The YouTube widget no longer works as it was dependent on software on the MMe servers which are no more.
    How are you publishing the site?  Are you publishing to a folder on your hard drive and then uploading to the server with a 3rd party FTP client?  Does the video play when you access the locally published site with your browser? If so then the problem lies with the uploading of the files.
    If you're using iWeb 2 (08) be aware that there are compatibiliy problems with it and Mt. Lion when it comes  to publishing.  So check the site locally to make sure all is well before uploading.
    This test page has two occurrances of a YouTube video, one with the old code, one with the old code and HTTPS and with HTTPS only: Page 2
    OT

  • YOUtube embed code in a flash app

    Ok so i want to be able to use the embed code from a Utube or
    Revver video in a swf. I want to be able to call:
    <object width="425" height="350"><param name="movie"
    value="
    http://www.youtube.com/v/7L87zqOVqXk"></param><param
    name="wmode" value="transparent"></param><embed src="
    http://www.youtube.com/v/7L87zqOVqXk"
    type="application/x-shockwave-flash" wmode="transparent"
    width="425" height="350"></embed></object>
    to the stage with a button. how can i do this?
    -Thanks

    Use the YouTube widget from the Widget Library. It avoids this crash. (The next major update of Muse will enable you to once again use the embed code, if you prefer that over the widget.)
    https://creativecloud.adobeevents.com/ccnext

  • Youtube embed issues after update

    I ran the required folio builder update for CS6 and now when I try embedding a Youtube video using "insert html" under Object, the youtube video won't work once I update the folio and attempt to view from my IPad.  It's just a black screen.  Any idea what happened? I am using the proper embed code (not flash)
    It worked fine until I updated.  I restarted everything- computer, inDesign, etc.  Thanks,  Mark

    Hi Bob,
    Thanks for you reply.
    In your DPS Tips app (Effects -> Insert HTML, purple tab) is now mentioned that you should copy the entire embed code for sharing (and add "http://) on YouTube, and then choose "Insert HTML" in Indesign CS6.
    Indesign CS6 creates a frame automatically, which, in fact, is a Web Content overlay. 
    Fortunately, after pasting the embed code, you can't see what is in the container frame afterwards. Not very useful in case you want to make changes.
    In the link in my post above, you can read that you should create your own container frame, and then paste a part of the Youtube embed code in the Folio Overlays panel (and add "http://).
    This is a bit different way of doing it, but it works fine in V27, viewed on an iPad.
    Since you use the Folio Overlays panel in this case, you can see what is in the container frame (and also be able to change it).
    Maybe you can add this second option in your app?

  • Why can't I get embed codes at YouTube using Firefox on my desktop, while it works fine on my Macbook Pro with Firefox? This is a recent change.

    Recently, I noticed that when I attempt to "share" a YouTube video and click the share button, I get no embed codes. In fact I get no options at all. And, when I tried to share a YouTube playlist, again, nothing happens except an apparent text box opens that I cannot type or enter anything into. I use a Macbook Pro at work, with Firefox as my browser and everything works just as it should on YouTube. Since this is a quite recent problem with my Dell desktop (Firefox browser) at home, I suspect something has changed resulting in my current issue. Thanks for any help!

    ''garybrantley [[#question-1046956|said]]''
    <blockquote>
    Recently, I noticed that when I attempt to "share" a YouTube video and click the share button, I get no embed codes. In fact I get no options at all. And, when I tried to share a YouTube playlist, again, nothing happens except an apparent text box opens that I cannot type or enter anything into. I use a Macbook Pro at work, with Firefox as my browser and everything works just as it should on YouTube. Since this is a quite recent problem with my Dell desktop (Firefox browser) at home, I suspect something has changed resulting in my current issue. Thanks for any help!
    </blockquote>
    YouTube Content Creators have the ability to disable embedding if they wish to keep their videos on YouTube only. This is most likely what has occurred and is more than likely not an issue with Firefox itself.
    ''Let us know if this helped.''

  • This is showing up on videos I try to view. I have latest update. It is a box that displays over video that says, get video URL, get embed code, etc. how do I correct it?

    A Box has just started showing up that has the following.
    get video url
    get video URL at current time
    Get embed code
    report playback issue
    get debug info
    stats for nerds
    about the HTML.5 player
    this is on every video on face book. How to fix?

    I had the same issue.
    I had a youtube downloader app that had a plug-in installed on my Home Safari. I deleted that app. and the plugin. Not sure if that was the culprit, but I figured I'd try.Thought maybe some bug crossed over when syncing the two safaris.
    Anyway, I ended up unlinking my Mobile Safari to my Home Safari (iPad; iCloud/Safari/OFF)
    A prompt will come up asking what you want to do with previously synced data: Delete from My iPad (don't worry, you'll get it back)
    Your bookmarks should disappear.
    Reset HOME Safari : Safari/Reset Safari (everything checkmarked)
    Turn ON the Mobile Safari again (if you want to relink to the Home version) or keep off (and rebuild it from scratch on iPad alone)
    Personally, I turned it on, got my bookmarks back then turned it off and pressed Keep on my iPad.
    Now the two aren't linked and I have the bulk of my bookmarks back.
    There might be variations of this solution so play around with the process and be sure to refresh your Mobile Safari browser on a video clip to see if it takes.

  • How can get the embed code (or URL) of my flash player ?

    I want to implement a functionality such as in youtube to let
    users to get the embed code of the player (or URL of the page).
    How can I do this ?
    thanks

    sorry for the double post, my browser gave me error

  • Put a youtube viewer embed code into an email

    I want to put a youtube video in an email. Not a link to a video but a viewer embeded in the email like on your FB wall

    Well, go to Youtube. Pick up the embed code they offer. Go to Thunderbird, create an html-formatted message. Go to '''Insert|HTML''', paste your embed code in to the box offered.
    It may or may not work; it depends a lot on whether your recipient's mail client supports this. Thunderbird itself will not run scripts, so I wouldn't expect anyone viewing your message using Thunderbird to see the viewer.
    Are you sure you want to do this? I could find it dreadfully embarrassing at work If I opened an email and it instantly started playing a video.

  • Looking for a Programmer to Create A YouTube "Embed" Plug In

    Hello everyone,
    I am Looking for a Programmer to Create An Acrobat Pro "Embed" Plug In based on the free YouTube API.
    The purpose of this is to be able to easily embed YouTube Video's within Acrobat documents so that It can stream the content into the PDF file.
    Many have suggested to download the content and embed it, but doing so will violate the user agreement with YouTube plus it would increase the size of the PDF file consideribly.
    If there are any Programmers out there that would be interested in taking this project on please let me know. I believe there is a real need for this tool which people would really like to have.
    The programming goals for the project would be as follows:
    1. Take the Free YouTube API and create a plug in for Acrobat that would allow you to easily embed content into any PDF.
    2. The "Embed Plug-In" Would essentially allow you to just copy and past the embed codes from YouTube, Hulu, or any other web source that provides an "Embed Code" so that the content can easily be placed within the PDF.  This embeded content could be videos, audio, playlist systems, ads, etc.. "anything with embed codes."
    3. You would be able to select an area of the PDF for the placement, paste the code and then be able to resize the content window. i.e. for YouTube Files.
    The Market for this is as follows:
    - Web Based Magazines, or Flash Magazines that were created with Indesign, Acrobat then Flash. They can easily then create interactive content, with ads and multimedia. Anyone cab be interactive publisher then, no need for Flash Programming Skills.
    - Educational Institutions that want to create lesson materials with Web Content.
    - Business's that wish to share media elements from the web within PDF presentations.
    If you need examples of how this might be used please contact me to discuss it further.
    Thanks for your assistance.
    Regards,
    Robert
    Robert Stewart
    creativemind
    New York

    Since I only found the plug in yesterday I've only played with it a little bit.
    First thoughts:
    It works.  It's easy to set up.  I followed the instructions and I had a link working to our promotional video on youtube in only a couple of minutes.
    Things I found:
    I am using layers extensively in my pdf and wanted the plug in window to show up on only one layer.  However as I mentioned before it doesn't do that so my workaround was to change the settings in the video to play in a floating window.  However the plugin window is still visible if you do this, so my workaround was to reduce it to essentially a dot on the page and hide it on something pale grey!  I created a button in InDesign and used that to fire the video.
    Security stuff:
    Obviously the pop up windows are somewhat frustrating but I see no way to get around them without doing what Joel suggested in his other blogs, which given the amount of users receiving my pdf and their varying competence levels with computers is not really an option.  My workaround for that was to include a note explaining what to expect and do when they did show up.
    For the future:
    See if Adobe would make this an option in InDesign and usable within it's layers section.  That would be awesome.  I haven't had a chance to check out the addin Joel mentioned that might help with this in Acrobat.  Have you?
    Thanks for the other tips on embeding html etc - always good to find new ways get around problems.
    Grahame

  • YouTube embed in web content overlay crashes InDesign when previewing

    I created an HTML file with this code:
    <!DOCTYPE html>
    <html>
    <body>
    <iframe width="560" height="315" src="http://www.youtube.com/embed/xxxxxxx" frameborder="0" allowfullscreen></iframe>
    </body>
    </html>
    I then created a box in InDesign and used the Web Content Overlay and selected the HTML file I created.
    When I go to preview my pub on the connected iPad InDesign stops responding during "Checking Folio Contents x of x"
    Is something wrong with my HTML file? Is it even possible to do this?
    For background info: I'm trying to get the same effect of streaming a video from YouTube as I would if I were to directly embed the mp4 into my pub. I don't know if this is even possible or what is the best way to do this.
    Thanks in advance for your help.

    Thanks Bob.
    Okay, so here are the steps I'm taking:
    1. Go to YouTube
    2. Copy embed code
    3. Go to InDesign
    4. Paste embed code
    This creates a web content area with the video embeded. So the user can click play on the video once it loads and can then click full screen on the video controls.
    What I'm trying to do is have a button on my page which links to a full screen view of the YouTube video so when the page loads the video doesn't load but when the user clicks the button it would then load the YouTube video full screen. I'm looking for the same functionality that is possible were I to embed an mp4 straight into my document, hide it, and then create a button that plays the video in full screen mode.
    Is the above possible?
    Thanks.

  • Problem with 'sort and filter' feature of embed codes in Excel Online Web App

    So my question has to do with the Excel Online feature where you can share a spreadsheet and embed it in a website with the option of allowing users to sort and filter the data. (The option is under the "Interaction" heading.)
    One of the options if you look closely is "Let people sort and filter" which is not checked off. In the embed code you can see "AllowInteractivity=False". The problem is that when I check "Let people sort and filter"
    the embed code changes completely - going from:
    <iframe width="700" height="900" frameborder="0" scrolling="no" src="https://onedrive.live.com/embed?cid=dontworryaboutitEDFD383&resid=6BAA9620AEDFD383%21107&authkey=AFj3X8xq2U3IfDE&em=2&wdAllowInteractivity=False&Item='Sheet1'!A1%3AI32"></iframe>
    to:
    <iframe width="700" height="900" frameborder="0" scrolling="no" src="https://onedrive.live.com/embed?cid=dontworryaboutitEDFD383&resid=6BAA9620AEDFD383%21107&authkey=AFj3X8xq2U3IfDE&em=2&Item='Sheet1'!A1%3AI32"></iframe>
    If I manually change 'false' to 'true' that doesn't do the trick so I'm not sure what to try next.
    Any thoughts?

    Hi,
    We support Office for Windows in the current forum, since this question is about Office Online, I suggest you post the question in Office Online forum:
    http://community.office365.com/en-us/f/default.aspx
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • ALV Header getting truncated in excel

    I am using the GRid Layout. but when i am downloading the output in the Excel sheet, the headers are getting truncated.
    I have tried increasing the width in the FIELDCAT and also removing the coulmn-optimze option in the layout also. but still after trying the headers are getitng truncated.
    Any pointers how can i download without the headers getting truncated.
    Thanks

    Refer the code snippet:
    Follow this way:
    CONSTANTS :  c_delim TYPE c VALUE cl_abap_char_utilities=>horizontal_tab.
    data :it_excel_dwnld TYPE STANDARD TABLE OF t_zzidwnld_data     ,
           wa_excel_dwnld TYPE t_zzidwnld_data .                      .
       CONCATENATE   'Physical Inventory Document'
                    'Item '
                    'Material '
                    'Material Description'
                    'Material Group'                
                    'Plant'
                    'Sloc'
                    'Doc Date'
                    'Book Qty'
                    'Counted Qty'
                    'Value of Phy Inv Count'
                    'Standard Price'
                    'Difference Qty'
                    'ABS Qty'                        
                    'BUn'
    INTO wa_excel_dwnld-line
                                   SEPARATED BY c_delim.
      APPEND wa_excel_dwnld TO it_excel_dwnld.
      CLEAR: wa_excel_dwnld.
    LOOP AT it_output INTO wa_output.
    CONCATENATE   wa_output-iblnr
                      wa_output-zeili
                      wa_output-matnr
                      wa_output-maktx
                      wa_output-matkl       
                      wa_output-werks
                      wa_output-lgort
                      wa_output-bldat
                      v_buchm
                      v_menge
                      v_wrtzl
                      v_stprs
                      v_difqy
                      v_absqy              
      INTO wa_excel_dwnld-line
                           SEPARATED BY c_delim.
        APPEND wa_excel_dwnld TO it_excel_dwnld.
      ENDLOOP.
    CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = l_flname
          filetype                = 'ASC'
          write_field_separator   = '#'
        TABLES
          data_tab                = it_excel_dwnld

  • Report output getting truncated in email attachment

    Hello Gurus,
    My requirement is to send a report output as an email attachment.
    I have done the coding for this but have a small problem. In the attachment the report is getting truncated after certain length.
    Can you advise wats the problem ?
    Regards,
    Suhas

    Hello Guys,
    I too was contemplating on those lines. But actually i was calculating the File Size incorrectly.
    Changed the code & now it working !!!!!!!
    BR,
    Suhas

  • Can anyone help with YouTube embed and scrolling problem?

    Hi,
    Whilst working on a mobile version of a site, I've noticed that if you're scrolling through on a device and the area with the YouTube embed is near the top of the screen, it'll suddenly scroll all the way back up to the top of the site. This only seems to happen with the YouTube embed, the rest of the site seems to work fine.
    Anyone else had similar issues?
    The site is www.cowandbell.com/phone
    I'm using an iPhone5 running iOS7 and it's happening in Chrome and Safari.

    Sorry if it sounded like I was telling you to "go away." Far from it: I was trying to point you to the place where you might get an answer most expeditiously. I'm trying to save you time vs. simply having your question sit around unanswered.
    For example, if other Parallels users have had the same problem, the Parallels folks would be the most likely know. I would not assume that"Parallels' answer will inevitably be, "We don't support third-party software."without first asking them.
    You'd be surprised to know how many times folks post questions here about third-party applications and the questions go unanswered, while the answer is actually waiting to be found at the Web site of the third-party app's developer.
    You might also try the HP Web site since it may be a general problem with that set of drivers under Windows.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

Maybe you are looking for

  • Select all check box at some time

    Hi all, I have a search display .jsp page, which have some checked box, allow the users to check the box and download data from database, righr now the use need to checked the checked the box one by one, bu tthey want to add other button, which allow

  • How do i shrink a doc to 4MB

    I've created a doc. on pages and wanted to share on Facebook but it was too large so i shrunk it down using "advanced-> reduce file size" and it shrunk down 12 KB  but can shrink it no more... Any suggestions are greatly appreciated Thank you!

  • Why is this forum going sooo Slow!??...

    ... must be because all the schools are closed, no more "Homework"!

  • Time utility shell dimension across multiple date dimensions

    Hello, I have built a time utility shell dimension based on a solution from Tomislav Piasevoli (book: MDX with SSAS 2012 cookbook) however I have modified it slightly In his example he uses two hierarchies from the same dimension. However I have modi

  • Type clipping path of a vector pattern

    Trying to mask type with a vector pattern (place a vector pattern in a type clipping path), but nothing seems to be working. Never had issue before. Tried path in front, pattern in front, converting type path to compound path, converting vector to co