If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / ez-page stripping/changing html code

ez-page stripping/changing html code

Started by keneso on 14 Oct 2012, 3:02 PM · Views: 1,565

Results 1 to 7 of 7
14 Oct 2012, 3:02 PM
#1
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Post #1 by keneso

Hi.

I am not usre if it's a bug, apologies in case it's not.

I tried adding youtube code to embed 2 videos (used html code in editor), saved the page, checked it, and videos were there.
I then tried adding a third video on the same page, and when refreshed to see them only one video would display.
I went back to ez-page editor, and noticed code had changed for the two missing videos like this (in this example I am replicating same video)

From this

<iframe width="560" height="315" src="http://www.youtube.com/embed/GLRGXvqkpzc" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="http://www.youtube.com/embed/GLRGXvqkpzc" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="http://www.youtube.com/embed/GLRGXvqkpzc" frameborder="0" allowfullscreen></iframe>

to this

<iframe width="560" height="315" src="http://www.youtube.com/embed/GLRGXvqkpzc" frameborder="0" allowfullscreen></iframe>
<iframe width=&quote;560&quote; height=&quote;315&quote; src=&quote;http://www.youtube.com/embed/GLRGXvqkpzc&quote; frameborder=&quote;0&quote; allowfullscreen />
<iframe width=&quote;560&quote; height=&quote;315&quote; src=&quote;http://www.youtube.com/embed/GLRGXvqkpzc&quote; frameborder=&quote;0&quote; allowfullscreen />

I reverted the changes, saved, refreshed the page, and all three videos are there.

Thank you

14 Oct 2012, 4:06 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #2 by stevesh

I can't duplicate that on a test site, so I doubt it's a bug. Are you just copying the embed HTML from YouTube and pasting into the EZ page ?

14 Oct 2012, 4:23 PM
#3
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Post #3 by keneso

Yes, and that's the first code I posted.
Like said I have doubts it's a bug too, and honestly it's not really "bugging" me, ain't doing hundreds of them anyway.
I posted just in case.

17 Oct 2012, 4:25 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,915
Plugin Contributions:
24

Post #4 by dbltoe

I've found that embedded code is often converted by the default and downloadable editors. I use a program that is not free, but you can download the file, edit it in notepad and FTP it back to your site. That would eliminate any conversion the installed editor would impose.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

17 Oct 2012, 4:44 AM
#5
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Post #5 by gilby

dbltoe:

I've found that embedded code is often converted by the default and downloadable editors. I use a program that is not free, but you can download the file, edit it in notepad and FTP it back to your site. That would eliminate any conversion the installed editor would impose.For physical files yes, but the OP is editing EZ pages which are stored in the database.

13 Dec 2012, 10:54 AM
#7
rustwood avatar

rustwood

New Zenner

Join Date:
Jul 2005
Posts:
25
Plugin Contributions:
0

Post #7 by rustwood

I too have had problems of this nature. I find that if I use the new iframe code to embed a youtube video, all text after the video disappears and lots of additional code appears (eg ;</div><div> )

I seem to be able to overcome this by adding </iframe> immediately after the youtube code. Sometimes it works, sometimes not - the wysiwyg editor is a bit moody on this point.

Tony