• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

& Getting Changed to &

Participant ,
Aug 12, 2012 Aug 12, 2012

Copy link to clipboard

Copied

Hi all,

My client needs to paste embed code from Vimeo into a Web app field. The problem I'm running into is that the & bits of code are being changed to regular & symbols - which breaks the link. I can't figure out anyway around this off the top of my head. Thoughts?

TOPICS
Web apps

Views

1.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Aug 13, 2012 Aug 13, 2012

Use more modern plugins such as prettyPhoto and all you ever have to provide it the URL and will work for youtube and vimeo as well as images, flash and more. Custom field - URL - Sorted

Votes

Translate

Translate
Participant ,
Aug 12, 2012 Aug 12, 2012

Copy link to clipboard

Copied

The best way we found is to generate embed links using jQuery directly from a Vimeo URL.

So the client pastes the Vimeo URL (Rather than the embed) then the jQuery creates a clean embed code.

You can then setup your markup so the video displays how you like and it's really easy for the client.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 12, 2012 Aug 12, 2012

Copy link to clipboard

Copied

The problem is the web app needs to be able to accept either YouTube or Vimeo embed codes. On top of that, I'm running the result in Shadowbox.  Not sure my Javascript comprehension is high enough to write what you described.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 13, 2012 Aug 13, 2012

Copy link to clipboard

Copied

You can set the jQuery to handle Youtube and Vimeo separately. Alternatively if you use prettphoto (instead of Shadowbox) it automatically embeds youtube and vimeo straight from the URL. Might be an easier route if it's going to pop-up anyway.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 13, 2012 Aug 13, 2012

Copy link to clipboard

Copied

Use more modern plugins such as prettyPhoto and all you ever have to provide it the URL and will work for youtube and vimeo as well as images, flash and more. Custom field - URL - Sorted

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 13, 2012 Aug 13, 2012

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 13, 2012 Aug 13, 2012

Copy link to clipboard

Copied

LATEST

Ah, good to know! Thanks to you both.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines