Forums

technical support and discussions

Software for sites and blogs


FrontPage conflict with player? (11 posts)

crg223
Member

I know this is a real long shot, but maybe someone has come across this.

When I paste the code for the player generated by the Video to Flash Converter into the code part of my FrontPage web page, it seems to have introduced some bizarre command that is driving FrontPage crazy. Specifically, after the height="250"> and before the <noscript> of every such set of code for all the videos I have on that page, FrontPage inserts blank lines. And pretty much anything you do--changing back and forth between "design" and "code," hitting "Save," typing a single character, etc.--tells it to increase those blank lines exponentially. At last count the code section of the page (which should have a few hundred lines at most) has 9,851,578 lines, obviously well over 99% of them blank.

I've been wrestling with this for hours. After extensive Googling, the one thing I found that was at all like what I'm experiencing was this: http://www.frontpagewebmaster.com/m-381906/printable.htm Evidently that's some other program inserting a Flash file onto his webpage, but the interesting thing is the FrontPage problem seems to occur in the exact same spot--immediately after the part of the code providing the dimensions of the player.

I don't know what I can do but delete the whole thing and start from scratch. Not only will that be very time-consuming, but how do I know inserting the code for the player won't have this same result in the new page?


crg223
Member

Amazing.

I removed all the videos from the page (which reduced the lines of code from almost 10 million to about a thousand) and then started over pasting the code from the Video to Flash Converter one by one. After the third one, I scrolled back up to look at the first one, and already there are a dozen or so blank lines in that exact same spot as before--right after the player dimensions.

It appears FrontPage simply will not accept my pasting this code.


DVDVideoSoft
Key Master

Some html editing software (Front Page, for example) may change the pasted code according their standards; sometimes it just can't recognize the pasted code correctly or sometning else.
I advice you to use Notepad (Start->All Programs->Accessories->Notepad) to correct and save the code.


crg223
Member

Interestingly, that's exactly what I tried the last time. I pasted the code into Notepad, and then copied that and pasted it into FrontPage. But as I noted, the blank lines started multiplying again.

I might be onto something now though. I've continued replacing the code, but now I'm retyping a few characters right around the "trouble spot" on some of them, so I can compare. So I'm backspacing over 0"> <n and then retyping that exact same thing.

Checking back through it, every instance I didn't erase and retype like that is generating the blank lines like mad again, whereas every instance I did do that seems to be holding steady and not generating blank lines. So that's promising. Maybe if I just retype that part of the code every time I paste another video, I can get around whatever is happening. We'll see.


crg223
Member

Well actually what it's doing is generating blank spaces instead. The ones I didn't retype now have dozens of blank lines in that spot; the others have dozens of blank spaces. I guess that's an improvement, but what a mess.


crg223
Member

It's definitely some kind of "doubling" command. The ones I pasted most recently have an extra two or four spaces (or lines); the ones I pasted earlier have 16, 32, or 64. That's how it gets into the millions so quickly.

I'm giving up for now and will consider revisiting it later. Or just scrapping it and trying some other method of putting video on my website.


crg223
Member

In case anyone comes across this thread later because they've encountered a similar problem with FrontPage, I'll give an update.

The code that is generated by the converter has two spaces between height="250"> and <noscript> . I went back through all the code I had pasted in FrontPage for my videos and deleted those two spaces, leaving that part as height="250"><noscript> . I'm generally very reluctant to change anything in code since I don't know what I'm doing, but that change (keeping my fingers crossed) seems to have done the trick. So far there has been no repeat of the phenomenon where FrontPage multiplies blank spaces and lines out of control.

Which at a certain level makes sense. It appears the mystery command it thought it was receiving was something like "Duplicate anything between the > and the < in that section of the code and add it there." Now that there's nothing there, even if it thinks it's supposed to double it at every opportunity, that has no effect. It can double zero to its heart's content for all I care and it'll still be zero.

I don't know that this permanently solves it, but like I say it's working for now. Eliminating those spaces in the code seems to have no effect on the content of the page. The videos play like they're supposed to and everything.


DVDVideoSoft
Key Master

oh...at last! From time to time Front Page behaves in a strange way. If you have further problems using this html editor, I can advice you another one: Notepad++, it's free.


linda thomas
Member
Trouble is Craig that WYSIWYG editors don't render code correctly.  I realise that most people need to use them as they don't know how to code.  But it is very easy to learn.  For example I taught myself html and css years ago and it only took me a few weeks,  and five or six years ago taught myself php and mysql in less than four months.   I would suggest honestly buying a few books and teaching yourself.  That way your pages will render correctly and adhere to the standards better.  Most of the time that web pages send browsers into quirks mode is because the code had been rendered really badly by WYSIWYG (what you see is what you get) editors.

John
guest
Hi,
How can I post two video clips on the same page with two different start_frame.jpg files?
Thanks.

John

DVDVideoSoft
Key Master
John, do you want to get 2 separate players with 2 clips on one page or just one player with a list of 2 clips?

Pita
guest
Moin moin

RSS feed for this topic


Reply


Allowed markup: a blockquote code em strong ul ol li.
You can also put code in between backtick ( ` ) characters.

Contact us:
technical support: support@dvdvideosoft.com
advertising: adv@dvdvideosoft.com