Author |
Message |
- Joined: 01 Feb 2004
- Posts: 1464
- Location: Sunny ol Tamworth, New England NSW AU
|
[Forums] <embed> problems
Posted: Tue Mar 11, 2008 3:18 pm
|
Maxim wrote By which, Jacko means this one:
Which was actually used in both 2006 and 2007. It says "2nd" at the end but this year is the fourth competition.
Your embed doesnt work... but yes if you use your embedding imaginations thats what Maxim means.
|
|
|
- Site Admin
- Joined: 19 Oct 1999
- Posts: 14763
- Location: London
|
Posted: Tue Mar 11, 2008 4:32 pm
|
Works for me in Firefox and IE.
|
|
|
- Joined: 12 Apr 2005
- Posts: 391
- Location: London, United Kingdom
|
Posted: Tue Mar 11, 2008 5:12 pm
|
Maxim wrote Works for me in Firefox and IE. It shouldn't (as the <embed> uses < instead of < in its tag), but for some reason it does in Firefox 2 here (IE7 and Opera do what you expect, viz, nothing) unless there's some JavaScript trickery at work?
|
|
|
- Site Admin
- Joined: 19 Oct 1999
- Posts: 14763
- Location: London
|
Posted: Tue Mar 11, 2008 6:22 pm
|
benryves wrote Maxim wrote Works for me in Firefox and IE. It shouldn't (as the
Every browser I have - IE6, Firefox 2, Firefox 3, Opera - shows it.
|
|
|
- Site Admin
- Joined: 08 Jul 2001
- Posts: 8674
- Location: Paris, France
|
Posted: Tue Mar 11, 2008 6:29 pm
|
My Firefox 2 still doesn't show those embed contents in page view, only the raw HTML. It however shows the content in the "topic review" frame.
|
|
|
- Joined: 16 May 2002
- Posts: 1356
- Location: italy
|
Posted: Tue Mar 11, 2008 7:20 pm
|
Bock wrote My Firefox 2 still doesn't show those embed contents in page view, only the raw HTML. It however shows the content in the "topic review" frame. Same here, except you have to replace "Firefox 2" with "Firefox 1.0.7".
|
|
|
- Site Admin
- Joined: 19 Oct 1999
- Posts: 14763
- Location: London
|
Posted: Tue Mar 11, 2008 7:27 pm
|
Grr. If I could reproduce it I could at least try to fix it...
|
|
|
- Joined: 27 Apr 2005
- Posts: 420
- Location: Australia
|
Posted: Wed Mar 12, 2008 6:41 am
|
Same as Bock here, at home using Firefox. At work in IE7 it worked.
|
|
|
- Joined: 25 Jul 2007
- Posts: 735
- Location: Melbourne, Australia
|
Posted: Wed Mar 12, 2008 8:43 am
|
Working for me in IE7, Firefox 2.0.0.12, Opera 9.24
The object tag is also properly formed (as in < not < ), I tested the request manually via telnet and got the correct code.
Unrelated but I did notice odd structure in the page HTML, all tags were enclosed (as required by XHTML standard) but the doctype is HTML 4.01 Transitional where this is not a requirement, though perfectly valid.
|
|
|
- Joined: 01 Feb 2004
- Posts: 1464
- Location: Sunny ol Tamworth, New England NSW AU
|
Posted: Wed Mar 12, 2008 8:49 am
|
Bock wrote My Firefox 2 still doesn't show those embed contents in page view, only the raw HTML. It however shows the content in the "topic review" frame.
Yep I have the same problem here in Firefox 2.0.0.12 but in Internet Sex-plorer 7.0.5730.11 it works fine ;)
So whats causing this stupid problem, Firefox hates flash I think.
|
|
|
- Site Admin
- Joined: 19 Oct 1999
- Posts: 14763
- Location: London
|
Posted: Wed Mar 12, 2008 8:54 am
|
Part of the problem is that embedding Flash is a dark art, you have to do some gubbins with <object> and <embed> enclosures with redundant information to cover all bases. Being lazy, I only allowed <embed> and it worked so I left it at that.
The forums do serve HTML 4-nasty, not XHTML. There's only a certain amount I can do about that, enough of the content is generated deep in phpBB that fixing up the templates doesn't get all the way to proper XHTML.
|
|
|
- Joined: 25 Jul 2007
- Posts: 735
- Location: Melbourne, Australia
|
Posted: Wed Mar 12, 2008 12:58 pm
|
Maxim wrote The forums do serve HTML 4-nasty, not XHTML. There's only a certain amount I can do about that, enough of the content is generated deep in phpBB that fixing up the templates doesn't get all the way to proper XHTML.
Only too aware of that, I made a perfectly clean XHTML template for phpBB once only to have it broken in several places by hardcoded lines of HTML.
I got tired of waiting for Olympus and eventually converted to vBulletin :)
It doesn't really matter though, 4.01 Transitional is here to stay for a while longer yet, I was just commenting on the quirky mix of standards on page.
|
|
|
- Joined: 17 Dec 2005
- Posts: 537
- Location: England
|
Posted: Mon Mar 17, 2008 9:19 pm
|
That is excellent!! I have never seen it befor, good work :)
|
|
|
- Joined: 01 Feb 2004
- Posts: 1464
- Location: Sunny ol Tamworth, New England NSW AU
|
Posted: Mon Mar 17, 2008 9:46 pm
|
I found another problem,
I was browsing the forum as a guest, the animation worked fine, but then after I logged in the embed didnt work.... This is a weird problem :P
|
|
|
- Joined: 12 Apr 2005
- Posts: 391
- Location: London, United Kingdom
|
Posted: Mon Mar 17, 2008 10:10 pm
|
phpBB has various settings for who can use HTML in posts. When I view-source on Maxim's posts I just get a collection of </> elements (instead of </>), so I suspect phpBB is probably doing something to escape the HTML when it shouldn't depending on whether you're logged in or not (after checking which permissions you have).
|
|
|
- Site Admin
- Joined: 19 Oct 1999
- Posts: 14763
- Location: London
|
Posted: Tue Mar 18, 2008 9:19 am
|
Interesting. There are two settings:
- always allow BBCode
- always allow HTML
which seem to refer to the default settings for the checkboxes on the posting page. If you say No to the first, that's all it does. If you say No to the second, it also escapes any HTML in other people's posts.
It looks like we also half-removed the UI to edit the HTML option - it's there in the admin and signup pages but not the profile editing page.
As a lazy fix I've turned it on for everyone, even if they didn't want it. You should still be able to disable HTML when posting if you want to post <html><looking><tags>.
|
|
|
- Joined: 12 Apr 2005
- Posts: 391
- Location: London, United Kingdom
|
Posted: Tue Mar 18, 2008 3:35 pm
|
I can now see the animation over here, thanks!
Final quirk; it's being displayed as a windowed control, which means that it floats above the page (and in front of any HTML elements that should conceal it). You can fix this by adding wmode="transparent" as an attribute to the embed element.
Edit: Though on further inspection it seems that only Opera (out of IE/Firefox/Safari) defaults to treating it as a windowed control, all the others seem to default to windowless. Hooray for web development!
|
|
|
- Joined: 17 Dec 2005
- Posts: 537
- Location: England
|
Posted: Thu Mar 20, 2008 3:35 pm
|
Maxim i'm not sure what you have done but I cannot see a single image on the forum or site..
No little eggs or reply button or anything :(
I had to press the reply button from memory of its location!
I use Mozilla (firefox) by the way.
|
|
|
- Site Admin
- Joined: 08 Jul 2001
- Posts: 8674
- Location: Paris, France
|
Posted: Thu Mar 20, 2008 4:06 pm
|
James: I think it was either a temporary server problem, either a problem on your end, with say, Mozilla being configured in text only mode or Firewall configuration blocking contents. Does it still happens?
|
|
|
- Joined: 17 Dec 2005
- Posts: 537
- Location: England
|
Posted: Thu Mar 20, 2008 6:37 pm
|
Bock wrote James: I think it was either a temporary server problem, either a problem on your end, with say, Mozilla being configured in text only mode or Firewall configuration blocking contents. Does it still happens?
Sorry, my bad, somhow my browser decided it would set itself to block images from this site :/ weird, I swear i didnt select that option. Just a coincidence that maxim had amended some profile settings recently :)
|
|
|
- Joined: 12 Jul 1999
- Posts: 891
|
Posted: Sat Mar 22, 2008 9:43 am
|
now here's an interesting thing - Firefox 3b1/2/3 didn't like the embedding (for me), but beta 4 does...
|
|
|