Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - [Forums] <embed> problems

Reply to topic
Author Message
  • Joined: 01 Feb 2004
  • Posts: 1464
  • Location: Sunny ol Tamworth, New England NSW AU
Reply with quote
[Forums] <embed> problems
Post 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.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14745
  • Location: London
Reply with quote
Post Posted: Tue Mar 11, 2008 4:32 pm
Works for me in Firefox and IE.
  View user's profile Send private message Visit poster's website
  • Joined: 12 Apr 2005
  • Posts: 391
  • Location: London, United Kingdom
Reply with quote
Post Posted: Tue Mar 11, 2008 5:12 pm
Maxim wrote
Works for me in Firefox and IE.
It shouldn't (as the <embed> uses &lt; 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?
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14745
  • Location: London
Reply with quote
Post Posted: Tue Mar 11, 2008 6:22 pm
benryves wrote
Maxim wrote
Works for me in Firefox and IE.
It shouldn't (as the uses &lt; 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?

Every browser I have - IE6, Firefox 2, Firefox 3, Opera - shows it.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8652
  • Location: Paris, France
Reply with quote
Post 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.
  View user's profile Send private message Visit poster's website
  • Joined: 16 May 2002
  • Posts: 1356
  • Location: italy
Reply with quote
Post 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".
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14745
  • Location: London
Reply with quote
Post Posted: Tue Mar 11, 2008 7:27 pm
Grr. If I could reproduce it I could at least try to fix it...
  View user's profile Send private message Visit poster's website
  • Joined: 27 Apr 2005
  • Posts: 420
  • Location: Australia
Reply with quote
Post Posted: Wed Mar 12, 2008 6:41 am
Same as Bock here, at home using Firefox. At work in IE7 it worked.
  View user's profile Send private message
  • Joined: 25 Jul 2007
  • Posts: 731
  • Location: Melbourne, Australia
Reply with quote
Post 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 &lt; ), 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.
  View user's profile Send private message
  • Joined: 01 Feb 2004
  • Posts: 1464
  • Location: Sunny ol Tamworth, New England NSW AU
Reply with quote
Post 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.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14745
  • Location: London
Reply with quote
Post 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.
  View user's profile Send private message Visit poster's website
  • Joined: 25 Jul 2007
  • Posts: 731
  • Location: Melbourne, Australia
Reply with quote
Post 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.
  View user's profile Send private message
  • Joined: 17 Dec 2005
  • Posts: 537
  • Location: England
Reply with quote
Post Posted: Mon Mar 17, 2008 9:19 pm
That is excellent!! I have never seen it befor, good work :)
  View user's profile Send private message Visit poster's website
  • Joined: 01 Feb 2004
  • Posts: 1464
  • Location: Sunny ol Tamworth, New England NSW AU
Reply with quote
Post 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
  View user's profile Send private message Visit poster's website
  • Joined: 12 Apr 2005
  • Posts: 391
  • Location: London, United Kingdom
Reply with quote
Post 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 &lt;/&gt; 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).
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14745
  • Location: London
Reply with quote
Post 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>.
  View user's profile Send private message Visit poster's website
  • Joined: 12 Apr 2005
  • Posts: 391
  • Location: London, United Kingdom
Reply with quote
Post 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!
WindowedControl.png (6.24 KB)
WindowedControl.png

  View user's profile Send private message Visit poster's website
  • Joined: 17 Dec 2005
  • Posts: 537
  • Location: England
Reply with quote
Post 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.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8652
  • Location: Paris, France
Reply with quote
Post 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?
  View user's profile Send private message Visit poster's website
  • Joined: 17 Dec 2005
  • Posts: 537
  • Location: England
Reply with quote
Post 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 :)
  View user's profile Send private message Visit poster's website
  • Joined: 12 Jul 1999
  • Posts: 891
Reply with quote
Post 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...
  View user's profile Send private message
Reply to topic



Back to the top of this page

Back to SMS Power!